Re: [xml] Refactoring of the SAX interface for namespace support.
- From: Fabrice Desré <fabrice desre francetelecom com>
- To: veillard redhat com, xml gnome org
- Subject: Re: [xml] Refactoring of the SAX interface for namespace support.
- Date: Wed, 13 Aug 2003 11:03:26 +0200
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 ?
Fabrice
--
Fabrice Desré
France Télécom R&D/DTL/TAL
Tél: +(33) (0)2 96 05 31 43
Fax: +(33) (0)2 96 05 39 45
http://www.francetelecom.com/rd
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]