[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: X-Schema
David Hunter wrote: > I'm just > wondering if we wouldn't be better off adding the extra functionality to > DTDs, instead of creating a new language. Are there technical reasons why > we can't? (Does it have something to do with SGML compatibility? If so I'd > be willing to shut up right now. :-) There are certainly no technical barriers to enhancing DTDs. As you point out, though, SGML compatibility is a barrier. Mostly it's always struck me as a matter of practicality: there are very few DTD writers and readers compared to the number of document writers and readers. Hence, the market is most likely to lean towards documents, not DTDs. If we redefine/extend DTDs as documents (i.e. schemas), we get to use all the document technology and tools for free. If we work solely on DTDs, we have to reinvent everything ourselves: SAX for DTDs, DOM for DTDs, XSLT for DTDs, editors for DTDs, etc. As to DTDs becoming obsolete, I view this as very unlikely to occur any time soon. More likely are two things: 1) Parsers that can translate between DTDs and schemas on the fly so that it becomes unimportant whether a document has one or the other, and 2) Separate modules that can validate documents against a schema for use in environments where the parser either can't validate or can't validate against a DTD. -- Ron Bourret xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|