|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Come On, DTD, Come On! Thoughts on DSDL Part 9
Marcus Carr scripsit: > I'm inclined to agree with Paul, but I'm not really sure whether there's a > sensible role for an extended DTD syntax. While I like the suggestions that John > Cowan has put forth, I wonder if we might end up with something almost exactly > like RELAX NG but without XML syntax. If that were the case, I don't really see > much benefit. *heh heh heh heh* > Even as a long-time campaigner for the preservation of DTDs, I'm pretty much > willing to trade them for the simplicity and elegance of RELAX NG. This would be > especially true if we got to a point where we had datatypes and namespaces in > DTDs, and then decided that we had to figure out how to integrate Schematron > rules... No problem, we embed them in PIs. :-)( > Could someone spell out the role that they see extended DTDs playing? (Ken?) I'm > not saying that there isn't one, just that it doesn't jump up and bite me. They will appeal to people who want to stick with DTDs but need access to a modern facility or two. I suspect that nobody, or almost nobody, will write validation DTDs that use all the new features: such people are indeed more likely to switch to RELAX NG. For that matter, dtdinst (a tool that maps DTDs into either an ad hoc XML syntax or RELAX NG) is so structure-preserving that it becomes feasible to treat DTD syntax as a 3rd syntax for RNG (beside the XML and the compact syntaxes) and simply use RNG tools to do external validation. The purpose of standardizing things is to provide a way for people to do what they want more readily, not to constrain them to do what they don't want (the lesson of the XML Schema resistance). -- John Cowan <jcowan@r...> http://www.reutershealth.com I amar prestar aen, han mathon ne nen, http://www.ccil.org/~cowan han mathon ne chae, a han noston ne 'wilith. --Galadriel, _LOTR:FOTR_
|
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
|
|||||||||

Cart








