[xquery-talk] prolog ordering

David Carlisle davidc at nag.co.uk
Fri Nov 18 10:54:54 PST 2005


[6]    	Prolog 	   ::=  
  	(
   (DefaultNamespaceDecl | Setter | NamespaceDecl | Import)
    Separator)*
   (
     (VarDecl | FunctionDecl | OptionDecl)
   Separator)*


> (I think there is a paren mismatch btw)

No, there's same number of ( and ) in the production you quote.

> in which case the elements can appear in any order?

No, it's 
DefaultNamespaceDecl | Setter | NamespaceDecl | Import 
in any order, each followed by ";"
then

VarDecl | FunctionDecl | OptionDecl
in any order, each followed by ";"

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


More information about the talk mailing list