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 ?

  definitely, 

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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