Re: ISSUE-58: PlainLiteral and TypedLiteral value for strings [RDFa 1.1 API]

Toby Inkster wrote:
> On Thu, 28 Oct 2010 01:42:50 +0000
> RDFa Working Group Issue Tracker <sysbot+tracker@w3.org> wrote:
> 
>> If somebody implements an N-Triples parser, then the value of Plain
>> Literals will be ascii safe
> 
> That's not true. The following RDFa and N-Triples should each result in
> the same triple, with an object consisting of a single non-ASCII
> character:
> 
> 	<div about="#nbsp"
> 	     property="http://example.com/lit"
> 	     >&#xA0;</div>
> 
> 	<#nbsp> <http://example.com/lit> "\u00A0" .
> 

Apologies Toby, I was referring to the lexical form in the 
serialization, not the true value.

Primarily, if we have the following triple:

   <#nbsp> <http://example.com/lit> "Hello \n\tWorld." .

Do we expect the related call to object.toString() and/or object.value 
to return

"Hello \n\tWorld."

or

"Hello
	World."

Best,

Nathan

Received on Thursday, 28 October 2010 10:55:33 UTC