----- Original Message ----
From: David Carver <d_a_carver@xxxxxxxxx>
To: WTP Incubator Dev list <wtp-incubator-dev@xxxxxxxxxxx>
Sent: Friday, 11 April, 2008 6:50:18 PM
Subject: Re: [wtp-incubator-dev] XSL Core test plugin created
Doug,
I'm getting a lot of compilation errors with this.  It appears that the 
..classpath and .project files didn't get checked in with the source files.
Dave
DOUG SATCHWELL wrote:
> I've created a test plugin for XSL core with an initial test on the 
> validation.
>  
> I created an abstract class to help with the testing. It reads an XSL 
> file, runs the validation on it, and then parses the document looking 
> for comment nodes where the comment starts with ERROR or WARN. For 
> each comment node found, it determines whether the
 validation found a 
> corresponding error or warning at the given comment node parent's line 
> number. It also checks to make sure that no unexpected errors/warnings 
> are found (ones that don't have comment nodes).
>  
> It means you can write tests just by creating a stylesheet and then 
> putting comments next to elements where you expect and error to occur.
>  
> Doug.
> ------------------------------------------------------------------------
>
> _______________________________________________
> wtp-incubator-dev mailing list
> 
wtp-incubator-dev@xxxxxxxxxxx> 
https://dev.eclipse.org/mailman/listinfo/wtp-incubator-dev> 
 
_______________________________________________
wtp-incubator-dev mailing list
wtp-incubator-dev@xxxxxxxxxxxhttps://dev.eclipse.org/mailman/listinfo/wtp-incubator-dev