Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can a simpleType have two length facets?

 
Karthik Jayaraman
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<simpleType>
<restriction base="string">
<length value="2"/>
<length value="5"/>
......

Would the above mean that the simple content can have a length of either 2 or 5?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It means that the simple content can have a length of 5 as the first length declaration will get overridden by the second one.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic