W3C home > Mailing lists > Public > public-wai-ert@w3.org > July 2007

Re: [HTTP-in-RDF] XMLContent and entity references

From: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Date: Tue, 17 Jul 2007 11:47:27 +0200
Message-ID: <469C902F.9000704@fit.fraunhofer.de>
To: public-wai-ert@w3.org

Shadi Abou-Zahra schrieb:
> 
> Hi Johannes,
> 
> Johannes Koch wrote:
>>
>> Shadi Abou-Zahra schrieb:
>>> Or the ampersands need to be escaped in the XMLContent, and unescaped 
>>> back when putting the pieces of the XML document together again. So 
>>> "&nbsp;" would be temporarily recorded as "&amp;nbsp;" within the 
>>> HTTP-in-RDF code, and tools will decoded back and forth as needed.
>>>
>>> What do you think of this approach?
>>
>> I don't think this is an XMLLiteral anymore.
> 
> I looked at the definition for XMLLiteral [1] but can't say if this 
> approach breaks any of the requirements or not. Why do you think it 
> isn't an XMLLiteral anymore?
> 
> [1] 
> <http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-rdf-XMLLiteral>

How do you distinguish between

   abc&nbsp;def

and

   abc&amp;nbsp;def

when creating the XMLLiteral? How should a generic RDF application 
behave when dealing with

   <http:xmlRest rdf:parseType="Literal">abc&amp;nbsp;def</http:xmlRest>

?
-- 
Johannes Koch
BIKA Web Compliance Center - Fraunhofer FIT
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628    Fax: +49-2241-142065
Received on Tuesday, 17 July 2007 09:47:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:28 GMT