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=21039>. 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=21039 SAX Events for Namespaces are incorrect Summary: SAX Events for Namespaces are incorrect Product: XalanJ2 Version: CurrentCVS Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: org.apache.xalan.transformer AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If you add an element in a stylesheet that has a namespace, like: <xsl:template match="/" > <document> <namespacetest xmlns="http://anamespace/test/1.0"/> </document> </xsl:template> no endPrefixMapping is sent, only the startPrefixMapping. This also happens if you use a prefix for the namespace, like xmlns:test. Attached is a simple test class, an xml document and a stylesheet that reproduce this problem.
