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

Toby Inkster wrote:
> On Thu, 28 Oct 2010 11:54:29 +0100
> Nathan <nathan@webr3.org> wrote:
> 
>> 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."
> 
> I would expect the following to succeed (assuming an assert function is
> defined which takes an expression and throws an exception if the
> expression is false):
> 
> 	assert(object.toString() == object.value);
> 	assert(object.toString() == "Hello \n\tWorld.");
> 	assert(object.toString() != "Hello \\n\\tWorld.");
> 

ahh.. my take away from todays telecon was the inverse of what you just 
said.

Received on Thursday, 28 October 2010 18:05:20 UTC