
On Fri, Apr 08, 2005 at 12:33:52AM -0700, Jon A. Cruz wrote:
Bryce Harrington wrote:
IMHO, XSchemas aren't really that much better or easier than DTD's, but they're implemented as XML documents, so at least you're using a consistent syntax.
Well...
schemas are a lot nicer than DTDs, since there's a lot they can do that DTDs can't. One of them is mix stuff in the manner that SVG can be intermixed with XHTML or XForms or more.
I guess, but that's not really been a needed capability in any of the XML designs I've been involved with.
And a Schema aware editor can do some nice things.
Eh.
Anyway, XSchema is the way to go, just take the hype with a grain of salt.
In particular, a thing to beware of is that once folks learn XSchema they of course want to play with all it's features. ;-) However (IMHO), the most useful XML's keep things simple and consistent. Don't put too much smarts into the schema definition, else it could get confusing for future maintainers.
Bryce