[ http://issues.apache.org/jira/browse/XALANJ-2111?page=comments#action_63651 ] Henry Zongaro commented on XALANJ-2111: ---------------------------------------
Do you have a complete, standalone XSLT test case (stylesheet and XML document) that demonstrates this problem? It's not clear to me what's wrong with the code you've pointed to. I should point out that section 16.2 of XSLT 1.0[1] states, "The html output method should not output an element differently from the xml output method unless the expanded-name of the element has a null namespace URI; an element whose expanded-name has a non-null namespace URI should be output as XML." The code in question checks whether an element is in some namespace, and outputs it as XML, as is required, so I don't believe we'll be able to simply comment it out. [1] http://www.w3.org/TR/xslt#section-HTML-Output-Method > NPE in o.a.xml.serializer.ToHTMLStream.endElement() > --------------------------------------------------- > > Key: XALANJ-2111 > URL: http://issues.apache.org/jira/browse/XALANJ-2111 > Project: XalanJ2 > Type: Bug > Components: Serialization > Versions: 2.6 > Environment: Cocoon 2.1.7 > Reporter: Antonio Gallardo > > See: http://issues.apache.org/bugzilla/show_bug.cgi?id=34386 > The solution is to comment lines blocks from 726 to 731 and 840 to 845 in > org.apache.xml.serializer.ToHTMLStream.java (current CVS). > This makes the serializer to service the SAX events as XML and this seems to > be > the cause of the trouble. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
