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

Re: Consuming the input (was: none)

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Tue, 13 Apr 2021 16:08:13 +0000
Message-Id: <1618329981364.534043511.598660484@cwi.nl>
To: public-ixml@w3.org
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:08:26 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 13 April 2021 16:08:27 UTC