W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2005

[Bug 2405] QueryBody for MainModule can be very difficult to parse

From: <bugzilla@wiggum.w3.org>
Date: Sun, 23 Oct 2005 07:37:46 +0000
To: public-qt-comments@w3.org
Message-Id: <E1ETaQM-0002x6-8E@wiggum.w3.org>


------- Additional Comments From jmdyck@ibiblio.org  2005-10-23 07:37 -------
(In reply to comment #2)
> I think one of the problem with
>   MainModule ::= Prolog QueryBody
> is on forward compatibility.
> If current parsers treat whatever prolog that they cannot recognize as
> QueryBody, then it will be difficult to add new prologs without breaking
> existing parsers.

If a future version of XQuery introduces new kinds of PrologDecl, then that will
(rather inescapably) "break" existing parsers. Tweaking the grammar to make the
start of the QueryBody easier to recognize isn't going to change that.
Received on Sunday, 23 October 2005 07:37:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:09 UTC