|
Re: XSLT, XHTML, and default attribute values [somewhat OT]
2004-09-14 12:31:58
"Joseph" == Joseph Dane <jdane(_at_)hawaii(_dot_)edu> writes:
Joseph> I happened to be using SAX, so I had already turned off
Joseph> validation using the standard SAX feature for this. with
Joseph> validation disabled, the DTD *was* still read, and default
Joseph> attribute values applied to the model. So you're correct
Joseph> there.
he's not.
Joseph> but there may be additional parser-dependent switches that
Joseph> further restrict the behavior of the parser. at least, I
Joseph> think there can. the documentation for Xerces says that
Joseph> the feature:
Which Xerces? Xerces-C++ has such a feature:
http://xml.apache.org/xerces-c/program-sax.html#SAXFeatures
--
Colin Paul Adams
Preston Lancashire
|
|