W3C home > Mailing lists > Public > public-ixml@w3.org > April 2021

Re: Consuming the input (was: none)

From: Tomos Hillman <yamahito@gmail.com>
Date: Tue, 13 Apr 2021 17:14:10 +0100
To: public-ixml@w3.org, Steven Pemberton <steven.pemberton@cwi.nl>
Message-ID: <32681265-1e99-4a61-b178-ef7840dd6ade@Spark>
How about "The default behaviour of the implementation must be to maximally consume the available input" to allow parsers/users to go off reservation at their own risk?

T

_________________
Tomos Hillman
eXpertML Ltd
+44 7793 242058
On 13 Apr 2021, 17:08 +0100, Steven Pemberton <steven.pemberton@cwi.nl>, wrote:
> So how about we say something like "The implementation must maximally
> consume the available input". Then the implementation can decides what the
> "available input" is, whether it's streaming or a static document.
> Steven
>
> On Monday 12 April 2021 11:25:47 (+02:00), Steven Pemberton wrote:
>
> > The new draft spec asks the question:
> > Should there be a requirement that the input is completely consumed?
> >
> > I think the answer is yes.
> >
> > Otherwise, if a grammar was:
> >
> > string: "a"*.
> >
> > and the input was
> >
> > aaa
> >
> > it would be permissible to produce as result:
> >
> > <string/>
> >
> > Steven
> >
> >
> >
> >
>
Received on Tuesday, 13 April 2021 16:14:33 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 13 April 2021 16:14:34 UTC