Community
Participate
Working Groups
Build Identifier: 3.5.2.R35 In visitCMGroup(CMGroup e) of org.eclipse.wst.xml.core.internal.contentmodel.util.DOMContentBuilder, it is not visit the first child node if the current model group e is a CHOICE with minOccurs of 1, and the first child node is a sequence of minOccurs of 1. Reproducible: Always Steps to Reproduce: Here is the xsd file: <?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:csv="http://www.ibm.com/dfdl/CommaSeparatedFormat" xmlns:dfdl="http://www.ogf.org/dfdl/dfdl-1.0/" xmlns:ibmDfdlExtn="http://www.ibm.com/dfdl/extensions" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:import namespace="http://www.ibm.com/dfdl/CommaSeparatedFormat" schemaLocation="IBMdefined/CommaSeparatedFormat.xsd"/> <xsd:annotation> <xsd:appinfo source="http://www.ogf.org/dfdl/"> <dfdl:format encoding="{$dfdl:encoding}" ref="csv:CommaSeparatedFormat"/> </xsd:appinfo> </xsd:annotation> <xsd:element ibmDfdlExtn:docRoot="true" name="CSV_3"> <xsd:complexType> <xsd:sequence dfdl:separator="%CR;"> <xsd:element name="header"> <xsd:complexType> <xsd:sequence dfdl:separatorPolicy="suppressedAtEndLax"> <xsd:element default="2011-01-01" ibmDfdlExtn:sampleValue="2001-01-01" name="requestDate" type="xsd:date"/> <xsd:element default="X12334" name="requestId" type="xsd:string"/> <xsd:element default="customerdetails" name="requestType" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element dfdl:occursCountKind="parsed" maxOccurs="unbounded" name="customer"> <xsd:complexType> <xsd:sequence dfdl:separatorPolicy="suppressedAtEndLax"> <xsd:choice> <xsd:sequence> <xsd:element ibmDfdlExtn:sampleValue="Bob" name="firstname" type="xsd:string"/> <xsd:element ibmDfdlExtn:sampleValue="Dyson" name="lastnme" type="xsd:string"/> <xsd:element ibmDfdlExtn:sampleValue="true" name="goldmember" type="xsd:boolean"/> <xsd:element dfdl:textNumberPattern="#0" ibmDfdlExtn:sampleValue="1" name="housenumber" type="xsd:integer"/> <xsd:element dfdl:textNumberPattern="#0" ibmDfdlExtn:sampleValue="2147483647" name="postcode" type="xsd:int"/> <xsd:element dfdl:textNumberPattern="#0.###" ibmDfdlExtn:sampleValue="0.0" name="float" type="xsd:float"/> <xsd:element dfdl:textNumberPattern="#0.##" ibmDfdlExtn:sampleValue="1.0" name="balance" type="xsd:decimal"/> </xsd:sequence> <xsd:sequence> <xsd:element name="initial" type="xsd:string"> </xsd:element> <xsd:element name="lastname" type="xsd:string"> </xsd:element> </xsd:sequence> </xsd:choice> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema>