[Home] [By Thread] [By Date] [Recent Entries]


> From: Chiusano Joseph [mailto:chiusano_joseph@b...]

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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member