[FoRK] Open Link: Objects+piping (and better)+real loose coupling

Andy Armstrong andy
Mon Oct 3 06:33:38 PDT 2005

On 3 Oct 2005, at 13:57, Gavin Thomas Nicol wrote:
>> I wonder what could be done in the direction of a lazy DOM parser  
>> - something that stored the whole source text and only parsed the  
>> bits it needed to as nodes were requested.
> I wrote one once... the only hard thing is entity references. Even  
> then, I cannot understand why people keep stuff in XML/DOM when you  
> can just use object trees instead. It especially drives me nuts  
> when I see people writing an integer value into a DOM tree and then  
> constantly reparsing it to get the numeric value (common pattern in  
> configuration files etc.)

Kids today with their 'Moore's law will save me' attitude eh? :)

Andy Armstrong, hexten.net

More information about the FoRK mailing list