W3C home > Mailing lists > Public > www-xpath-comments@w3.org > January to March 2002

Parentheses may be used for grouping

From: James Swift <Swift@altova.com>
Date: Thu, 3 Jan 2002 06:23:05 -0500 (EST)
Message-ID: <A949EFD2E1E88F4DA24B6D3D0328C16A1DEEF3@morpheus.vie.altova.com>
To: <www-xpath-comments@w3.org>

Since parentheses may be used for grouping this is obviously allowed, 

/foo/bar[ ( fish or cow ) and dog ]

however am I correct in assuming that the following example supplied in the spec is not allowed according to the grammar?


I do understand what it means etc. I just can't work out how (Expr)Predicate is allowed. It's not allowed to have '(' or ')' ina Step either.



... James Swift
... Developer
... Altova GmbH - The XML Spy Company

XML Spy 4.2 Suite: the original award-winning IDE, Document Editor,
XSLT Designer,  Browser Plug-In, XML Schema Editor, and SOAP Tester
Visit  <www.xmlspy.com>  to download your free evaluation copy today!

The information transmitted in this message and/or as an attachment
to it  is intended  only for the  person or  entity to  which it is
addressed and may contain confidential  and/or privileged material.
Any  review,  retransmission,  dissemination  or  other use of,  or
taking of any action in reliance upon,  this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error,  please contact  the sender  and delete the
material from any computer.  Altova GmbH  and  Altova, Inc.  do not
accept legal responsibility  for the contents of this message.  Any
views or opinions  presented are solely  those of the author and do
not  necessarily  represent those of  Altova GmbH and  Altova, Inc.
unless otherwise specifically stated. Thank you!
Received on Thursday, 3 January 2002 07:52:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:42 UTC