OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] having problems with the "|" in field's element in the xs

[ Lists Home | Date Index | Thread Index ]

> From: Chiusano Joseph [mailto:chiusano_joseph@bah.com]

> The use of the "|" (union) operator is valid in the xs:field 
> element, as
> the contents of this field must be a valid XPath expression 
> (and "|" is
> a component of a valid XPath expression).

Joseph,  XPaths are restricted in XML Schema:

Path   ::=   ('.//')? ( Step '/' )* ( Step | '@' NameTest )

Step   ::=   '.' | NameTest

NameTest   ::=   QName | '*' | NCName ':' '*'

The only ORs I see here are the BNF ORs.  




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS