W3C home > Mailing lists > Public > www-dom-ts@w3.org > March 2002

Re: How should text be normalized for tests?

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Mon, 25 Mar 2002 11:18:29 -0500
To: "Fred L. Drake, Jr." <fdrake@acm.org>
Cc: "Michael B. Allen" <mballen@erols.com>, www-dom-ts@w3.org
Message-ID: <OF30EE7041.E7919A0F-ON85256B87.00594341@pok.ibm.com>

Agreed; from your description, it sounds like the problem isn't Expat, and
the answer is to plug in a smarter DOM-builder which either
buffers/accumulates contiguous text and normalizes during construction, or
which calls normalize() before handing the document off to the users (and
the testcase). The former is the traditional solution for SAX-driven DOM
builders.

______________________________________
Joe Kesselman  / IBM Research
Received on Monday, 25 March 2002 11:19:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:46 GMT