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/06/12 15:25:00 UTC

[jira] [Assigned] (DAFFODIL-2199) initiatedContent="yes" does not cause SDE when initiator="%ES;"

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

Mike Beckerle reassigned DAFFODIL-2199:
---------------------------------------

    Assignee: Mike Beckerle  (was: John Interrante)

> initiatedContent="yes" does not cause SDE when initiator="%ES;"
> ---------------------------------------------------------------
>
>                 Key: DAFFODIL-2199
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2199
>             Project: Daffodil
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Mike Beckerle
>            Assignee: Mike Beckerle
>            Priority: Major
>
> This schema fragment does not cause an SDE as required by the DFDL spec:
>  
> {code:java}
> <xs:element name="input">
>     <xs:complexType>
>          <xs:sequence dfdl:initiatedContent="yes">
>              <xs:element name="A" type="xs:string" dfdl:initiator="%ES;" />
>          </xs:sequence>
>      </xs:complexType>
>  </xs:element>{code}
> {color:#003296}Note that the DFDL spec says that when initiatedContent is yes, the initiator may not be empty string, but this is ambiguous. Clearly dfdl:initiator="" is not allowed, but a check for dfdl:initiator="%ES;" should also be rejected. {color}
>  
> {color:#003296}Actually, dfdl:initiator="%WSP*;" should also be rejected in this case.{color}
>  
> {color:#003296}dfdl:initiator="%ES;" should uniformly, always be rejected, because it is meaningless in all cases. {color}



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