Re: [xml] Refactoring of the SAX interface for namespace support.

On Wed, Aug 13, 2003 at 11:03:26AM +0200, Fabrice Desré wrote:
Daniel Veillard wrote:

Assuming no normalization or change is needed then the callback could then
operate directly from the memory buffer instead of neededing a string
allocation and duplication for each and every attribute value. A single
callback call per attribute or namespace but different:
    void attributeNs(const xmlChar *name, const xmlChar *value, int vlen,
                     const xmlChar *prefix, const xmlChar *URI);

Ok this makes sense to me.

Do you plan to also rewrite the tree builder on top of this API ?



Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]