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

xerces2b3: smoketest api tests add &#13; char to lineends

           Summary: xerces2b3: smoketest api tests add &#13; char to
                    lineends
           Product: XalanJ2
           Version: CurrentCVS
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xalan
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


xml-xalan 02-Nov-01 from CVS; swapping xerces.jar from 2.0beta3
Several API tests from the smoketest fail using xerces2b3 merely because of 
&#13; references being put onto the ends of *most* lines in output files.  This 
seems (so far) to be happening in some cases where the test explicitly hands 
BlahStream objects into a *Source/*Result object (as opposed to more common 
cases of URIs or Files, etc.)

Failures include:
SAXSourceAPITest: "transform of SAXSource(FileInputStreams)...": just this 
output file has &#13; at the end of all lines except the last one.
  // build transformerStream from newTemplates(new SAXSource(new InputSource
(new *FileInputStream*())...
  transformerStream.transform(xmlSAXSrcStream, new StreamResult
(outNames.currentName()))

SystemIdImpInclTest: "transform after setSystemId(xslonly level2)" fails
Note that this case sends a StreamResult to a FileOutputStream; the odd thing 
is that this particular test point is virtually identical to the previous one 
in the file, which passes! In both cases I use StreamSources from InputStreams; 
the only difference is in the failing case I explicitly do *not* set the 
systemId (I do set the correct systemId in the passing case, and for the xsl 
file in all cases)

StreamResultAPITest: most of testCase2 fails; these are explicitly sending 
Results to various output streams; note that each of these output files has 
&#13; only on the ends of *some* of it's lines:
...
<out> (OK)
<cdataHere><![CDATA[CDATA? or not?]]></cdataHere>foo<cdataHere><![CDATA[CDATA? 
or not?]]></cdataHere> (OK)
<out2>bar<selector>&#13; (BAD)
    <item number="1">one</item>&#13; (BAD)
    <item value="two">2</item>&#13; (BAD)
  </selector> (OK)
</out2> (OK)
</out> (OK)

Reply via email to