W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2004

[XPath] A.2.2 Parsing note

From: Willink, Ed <Ed.Willink@thalesgroup.com>
Date: Tue, 27 Jan 2004 12:00:24 -0000
Message-ID: <51BF576D5A02CC4CB2591F50994FD76654E0B7@NTS013.uk.trt.thales>
To: "'public-qt-comments@w3.org'" <public-qt-comments@w3.org>


The tables are _not_ a declarative way to specify behaviour. They are
a highly imperative imposition of a solution that then has to be disclaimed
except in so far as it still has to be observed.

The declarative approach is to specify that the preceding BNF when
at a lexical level maximising the length of tokens such as QName and then
in the conventional LALR(1) shift-reduce fashion has exactly one
conflict on a leading "/" that is to be resolved as per

All other <> grouping annotations and lexical tables should be a
guide that may be of assistance to those pursuing an LL approach.

		Ed Willink

E.D.Willink,                             Email: mailto:EdWillink@iee.org
Thales Research and Technology (UK) Ltd, Tel:  +44 118 923 8278 (direct)
Worton Drive,                            or  +44 118 986 8601 (ext 8278)
Worton Grange Business Park,             Fax:  +44 118 923 8399
Reading,   RG2 0SB
ENGLAND          http://www.computing.surrey.ac.uk/personal/pg/E.Willink
Received on Wednesday, 28 January 2004 04:41:44 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:16 UTC