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

Re: additional test needed

From: Ivan Herman <ivan@w3.org>
Date: Mon, 03 Mar 2008 15:01:28 +0100
Message-ID: <47CC04B8.3060006@w3.org>
To: Shane McCarron <shane@aptest.com>
CC: "public-rdf-in-xhtml-tf.w3.org" <public-rdf-in-xhtml-tf@w3.org>
Shane (et al)

I have attached 3 additional tests along the line of what Shane says. 
They are all variants of #11:

- 1.xhtml: specified an explicit xml:XMLLiteral datatype (the result 
should be the same as #11)

- 2.xhml: changing 1.xhtml and using a different namespace (example.org) 
instead of the rdf one for the XMLLiteral, result should be a plain literal

- 3.xhtml: the same as 1.xhtml, but using an unusual prefix (instead of 
'rdf'). Th result should be the same as 1.xhtml.

And... the first test did catch a bug in my implementation!:-) Ie, the 
test _does_ make sense:-)


Shane McCarron wrote:
> I actually didn't realize test 11 exercised the funcitonality un til 
> Manu pointed it out (privately).  However, yes - since there is explicit 
> text about dealing with XMLLiteral as a specified datatype, I think a 
> copy of test 11 that did that might be good.  Might I suggest that 
> instead of using the prefix "rdf" we use something else?  That way if an 
> implementation mistakenly is testing for the literal "rdf:XMLLiteral" it 
> would fail the test.
> Ivan Herman wrote:
>> I am not sure what you want to test. We do have test #11 to see if the 
>> generated literal is indeed xml literal.
>> Maybe the only additional variant of this test could be when the 
>> datatype is explicitly set to XMLLiteral (instead of relying on the 
>> @datatype="" and the recognition that the children do indeed include 
>> xml tags, which is test #11). Ie, Test #11 seems to be *more* than the 
>> basic XML Literal generation.
>> Shane, is this what you were referring to, or was there more that you 
>> thought of?
>> Ivan
>> Shane McCarron wrote:
>>> Looking through the current tests I dont see any that exercise the 
>>> RDF datatype XMLLiteral - we probably need some?


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 Monday, 3 March 2008 14:01:39 UTC

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