OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: [relax-ng-comment] Non-XML Syntax question


The comma is a sequence operator -- read "and". The parens contain a group.
So, what the syntax is saying is this:

zero or more decl(s) can contain either a pattern or (|) annotations
followed directly by a grammar

hope that helps

Mike

-----Original Message-----
From: Gary Stephenson [mailto:garys@ihug.com.au]
Sent: Wednesday, March 13, 2002 5:21 PM
To: relax-ng-comment@lists.oasis-open.org
Subject: [relax-ng-comment] Non-XML Syntax question


Hi all,

The first BNF production for the Non-XML syntax (latest version) reads:

    topLevel ::= decl* (pattern | (annotations, grammar) )

Can anybody please direct me to the syntax for the particular BNF being used
here, as I don't understand what the "," comma operator is meant to signify.
e.g. How
does the above production differ from

    topLevel ::= decl* (pattern | annotations grammar )

?

many tias,

gary



----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC