Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5395

Wildcard in NCName for Camel CXF Transport in Blueprint

XMLWordPrintable

    • % %

      Using the camel cxf transport as per 'http://camel.apache.org/camel-transport-for-cxf.html' with blueprint results in a SAXParseException.

      The workaround of disabling validation is not a valid long term solution.

      The issue has been reported upstream, but has not yet been fixed.

      https://issues.apache.org/jira/browse/CXF-6567
      https://issues.apache.org/jira/browse/ARIES-1395

      <Bundle-SymbolicName>camel-blueprint-cxfendpoint;blueprint.aries.xml-validation:=false</Bundle-SymbolicName>
      Caused by: org.xml.sax.SAXParseException: cvc-datatype-valid.1.2.1: '*.camel-destination' is not a valid value for 'NCName'.                                                                                  
              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.XMLErrorReporter.reportError(Unknown Source)[:]                                                                                                                             
              at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)[:]                                                                                                                             
              at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)[:]                                                                                                       
              at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)[:]                                                                                                                  
              at org.apache.xerces.impl.xs.XMLSchemaValidator.processOneAttribute(Unknown Source)[:]                                                                                                                
              at org.apache.xerces.impl.xs.XMLSchemaValidator.processAttributes(Unknown Source)[:]                                                                                                                          at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)[:]                                                                                                                 
              at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)[:]                                                                                                                       
              at org.apache.xerces.jaxp.validation.DOMValidatorHelper.beginNode(Unknown Source)[:]                                                                                                                  
              at org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(Unknown Source)[:]                                                                                                                           at org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(Unknown Source)[:]                                                                                                                   
              at org.apache.xerces.jaxp.validation.ValidatorImpl.validate(Unknown Source)[:]                                                                                                                        
              at javax.xml.validation.Validator.validate(Unknown Source)[:2.3.0.redhat-610379]                                                                                                                      
              at org.apache.aries.blueprint.parser.Parser.validate(Parser.java:285)[13:org.apache.aries.blueprint.core:1.0.1.redhat-611445]
      

            yfang@redhat.com Freeman(Yue) Fang
            rhn-support-mrobson Matt Robson
            Lukas Lowinger Lukas Lowinger
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: