Re: 1.1SE Test conversion XSL and Script

Hi SVG WG,

This is an update on ACTION-2385.

I've made some minor fixes to the XSLT so that the correct output is produced. 
The only thing left to do is make sure that CDATA blocks are written out for 
style sheets and script elements.

Additionally, I've committed to the archive a perl script[1] that checks for an
author in the comments of the old test files and if present adds an attribute to 
the SVGTestCase element so that is becomes part of the new test when the XSLT is 
applied. The script then runs the XSLT over the tests in the svg directory. The 
script will skip over any tests already using the new template.

Currently the script points to an svg directory I was using for testing.

If you have any comments or feedback on either the XSLT or the script please let 
me know.

Thanks,

Anthony

[1] http://dev.w3.org/SVG/profiles/1.1F2/test/script/f11_1st_2_f11_2nd.pl

Anthony Grasso wrote:
> Hi SVG WG,
> 
> I was given ACTION-2385 to make an XSLT to change the template of the 
> 1.1 tests to the new template[1].
> 
> I've committed to CVS an initial version of the XSLT to test conversions 
> [2].
> 
> The script has been tested on a number of files and seems to work ok. 
> Points to note:
>  - Everyone will need to update their checkout to get the new 'script' 
> directory and its contents.
> 
>  - I need to make a Pearl/Python script to do some ticks on the tests 
> and then run a batch job that applies the XSLT over the tests.
> 
>  - There are some manual fixes involved after the tests are converted 
> (i.e. insert CDATA blocks back into the tests that have script).
> 
>  - I've made some minor adjustments to the template. If we can review 
> the updated version soonish that would be good.
> 
> 
> Any questions or comments please let me know.
> 
> Thanks,
> 
> Anthony
> 
> 
> [1] http://dev.w3.org/SVG/profiles/1.1F2/test/templates/template11-f.svg
> [2] http://dev.w3.org/SVG/profiles/1.1F2/test/script/f11_1st_2_f11_2nd.xsl
> 

Received on Friday, 12 June 2009 10:52:00 UTC