The following issue has been updated:
Updater: Yash Talwar (mailto:[EMAIL PROTECTED])
Date: Thu, 23 Sep 2004 10:09 AM
Comment:
Interface org.xml.sax.ext.LexicalHandler declares methods to take care of comments
during transformation. In class, org.apache.xml.serializer.ToHTMLSAXHandler, the
reference to LexicalHandler is set to null. The proposed patch ensures that the
reference to LexicalHandler does not get set to null and code integrity remains. This
resolves the issue that I have seen in my application.
Changes:
Attachment changed to PatchForApacheCode.txt
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/XALANJ-1966?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XALANJ-1966
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XALANJ-1966
Summary: XSL Transformation drops content inside xsl:comment tags.
Type: Bug
Status: Unassigned
Priority: Major
Project: XalanJ2
Components:
Serialization
Versions:
CurrentCVS
Assignee:
Reporter: Yash Talwar
Created: Thu, 23 Sep 2004 9:57 AM
Updated: Thu, 23 Sep 2004 10:09 AM
Environment: Windows 2000. Xalan 2.6.0
Description:
With Xalan 2.6.0, when a simple stylesheet, say test.xsl and input xml, say test.xml
is used, transformation works fine.
If simple test.xsl file include or import other stylesheets and imported/included
stylesheets import/include more stylesheets, then, transformation works; however, in
the final output (html), content inside xsl:comment tags are dropped. I have a big
application that produced this problem. I cannot provide a simpler version of the
testcase. However, I have resolved the issue by making one minor change in the code.
I will provide the patch that resolved my problem.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]