xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone (JIRA)" <xmlbeans-...@xml.apache.org>
Subject [jira] Updated: (XMLBEANS-349) Sequence tag not validated
Date Mon, 12 Nov 2007 11:45:50 GMT

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

Simone updated XMLBEANS-349:
----------------------------

    Summary: Sequence tag not validated  (was: Sequence not validated)

> Sequence tag 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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


Mime
View raw message