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

[jira] [Resolved] (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 ]

Mike Beckerle resolved DAFFODIL-2440.
-------------------------------------
    Resolution: Fixed

Fixed in 7037de42e28cf9cb48d2275f9ce3409a00e57e08

> 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)