Text serialization writes character encoding errors to stderr
-------------------------------------------------------------

                 Key: XALANJ-2451
                 URL: https://issues.apache.org/jira/browse/XALANJ-2451
             Project: XalanJ2
          Issue Type: Bug
      Security Level: No security risk; visible to anyone (Ordinary problems in 
Xalan projects.  Anybody can view the issue.)
          Components: Serialization
    Affects Versions: The Latest Development Code
            Reporter: John Gibson
            Priority: Minor


org.apache.xml.serializer.ToTextStream prints character encoding error messages 
(ER_ILLEGAL_CHARACTER) to standard error.
According to the comments the old behavior was to throw a SAXException, which 
sounded too heavy handed.
This behavior should be configurable or print to a logger or something.

I first noticed this bug when generating XSL text transformations with the 
version bundled with Sun's implementation of Java 6.  I'm not sure which 
version of Xalan is included, but the bad code still exists on the trunk.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to