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] Updated: (CAMEL-3053) Validation of a non-well-formed document doesn't throw a ValidationException

     [ 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.