[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Closed: (XMLBEANS-349) Sequence tag not validated
From:       "Simone (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2007-11-12 13:55:50
Message-ID: 18765165.1194875750887.JavaMail.jira () brutus
[Download RAW message or body]


     [ 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic