Hello DFDL community,

The below DFDL schema works perfectly in 2.3.0 but when I run it in 2.4.0 I get 
this error message:

Attribute 'dfdl:occursKind' is not allowed to appear in element 'xs:element'.

I checked the DFDL specification and it says that dfdl:occursKind must be used 
on an xs:element.

Is this a bug in the latest release of Daffodil?  /Roger

<xs:element name="input">
    <xs:complexType>
        <xs:sequence dfdl:separator="%NL;" dfdl:separatorPosition="infix">
            <xs:element name="person" maxOccurs="unbounded" 
dfdl:occursKind="implicit" dfdl:initiator="Person:" nillable="true" 
dfdl:nilValue="%ES;" dfdl:nilValueDelimiterPolicy="initiator">
                <xs:complexType>
                    <xs:sequence dfdl:separator="," 
dfdl:separatorPosition="infix">
                        <xs:element name="name" type="xs:string" />
                        <xs:element name="age" type="xs:string" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
</xs:element>


Reply via email to