W3C home > Mailing lists > Public > public-rdf-wg@w3.org > December 2013

Re: RDF/XML Tests and new XMLLiteral tests

From: Gregg Kellogg <gregg@greggkellogg.net>
Date: Tue, 24 Dec 2013 07:31:36 -0800
Message-Id: <02CB7DDD-1FCF-4431-BEC0-BE7C81DBC465@greggkellogg.net>
Cc: RDF Working Group WG <public-rdf-wg@w3.org>
To: Eric Prud'hommeaux <eric@w3.org>
On Dec 24, 2013, at 12:11 AM, "Eric Prud'hommeaux" <eric@w3.org> wrote:
> On Dec 24, 2013 12:50 AM, "Gregg Kellogg" <gregg@greggkellogg.net> wrote:
> >
> > I moved over the 2004 RDF/XML tests [1] using the new manifest vocabulary, and added some extra XMLLiteral tests. The results are based on my implementation, and could be off compared to the new language for generating XMLLiterals, so I'd appreciate a second look.
> When we moved to the DOM serialize method, I looked hard at the definition to see how it differed from c14n. The definition for serialize relies on XQuery and XSLT semantics. Is there a mortal-facing definition or example algorithm which you used to see what those literals should look like?
No, I presumed that the results must effectively be compatible with 2004 spec using c14n. I know of no implementations available to me of the new XQuery and XSLT. Even if the results are off, these should be good test cases. I'm happy to tweet the results to suit the actual results,

IMO, and solution must preserve namespaces and language and not mess up included definitions. I presume that the definitions don't need to be minimal (I.e., only limited to those actually used in the fragment). This leaves expansion of self-closing elements, which is entirely speculative.

I'll look through the relevant specs further myself; perhaps they have their own test suite?

> > Of course, there's always room for more tests.
> >
> > Note that the tests reference a home directory of <http://www.w3.org/2013/RDFXMLTests/>, which must be set up. and a Wiki page <http://www.w3.org/2011/rdf-wg/wiki/RDFXML_Test_Suite> which has not yet been created.
> >
> > Gregg Kellogg
> > gregg@greggkellogg.net
> >
> > [1] https://dvcs.w3.org/hg/rdf/raw-file/default/rdf-xml/tests

Received on Tuesday, 24 December 2013 15:32:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:37 UTC