Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

minOccurs,maxOccurs  RSS feed

 
rahul dighe
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
rahul dighe
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!