[
https://issues.apache.org/jira/browse/CAMEL-4999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206058#comment-13206058
]
filippo balicchia commented on CAMEL-4999:
------------------------------------------
After some unit test i see that the problem is fixed in version 2.10-SNAPSHOT.
The jira issue that fix the problem is:
CAMEL-4877: Validator component now supports xs:import again.
The version of camel that has this from are 2.9.0 and 2.9.0-RC1.
>From my point of view this iusse can be closed
Thanks from help
> Upgrade from 2.8.3 to 2.9.0 breaks the schema validation capability in the
> Camel Validation component
> ------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-4999
> URL: https://issues.apache.org/jira/browse/CAMEL-4999
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.9.0
> Reporter: Ashwin Karpe
>
> A Camel user reported the following in the Camel User Forum issue
> http://camel.465427.n5.nabble.com/Validation-error-after-upgrade-from-Camel-2-8-3-to-2-9-0-td5472816.html
> Details
> --------
> I have a route that use
> http://camel.apache.org/validation.html
> after upgrade Camel from 2.8.3 to 2.9.0 during validation I receive
> the following error
> by: org.xml.sax.SAXParseException: src-resolve: Cannot resolve the
> name 'ecc:PositionType' to a(n) 'type definition' component.
> at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)[:]
> at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown
> Source)[:]
> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
> Source)[:]
> at
> org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown
> Source)[:]
> at
> org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown
> Source)[:]
> at
> org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl(Unknown
> Source)[:]
> at
> org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseNamedElement(Unknown
>
> Source)[:]
> at
> org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseLocal(Unknown
>
> Source)[:]
> at
> org.apache.xerces.impl.xs.traversers.XSDHandler.traverseLocalElements(Unknown
> Source)[:]
> at
> org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown
> Source)[:]
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown
> Source)[:]
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown
> Source)[:]
> at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown
> Source)[:]
> at
> org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown
> Source)[:]
> at
> javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:524)[:]
> at
> org.apache.camel.processor.validation.ValidatingProcessor.createSchema(ValidatingProcessor.java:231)[90:org.apache.camel.camel-core:2.9.0]
>
> at
> org.apache.camel.processor.validation.ValidatingProcessor.loadSchema(ValidatingProcessor.java:105)[90:org.apache.camel.camel-core:2.9.0]
>
> at
> org.apache.camel.component.validator.ValidatorComponent.createEndpoint(ValidatorComponent.java:55)[90:org.apache.camel.camel-core:2.9.0]
>
> at
> org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:91)[90:org.apache.camel.camel-core:2.9.0]
>
> at
> org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:432)[90:org.apache.camel.camel-core:2.9.0]
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira