Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2440

TDML Runner must provide root namespace to processor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • TDML Runner
    • None

    Description

      Daffodil's TDML processor can determine the root element namespace URI by searching.

      Other TDML processors can't do that.

      This turns out to make it impossible to run TDML negative parser test cases, because there is no infoset from which the namespace can be determined. So, for example on the IBM Cross Tester's TDML Processor, a parserTestCase that is negative always fails with 'can't find root element' whenever there is a target namespace in the schema.

      1) add a way to specify the root namespace URI on a test case (e.g., rootNS attribute)

      2) add a heuristic to grab targetNamespace of primary schema file or schema node

      Pass this namespace string so that it is supplied to the processor.

       

      Attachments

        Activity

          People

            mbeckerle Mike Beckerle
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: