XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 How Do I Hate Thee?
Subject: Defaulted Values
Date: 2004-11-09 06:02:27
From: AndrewWelch


I dislike DTDs and I hate the idea of defaulted values...


One of XML's strengths is that it is human readable and only requires a simple text editor to modify it. Yet with defaulted values you need to parse the source XML against the DTD to see the real picture. It's a mix of content and validation just doesn't sit right when content should be seperate from everything else. It also means that to process the XML you must also validate it every time - even though you may have already validated it yesterday, last week, last year.


Namespaces seem quite practical in comparison...


Previous Message Previous Message   Next Message Next Message

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938