>Will you please tell me how to set the SAX
>parser to present the NS decls as attributes?

Enabling the Sax feature http://xml.org/features/namespace-prefixes should
do it, in conjunction with http://xml.org/sax/features/namespaces.
namexpace-prefixes apparently defaults to False, which surprises me; I
could swear it defaulted to True in the past.

(For more info, see http://xml.apache.org/xerces-j/features.html and
http://www.saxproject.org/apidoc/org/xml/sax/package-summary.html#package_description)


Xalan runs into this issue periodically; see Bugzilla 1831 and 3327, for
example. If you can't control how your SAX source has been configured, you
may need to introduce a SAX filter which re-introduces the missing
declaration attributes.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to