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

John Interrante reassigned DAFFODIL-2199:
-----------------------------------------

    Assignee: 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: John Interrante
>            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)

Reply via email to