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

config file syntax does not tolerate XML Comments.

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • None
    • Front End
    • None

      See this config file, used by NACHA

      Note the comment at the bottom

      <daf:dfdlConfig
      	xmlns:daf="urn:ogf:dfdl:2013:imp:opensource.ncsa.illinois.edu:2012:ext"
      	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      	<daf:tunables>
           <daf:unqualifiedPathStepPolicy>defaultNamespace</daf:unqualifiedPathStepPolicy>
           <daf:suppressSchemaDefinitionWarnings>all</daf:suppressSchemaDefinitionWarnings>
           <!-- multipleChoiceBranches -->
          </daf:tunables>
      </daf:dfdlConfig>

      This creates spurious messages (ironically warnings) about

      2017-01-11 12:33:59:701  edu.illinois.ncsa.daffodil.compiler.Compiler Warning[Ignoring unknown tunable: #REM]

      Without the comment in the config file, no such messages.

              Unassigned Unassigned
              mbeckerle.dfdl Mike Beckerle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: