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

From
Jeff Lowery <>
To
'Chiusano Joseph' <>, Murali Mani <>
Date
2003-05-20T17:37:18Z
ID
<>
Thread
RE: [xml-dev] having problems with the "|" in field's element in the xs:key el ement
> From: Chiusano Joseph [mailto:]

> 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.