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=5962>.
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=5962

X2-20-Jan:SAXSourceAPITest fails with &#13; line endings

           Summary: X2-20-Jan:SAXSourceAPITest fails with &#13; line endings
           Product: XalanJ2
           Version: CurrentCVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: org.apache.xalan.serialize
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


TestID: SAXSourceAPITest.java testCase2 r1.4
xml-xalan CVS 22-Jan-02 10AM
Running SAXSourceAPITest with xercesImpl.jar from 
http://gump.covalent.net/jars/latest/ on 20-Jan-02 fails in the following test:
  transform of SAXSource(FileInputStreams) into: results-
api\SAXSourceAPITest\trax\sax\SAXSourceAPITest_3.out

The output has an additional &#13; after each line except for the xml decl and 
the last line.  Roughly equivalent code is:
  xslSAXSrcStream = new SAXSource(new InputSource(new FileInputStream
(testFileInfo.inputName)));
  templatesStream = factory.newTemplates(xslSAXSrc);
  transformerStream = templatesStream.newTransformer();
  xmlSAXSrcStream = new SAXSource(new InputSource(new FileInputStream
(testFileInfo.xmlName)));
  transformerStream.transform(xmlSAXSrcStream, new StreamResult
(outNames.currentName()));
This is using tests/api/trax/sax/SAXTest.xsl, which is an effective identity 
transform.
Note Xerces 1.4.4 runs this test normally.

------- Additional Comments From [EMAIL PROTECTED]  2002-01-22 17:44 -------
May be related to previously fixed Xerces-J bug 5935.

Reply via email to