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

Schematron component does not work with includes in schematron

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.14.1
    • 2.17.4, 2.18.0
    • camel-schematron
    • None
    • Unknown

    Description

      I have a schematron with includes:

      <pattern>
      <include href="include/DTr1_ANY.sch"/>
      ....
      </pattern>

      when I run against this schematron I get the following error:

      Recoverable error on line 472
      FODC0002: I/O error reported by XML parser processing null: null
      Unable to open referenced included file: include/DTr1_ANY.sch
      Unable to locate id attribute: include/DTr1_ANY.sch
      Recoverable error on line 472

      There is question with an answer on stackoverflow that seems applicable to me:

      http://stackoverflow.com/questions/7236291/saxon-error-with-xslt-import-statement

      BTW: camel-schematron is not yet a component in JIRA.

      Many thanks in advance!
      Thomas.

      Attachments

        Activity

          People

            akhettar ayache khettar
            twalzer Thomas Walzer
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: