Robert Sanderson wrote:
When I use the SAX interface, libxml2 ignores namespace definitions and
throws events like startElement('ns1:foo', {'xmlns:ns1' : 'bar'})
Is this expected? Is there a way to turn on namespace awareness in the SAX
interface?
Use SAX2 if you need namespace support : http://xmlsoft.org/html/libxml-SAX2.html#xmlSAX2EndElementNs 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