W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > October 2011

Re: Support for integration with XML is broken

From: Ivan Herman <ivan@w3.org>
Date: Thu, 20 Oct 2011 12:30:48 +0200
Cc: Toby Inkster <tai@g5n.co.uk>, public-rdfa-wg@w3.org
Message-Id: <05DE77A4-0DFA-4126-9D1F-8BDC995CDF2B@w3.org>
To: ht@inf.ed.ac.uk (Henry S. Thompson)
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...


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:53 UTC