xsl-list
[Top] [All Lists]

RE: XSLT, XHTML, and default attribute values [somewhat OT]

2004-09-14 05:44:02

"Andrew" == Andrew Welch <ajwelch(_at_)piper-group(_dot_)com> writes:


    Andrew> I'm not sure it is true.  If a DTD is specified in the xml
    Andrew> the parser *must* attempt to read it to ensure any
    Andrew> defaulted values are present in the XML, regardless of
    Andrew> configuration.

Not so. From the XML standard:

"Non-validating processors are REQUIRED to check only the 
document entity, including the entire internal DTD subset, 
for well-formedness." 

Sure, but the processor must still fetch the defaulted values whether it
validates the content or not, otherwise it is potentially leaving out
data.  

cheers
andrew