W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > March 2008

Re: test case 0011

From: Ivan Herman <ivan@w3.org>
Date: Wed, 05 Mar 2008 10:32:16 +0100
Message-ID: <47CE68A0.1020301@w3.org>
To: Johannes Koch <koch@w3development.de>
CC: public-rdf-in-xhtml-tf@w3.org


Johannes Koch wrote:
> 
> Ivan Herman schrieb:
>> Regardless of my previous comments on implementability; if we indeed 
>> accept this (and, in my purist moments, I tend to agree with Johannes 
>> on that one)
> 
> :-)
> 
>> this may affect our test suite.
> 
> If you serialise a DOM document fragment in Java using either DOM3 or 
> JAXP transformations, the serialisation contains namespace declarations. 
> E.g. serialization via DOM3 (namespace-aware Apache Xerces and 
> serializer) results in
> 
> E = mc<sup xmlns="http://www.w3.org/1999/xhtml" 
> xmlns:xml="http://www.w3.org/XML/1998/namespace" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">2</sup>: The Most 
> Urgent Problem of Our Time
> 

Yep. Whereas what I would do, using my pedestrian (ie, namespace-less) 
XML library is to artificially modify the DOM tree that has to be put 
out as XMLLiteral by adding the namespace declaration manually on the 
top level elements only. Ie, the output would differ character-wise...

Ivan


-- 

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

Received on Wednesday, 5 March 2008 09:32:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:01:55 UTC