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

Schematron component does not work with includes in schematron

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.14.1
    • Fix Version/s: 2.17.4, 2.18.0
    • Component/s: camel-schematron
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: