You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "John Gibson (JIRA)" <xa...@xml.apache.org> on 2008/07/28 22:25:31 UTC

[jira] Created: (XALANJ-2451) Text serialization writes character encoding errors to stderr

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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org