Parentheses may be used for grouping

Hi,

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?

(preceding::foo)[1]

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.

thanks,

James.


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