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/18 06:34:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17234294#comment-17234294 ] 

Mike Beckerle commented on DAFFODIL-2440:
-----------------------------------------

See https://github.com/apache/incubator-daffodil/pull/458

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