Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4999

Upgrade from 2.8.3 to 2.9.0 breaks the schema validation capability in the Camel Validation component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0
    • 2.9.1
    • camel-core
    • None
    • Unknown

    Description

      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 '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]

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            akarpe Ashwin J. Karpe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: