Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Ignore Order while validating XSD

From: Philip Aker <philip.aker@----.-->
To: xmlschema-dev@--.---
Date: 1/25/2009 5:12:00 PM
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@l...@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.



From petexmldev@c... Mon Jan 26 12:54:44 2009
Received: from ma


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent