http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1437 *** shadow/1437 Sun May 20 17:25:45 2001 --- shadow/1437.tmp.12348 Wed Jun 6 15:13:01 2001 *************** *** 1,19 **** ! Bug#: 1437 ! Product: XalanJ2 ! Version: 2.0.1 ! Platform: PC ! OS/Version: All ! Status: NEW ! Resolution: ! Severity: Normal ! Priority: Medium ! Component: Xalan ! AssignedTo: [EMAIL PROTECTED] ! ReportedBy: [EMAIL PROTECTED] ! URL: ! Cc: ! Summary: disable-output-escaping generates <?javax.xml.transform.disable-output-escaping?> in output. ! This xsl file generates different output when using SAXResult/StreamResult/DOMResult individually. Basically only StreamResult generates the expected result. When I'm using the command line tool to do --- 1,19 ---- ! +============================================================================+ ! | disable-output-escaping generates <?javax.xml.transform.disable-output-esc | ! +----------------------------------------------------------------------------+ ! | Bug #: 1437 Product: XalanJ2 | ! | Status: RESOLVED Version: 2.0.1 | ! | Resolution: INVALID Platform: PC | ! | Severity: Normal OS/Version: All | ! | Priority: Medium Component: Xalan | ! +----------------------------------------------------------------------------+ ! | Assigned To: [EMAIL PROTECTED] | ! | Reported By: [EMAIL PROTECTED] | ! | CC list: Cc: | ! +----------------------------------------------------------------------------+ ! | URL: | ! +============================================================================+ ! | DESCRIPTION | This xsl file generates different output when using SAXResult/StreamResult/DOMResult individually. Basically only StreamResult generates the expected result. When I'm using the command line tool to do *************** *** 64,66 **** --- 64,77 ---- } } } + + ------- Additional Comments From [EMAIL PROTECTED] 2001-06-06 15:13 ------- + Sorry for the delay in replying. This is the way that Xalan is designed to + work. When disable-output-escaping="yes" is specified, Xalan adds the + indicated processing instruction to the result tree. When the serializers go + to serialize the tree, they recognize the processing instruction as an + instruction to disable output escaping. You can find these instructions and a + short description at + http://xml.apache.org/xalan-j/apidocs/javax/xml/transform/Result.html + + Gary \ No newline at end of file