Re: Ignore Order while validating XSD

On 2009-01-25, at 16:37:55, C. M. Sperberg-McQueen wrote:

> In a conventional regular expression, you might write

> (b|c|x)*, a, (a|b|c|x)*

<xsd:complexType name="brzozowski">
  <xsd:array pattern="(b|c|x)*, a{2}, (a|b|c|x)*">
   <xsd:element ref="my:a"/>
   <xsd:element ref="my:b"/>
   <xsd:element ref="my:c"/>
   <xsd:element ref="my:x"/>
  </xsd:array>
</xsd:complexType>

Wish it could be that easy.


Philip Aker
echo astwta@lvpc.dslh@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

Received on Monday, 26 January 2009 09:20:18 UTC