You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/07/11 23:20:57 UTC
DO NOT REPLY [Bug 10715] New: -
XSLTC generates invalid XML (with output method set to xml).
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: xalan-dev@xml.apache.org
ReportedBy: derek.sayeau@cognos.com
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 ( is not a valid XML entity reference).