W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2011

Re: [shepherd] XML tests

From: Linss, Peter <peter.linss@hp.com>
Date: Thu, 13 Oct 2011 01:22:29 +0100
To: fantasai <fantasai.lists@inkedblade.net>
CC: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-ID: <40A20833-EB88-433C-93FA-56E4BB53B3ED@hp.com>
On Oct 12, 2011, at 1:55 PM, fantasai wrote:

> Some of our tests are not XHTML, so running validation on them doesn't make
> much sense. Generally these are the ones in the 'other-formats' folder.
> They should be considered tests, but we can't automatically process them
> the way we do other tests.
> 
> Ex: http://test.csswg.org/shepherd/testcase/background-18/
> 
> Not sure how to handle these, but the system shouldn't be marking them
> invalid for missing XHTML bits...

The system isn't trying to validate XML files as XHTML (it is validating the XML though). The error it's reporting is that it's not finding any metadata. 

Of course, for now, it's looking for the metadata inside an XHTML <head> element, which theoretically could be inside a generic XML file (just use the XHTML namespace for the <head> and its children). The system also has hooks to look for metadata inside a parallel XML file for those files that can't contain an XHTML <head>, but that's not quite connected yet. I've been debating the format for the parallel metadata files.

We also need to extend the metadata to be able to define multiple tests per file (for script tests like MQ).

Peter
Received on Thursday, 13 October 2011 00:24:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 October 2011 00:24:43 GMT