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

Subject: RE: [xsl] XSLT, XHTML, and default attribute values [somewhat OT]
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Tue, 14 Sep 2004 13:44:02 +0100
> >>>>> "Andrew" == Andrew Welch <ajwelch@xxxxxxxxxxxxxxx> 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

Current Thread