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...
|