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

XSLTC generates invalid XML (with output method set to xml).

           Summary: XSLTC generates invalid XML (with output method set to
                    xml).
           Product: XalanJ2
           Version: 2.3
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This may be fixed in 2.4D1...

In TextOutput.java, in the function "escapeCharacters" there is the following:
            case '\u00a0':
                _saxHandler.characters(ch, offset, i - offset);
                _saxHandler.characters(NBSP, 0, NBSP_length);
                offset = i + 1;
                break;

This is a problem since "escapeCharacters" is called when the output method is 
html *or* xml (&nbsp; is not a valid XML entity reference).

Reply via email to