Sequence not validated ---------------------- Key: XMLBEANS-349 URL: https://issues.apache.org/jira/browse/XMLBEANS-349 Project: XMLBeans Issue Type: Bug Components: Validator Affects Versions: Version 2.2 Environment: WindowsXP Reporter: Simone
I have sequence tag in the my schema xsd <xs:sequence minOccurs="0" maxOccurs="unbounded"> <xs:element name="searchcriteria" type="xs:string" nillable="false"/> <xs:element name="searchvalue" type="xs:string" nillable="false"/> </xs:sequence> if I do xmlobject creation and after I do parsing and validation of a xml that has more elements in the sequence: <searchcriteria>profileTypeID</searchcriteria> <searchvalue>5</searchvalue> <searchcriteria>entityTypeID</searchcriteria> <searchvalue>2</searchvalue> <searchcriteria>entityID</searchcriteria> <searchvalue>1</searchvalue> xmlInputDoc.validate() returns false, not valid instead if there is only an element in the xml: <searchcriteria>profileTypeID</searchcriteria> <searchvalue>5</searchvalue> it is valid -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]