[ 
https://issues.apache.org/activemq/browse/SMXCOMP-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=58057#action_58057
 ] 

Axel Irriger commented on SMXCOMP-720:
--------------------------------------

One more point. 
I also changed the error handling (from line "if 
(errorHandler.capturesMessages()) {" on) to default to a string as a return so 
that the fault gets the stacktrace of the validation error also. Otherwise this 
seems to be hidden.

> Enable validation when no namespace information is present in the XML
> ---------------------------------------------------------------------
>
>                 Key: SMXCOMP-720
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-720
>             Project: ServiceMix Components
>          Issue Type: Improvement
>          Components: servicemix-validation
>         Environment: checked and tested with FuseESB4.2RC1 and 4.2-final
>            Reporter: Axel Irriger
>            Priority: Minor
>         Attachments: ValidationEndpoint.java
>
>
> The sm-validation component is only able to validate against a XML schema if 
> there are schema informations available in the XML document. If not, 
> validation fails.
> This can be circumvent by using the property 
> external-noNamespaceSchemaLocation to provide a schema definition for elemens 
> with no namespace prefix. By using this way (by means of new property), all 
> document types can be validated.

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

Reply via email to