aspose file tools*
The moose likes XML and Related Technologies and the fly likes minOccurs,maxOccurs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "minOccurs,maxOccurs" Watch "minOccurs,maxOccurs" New topic
Author

minOccurs,maxOccurs

rahul dighe
Ranch Hand

Joined: Apr 17, 2001
Posts: 44
The xfront xmlschema presentation has a statement
Note: minOccurs and maxOccurs can only
be used in nested (local) element declarations
i have doubts whether this statement is true. can anyone provide any example i see that i can define an global <element> with a minOccurs and maxOccurs and there is no issue with schema validation,
is there something else that i am missing here ?


<BR>Rahul Dighe
rahul dighe
Ranch Hand

Joined: Apr 17, 2001
Posts: 44
i found the answer apparently ..
the problem was that the editor showed it as a option when i was using context sensitive help but when i ran the validator it showed an error.
it does make sense
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: minOccurs,maxOccurs
 
Similar Threads
does XMLSchema.xsd definition violate it's own definition?
XML Schema: Global Declaration
wsimport command error --Undefined symbol or complex type
WSDL2Java stub class receiving ArrayList instead of single object
minOccurs, maxOccurs