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

Failed to process Schematron XSLT templates and/or rules on windows

    XMLWordPrintableJSON

    Details

    • Estimated Complexity:
      Unknown

      Description

      Code like this (from TemplatesFactory or ClassPathURIResolver classes) failed on windows, where File.separator is "\".

      Source xsl = new StreamSource(ClassLoader.getSystemResourceAsStream(Constants.SCHEMATRON_TEMPLATES_ROOT_DIR
                              .concat(File.separator).concat(template)));
      

        Attachments

          Activity

            People

            • Assignee:
              njiang Willem Jiang
              Reporter:
              cp123 Sergey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: