You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Stanimir Stamenkov (JIRA)" <xe...@xml.apache.org> on 2006/09/15 09:53:24 UTC

[jira] Created: (XERCESJ-1189) Wrap character encoding related exceptions in the SAXException being reported

Wrap character encoding related exceptions in the SAXException being reported
-----------------------------------------------------------------------------

                 Key: XERCESJ-1189
                 URL: http://issues.apache.org/jira/browse/XERCESJ-1189
             Project: Xerces2-J
          Issue Type: New Feature
          Components: SAX
    Affects Versions: 2.8.1
            Reporter: Stanimir Stamenkov
            Priority: Minor


During parsing (XMLReader.parse()), when a character encoding problem happens on the input (e.g. a java.io.CharConversionException is thrown) it is reported as SAXException but any trace from the original exception is lost (except the exception message) thus making it harder to recognize the initial problem. Making the original exception accessible through SAXException.getException() (and/or Exception.getCause()) will help in recognizing character encoding problems easier.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Resolved: (XERCESJ-1189) Wrap character encoding related exceptions in the SAXException being reported

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich resolved XERCESJ-1189.
-------------------------------------------

    Resolution: Fixed

I just implemented this in SVN.  The CharConversionException is now available from SAXException.getException().

> Wrap character encoding related exceptions in the SAXException being reported
> -----------------------------------------------------------------------------
>
>                 Key: XERCESJ-1189
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1189
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: SAX
>    Affects Versions: 2.8.1
>            Reporter: Stanimir Stamenkov
>         Assigned To: Michael Glavassevich
>            Priority: Minor
>
> During parsing (XMLReader.parse()), when a character encoding problem happens on the input (e.g. a java.io.CharConversionException is thrown) it is reported as SAXException but any trace from the original exception is lost (except the exception message) thus making it harder to recognize the initial problem. Making the original exception accessible through SAXException.getException() (and/or Exception.getCause()) will help in recognizing character encoding problems easier.

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


[jira] Assigned: (XERCESJ-1189) Wrap character encoding related exceptions in the SAXException being reported

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich reassigned XERCESJ-1189:
---------------------------------------------

    Assignee: Michael Glavassevich

> Wrap character encoding related exceptions in the SAXException being reported
> -----------------------------------------------------------------------------
>
>                 Key: XERCESJ-1189
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1189
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: SAX
>    Affects Versions: 2.8.1
>            Reporter: Stanimir Stamenkov
>         Assigned To: Michael Glavassevich
>            Priority: Minor
>
> During parsing (XMLReader.parse()), when a character encoding problem happens on the input (e.g. a java.io.CharConversionException is thrown) it is reported as SAXException but any trace from the original exception is lost (except the exception message) thus making it harder to recognize the initial problem. Making the original exception accessible through SAXException.getException() (and/or Exception.getCause()) will help in recognizing character encoding problems easier.

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


[jira] Updated: (XERCESJ-1189) Wrap character encoding related exceptions in the SAXException being reported

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich updated XERCESJ-1189:
------------------------------------------

    Fix Version/s: 2.9.1

> Wrap character encoding related exceptions in the SAXException being reported
> -----------------------------------------------------------------------------
>
>                 Key: XERCESJ-1189
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1189
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: SAX
>    Affects Versions: 2.8.1
>            Reporter: Stanimir Stamenkov
>            Assignee: Michael Glavassevich
>            Priority: Minor
>             Fix For: 2.9.1
>
>
> During parsing (XMLReader.parse()), when a character encoding problem happens on the input (e.g. a java.io.CharConversionException is thrown) it is reported as SAXException but any trace from the original exception is lost (except the exception message) thus making it harder to recognize the initial problem. Making the original exception accessible through SAXException.getException() (and/or Exception.getCause()) will help in recognizing character encoding problems easier.

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