You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Simone (JIRA)" <xm...@xml.apache.org> on 2007/11/12 12:41:52 UTC
[jira] Created: (XMLBEANS-349) Sequence not validated
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: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
[jira] Closed: (XMLBEANS-349) Sequence tag not validated
Posted by "Simone (JIRA)" <xm...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XMLBEANS-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simone closed XMLBEANS-349.
---------------------------
Resolution: Fixed
> 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
[jira] Updated: (XMLBEANS-349) Sequence tag not validated
Posted by "Simone (JIRA)" <xm...@xml.apache.org>.
[ 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