Hi Folks,

I installed the latest version of Daffodil (3.0).

My DFDL schema worked with previous versions of Daffodil, but now it doesn't 
work ...

My DFDL schema is below. It is a simple schema to parse comma-separated 
instances like this:

a,b,c

Daffodil complained that I didn't have fillByte on element DataItem1, so I 
added one. Then it complained that I didn't have fillByte on element DataItem2, 
so I added one. And DateItem3. Then it complained that I didn't have fillByte 
on xs:sequence, so I added one. Despite adding fillByte everywhere, Daffodil 
continues to complain that the schema doesn't have fillByte defined. What am I 
doing wrong, please?  /Roger

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";
    xmlns:dfdl="http://www.ogf.org/dfdl/dfdl-1.0/";>

    <xs:annotation>
        <xs:appinfo source="http://www.ogf.org/dfdl/";>
            <dfdl:format
                textBidi="no"
                separatorSuppressionPolicy="never"
                floating="no"
                encodingErrorPolicy="replace"
                outputNewLine="%CR;%LF;"
                leadingSkip="0"
                trailingSkip="0"
                alignment="1"
                alignmentUnits="bytes"
                textPadKind="none"
                textTrimKind="none"
                truncateSpecifiedLengthString="no"
                escapeSchemeRef=""
                representation="text"
                encoding="ASCII"
                lengthKind = "delimited"
                initiator = ""
                terminator = ""
                ignoreCase = "yes"
                sequenceKind="ordered"
                initiatedContent="no"
                fillByte=" "
            />
        </xs:appinfo>
    </xs:annotation>

    <xs:element name="SimpleDataFormat">
        <xs:complexType>
            <xs:sequence
                dfdl:separator=","
                dfdl:separatorPosition="infix"  dfdl:fillByte=" "
                >
                <xs:element name="DataItem1" type="xs:string" dfdl:fillByte=" " 
/>
                <xs:element name="DataItem2" type="xs:string" dfdl:fillByte=" 
"/>
                <xs:element name="DataItem3" type="xs:string" dfdl:fillByte=" " 
/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

</xs:schema>




Reply via email to