You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2020/12/10 20:00:00 UTC

[jira] [Closed] (DAFFODIL-2440) TDML Runner must provide root namespace to processor

     [ https://issues.apache.org/jira/browse/DAFFODIL-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Thompson closed DAFFODIL-2440.
-----------------------------------

Verified the specified commit (commit 7037de42e28cf9cb48d2275f9ce3409a00e57e08) is included in the latest pull from the incubator-daffodil repository.

Verified the all incubator-daffodil sbt test suites execute successfully including for the affected subprojects.

Verified the "rootNS" attribute is added to the tdml.xsd.

Verified the nightly test schemas compile and save successfully.

Verified the nightly test suite executes successfully.

> TDML Runner must provide root namespace to processor
> ----------------------------------------------------
>
>                 Key: DAFFODIL-2440
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2440
>             Project: Daffodil
>          Issue Type: Bug
>          Components: TDML Runner
>    Affects Versions: 3.0.0
>            Reporter: Mike Beckerle
>            Assignee: Mike Beckerle
>            Priority: Major
>             Fix For: 3.1.0
>
>
> 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.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)