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

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

    XMLWordPrintableJSON

Details

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: