Uploaded image for project: 'DocBook Style Sheet Development'
  1. DocBook Style Sheet Development
  2. DSSD-5

xjparse in DOS is returning non-zero for successful validate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: None
    • Labels:
      None

      Description

      This is unexpected: 

      T:\Tooling-NDR-20200414-2010z>java -jar db\spec-0.8\validate\xjparse.jar -v -c db\spec-0.8\catalog.xml Business-Document-NDR-v1.1-csd03wd01.xml
      Attempting validating, namespace-aware parse
      Parse succeeded (0.334) with no errors and no warnings.
      T:\Tooling-NDR-20200414-2010z>echo %errorlevel%
      1
      T:\Tooling-NDR-20200414-2010z>java -version
      java version "1.8.0_144"
      Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
      Java HotSpot(TM) Client VM (build 25.144-b01, mixed mode, sharing)
      T:\Tooling-NDR-20200414-2010z>
      

      As a result, validation in DOS is not working.

      The invocation appears fine in shell with the same file:

      ~/t/Tooling-NDR-20200414-2010z $ java -jar db/spec-0.8/validate/xjparse.jar -v -c db/spec-0.8/catalog.xml Business-Document-NDR-v1.1-csd03wd01.xml 
      Attempting validating, namespace-aware parse
      Parse succeeded (0.213) with no errors and no warnings.
      ~/t/Tooling-NDR-20200414-2010z $ echo $?
      0
      ~/t/Tooling-NDR-20200414-2010z $ java -version
      java version "1.8.0_101"
      Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
      ~/t/Tooling-NDR-20200414-2010z $ 
      

      (it is a shared drive and so both environments are working with the same files, except the java engine as indicated) 

        Attachments

          Activity

            People

            • Assignee:
              gkholman Ken Holman
              Reporter:
              gkholman Ken Holman
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: