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

Camel-validator not able to resolve schema when using useSharedSchema=false

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.11.0
    • Fix Version/s: 2.10.5, 2.11.1, 2.12.0
    • Component/s: camel-validator
    • Labels:
      None
    • Environment:
    • Estimated Complexity:
      Unknown

      Description

      This one works:

       <to uri="validator:META-INF/xsd/fundscheckmaintainavailablebalance.xsd" />
      

      This one doesn't:

       <to uri="validator:META-INF/xsd/fundscheckmaintainavailablebalance.xsd?useSharedSchema=false" />
      

      it fails with:

      org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'null', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
      

      The streamsource object in the validator is populated, but the buffered inputstream object has no content

        Attachments

          Activity

            People

            • Assignee:
              muellerc Christian Müller
              Reporter:
              davidkarlsen@gmail.com David J. M. Karlsen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: