You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Edward Dale (JIRA)" <ji...@apache.org> on 2010/08/13 13:03:47 UTC

[jira] Created: (CAMEL-3053) Validation of a non-well-formed document doesn't throw a ValidationException

Validation of a non-well-formed document doesn't throw a ValidationException
----------------------------------------------------------------------------

                 Key: CAMEL-3053
                 URL: https://issues.apache.org/activemq/browse/CAMEL-3053
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.4.0
            Reporter: Edward Dale
         Attachments: non-well-formed-xml-exception.patch

If you attempt to validate a non-well-formed document, a SAXParseException is thrown and is the exception that much be caught in the Camel configuration, instead of a ValidationException, which is what is thrown for a well-formed, invalid document.

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


[jira] Updated: (CAMEL-3053) Validation of a non-well-formed document doesn't throw a ValidationException

Posted by "Edward Dale (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Dale updated CAMEL-3053:
-------------------------------

    Attachment: non-well-formed-xml-exception.patch

Catches the SAXParseException and wraps it in a SchemaValidationException.

> Validation of a non-well-formed document doesn't throw a ValidationException
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-3053
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3053
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Edward Dale
>         Attachments: non-well-formed-xml-exception.patch
>
>
> If you attempt to validate a non-well-formed document, a SAXParseException is thrown and is the exception that much be caught in the Camel configuration, instead of a ValidationException, which is what is thrown for a well-formed, invalid document.

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


[jira] Assigned: (CAMEL-3053) Validation of a non-well-formed document doesn't throw a ValidationException

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-3053:
----------------------------------

    Assignee: Claus Ibsen

> Validation of a non-well-formed document doesn't throw a ValidationException
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-3053
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3053
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Edward Dale
>            Assignee: Claus Ibsen
>         Attachments: non-well-formed-xml-exception.patch
>
>
> If you attempt to validate a non-well-formed document, a SAXParseException is thrown and is the exception that much be caught in the Camel configuration, instead of a ValidationException, which is what is thrown for a well-formed, invalid document.

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


[jira] Resolved: (CAMEL-3053) Validation of a non-well-formed document doesn't throw a ValidationException

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3053.
--------------------------------

    Fix Version/s: 2.5.0
       Resolution: Fixed

trunk: 985192.

Thanks Edward for the patch.

> Validation of a non-well-formed document doesn't throw a ValidationException
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-3053
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3053
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Edward Dale
>            Assignee: Claus Ibsen
>             Fix For: 2.5.0
>
>         Attachments: non-well-formed-xml-exception.patch
>
>
> If you attempt to validate a non-well-formed document, a SAXParseException is thrown and is the exception that much be caught in the Camel configuration, instead of a ValidationException, which is what is thrown for a well-formed, invalid document.

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