Re: Support for integration with XML is broken

The default xml parser coming with Python (minidom) does not implement namespace management in its full beauty, afaik. To have that, and the relevant DOM API calls, would require using some external XML libraries. The problem with that is that such libraries, though exist, are not keeping up with the latest Python releases, because the other libraries are not fully DOM based. (I do not know them really well, so it would require some extra digging to find out the details; I use the minidom with a minimal DOM API.)

Ie: it would not be impossible to redo my implementation with full glory namespace support but yes, it would require some extra and non negligible work...

Ivan



On Oct 20, 2011, at 12:14 , Henry S. Thompson wrote:

> Shane McCarron writes:
> 
>> I agree that we discussed this.  What I remember is that people
>> didn't want to have to have their parsers support namespaced
>> attributes because it would mean a lot more work.  Manu?
> 
> That is a . . . surprising argument.  What XML parser are you aware of
> that doesn't already support namespaced attributes?
> 
> ht
> -- 
>       Henry S. Thompson, School of Informatics, University of Edinburgh
>      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
>                Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk
>                       URL: http://www.ltg.ed.ac.uk/~ht/
> [mail from me _always_ has a .sig like this -- mail without it is forged spam]
> 


----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Thursday, 20 October 2011 10:29:13 UTC