[
https://issues.apache.org/activemq/browse/SMXCOMP-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Axel Irriger updated SMXCOMP-720:
---------------------------------
Attachment: ValidationEndpoint.java
This version enables noNamespaceSchemaLocation and allows setting a new schema
resource especially for elements with no schema prefix.
> 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.