GSoC 2016 - std.experimental.xml after a month

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 28 04:19:57 PDT 2016


On 6/28/16 4:04 AM, Lodovico Giaretta wrote:
> On Monday, 27 June 2016 at 22:36:36 UTC, Martin Nowak wrote:
>> On 06/25/2016 10:33 PM, Lodovico Giaretta wrote:
>>> But your idea about a stack keeping all the context informations is
>>> quite valuable, given that some validations need them (e.g. checking
>>> that all prefixes have been declared, and retrieving prefix/namespace
>>> associations).
>>
>> In any case it should be optional so that use cases that don't need
>> parent information can avoid the overhead.
>
> I absolutely agree on this.
>

In the case of ranges, front should be accessible, which means you have 
to cache it.

It should be optional in the sense that if you are not parsing using 
nested ranges, but straight SAX, then you don't need to save state.

-Steve


More information about the Digitalmars-d mailing list