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

config file syntax does not tolerate XML Comments.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Front End
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks