You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/03/09 02:34:07 UTC

DO NOT REPLY [Bug 6961] - XSLTC: Using Xerces2.x generates invalid XML.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6961>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6961

XSLTC: Using Xerces2.x generates invalid XML.





------- Additional Comments From derek.sayeau@cognos.com  2002-03-09 01:34 -------
This problem also occurs with Xerces1.4.4, but not 1.4.3.  This is due to the 
fact that in Xerces1.4.4 and above namespace-prefix handling is set to true by 
default, which XSLTC can't handle.

The fix is to either support namespace-prefix's in the sax event handlers, or 
to tell Xerces to turn it off by specifying the below in the XSLTC code:

            THE_PARSER.setFeature( "http://xml.org/sax/features/namespace-
prefixes", false );