Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-743

diagnostic from missing include/import doesn't give schema location

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • s12
    • s10
    • Diagnostics, Front End
    • None

      James Garriss said:

      ... I ran into this error message from Daffodil. While it happily tells me which schema it can’t find, it doesn’t tell which schema wants it. Since my schema is really a set of 10 interconnected schemas, I really need this error message to give me both, something like:

      Subject.xsd includes DefaultProperties.xsd, but DefaultProperties.xsd cannot be found.

      Here’s the error:

      C:\Users\jgarriss\Documents\DFDL_Schemas_Email2\02_Message_Headers>C:\Users\jgarriss\daffodil\bin\da

      ffodil -v parse -s MessageHeaders.xsd -r MessageHeaders messageHeaders01.txt

      [error] Compilation (ProcessorFactory) produced 8 errors/warnings.

      [error] Schema Definition Error: Included schema not found at location C:\Users\jgarriss\Documents\D

      FDL_Schemas_Email2\02_Message_Headers\DefaultProperties.xsd. Searched these classpath locations:

      C

      \Users\jgarriss\daffodil\bin\..\lib\commons-logging-1.1.1.jar;C

      \Users\jgarriss\daffodil\bin\..\lib\daffodil-cli_2.9.2-0.10.0.jar;C

      \Users\jgarriss\daffodil\bin\..\lib\daffodil-core_2.9.2-0.10.0.jar;C

      \Users\jgarriss\daffodil\bin\..\lib\daffodil-lib_2.9.2-0.10.0.jar;C

      \Users\jgarriss\daffodil\bin\..\lib\daffodil-tdml_2.9.2-0.10.0.jar;C

              jadams Joshua Adams
              mbeckerle.dfdl Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 2 minutes
                  2m