Lists Home |
Date Index |
On Mon, Nov 22, 2004 at 01:09:06PM -0800, Derek Denny-Brown wrote:
> Most of the CPU cost of parsing is related to the abstract model
> of XML, not the text parsing: Duplicate attribute detection,
> character checking, namespace resolution/checking. Every binary-xml
> implementation I have researched which improves CPU utilization does
> so by skipping checks such as these. At that point you are no longer
> talking about XML.
One can do validation in the writer and then plausibly skip the sort of
checks you mention in a reader, and still be talking about XML, even
with today's textual interchange formats.
> I have yet to hear of any proposed solution which successfully
> balances the different demands. I'm not sure it is possible, without
> creating a homunculus.
Neither am I, which is why W3C has a Working Group to investiate whether
it might be possible, rather than a WG to implement a homunculus :-)
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/