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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.11.0
    • 2.10.5, 2.11.1, 2.12.0
    • camel-validator
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: