Re: Parser compliance
David Megginson wrote: > The DTD has two small but important roles in system implementation: as > a partial set of structural validation rules and as a partial schema > for guided authoring (it's nearly always supplemented in both cases). Agreed. > Unfortunately, SGML consultancies who knew mainly just DTDS and FOSIs > were substituting DTD design for data analysis, domain modelling, > system design, user interface design, and lots of other things for > which DTDs are woefully inadequate. Also agreed. However very few SGML people would have used a DTD in domain modelling, system design or user interface design, so inadequacies in those areas equal SGML's inability to deliver milk to your doorstep. :-) I don't deny for a second that the ability to base systems on XML without DTDs is an extremely good thing - it will almost surely make XML the defining force in computing. The fact remains though that for documents that were created against a DTD, it is incorrect to declare that it is a myth that validation can tell you what's wrong with your XML. Depending on the structure (tiny, all empty elements) and the data (must be tokens from attribute lists), validation may be a perfectly adequate method of uncovering problems. The further you move from this model, the more you need to supplement the information availabe from the DTD, as you pointed out above. > DTDs should have been just part of the solution, not *the* solution. I still don't see what the other part should have been. It still sounds as though there was some sort of willful conspiracy or ignorance, but it appears to be based on the fact that we can do so much more now, so we should have known better then. > In any case, my message was an explanation of why DTDs have been so > heavily hyped, not an attack on the idea of DTDs themselves. DTDs > were the great Golden Hammer of the SGML consulting world. Yes, when nails were the only thing that held houses together. -- Regards, Marcus Carr email: mrc@a... ___________________________________________________________________ Allette Systems (Australia) www: http://www.allette.com.au ___________________________________________________________________ "Everything should be made as simple as possible, but not simpler." - Einstein 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 unsubscribe, mailto:majordomo@i... the following message; unsubscribe 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