Issue 19: Searching for suite.xml fails if DTD definiton contains to much spaces
Status:  New
Owner: ----
Reported by thorsten.kamann@gmail.com, Nov 20, 2007
If you define the DTD with to much spaces the FileSearchQuery fails.

This works:
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">


This doesn't:
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >

The patch I provided enables regex at the Filesearch and changes the search
string to:
<!.*DOCTYPE.*suite.*SYSTEM.*\"http://testng.org/testng-1.0.dtd\".*>

After this all suite.xml will be found.

Thorsten
 
patch-ParameterSolver.diff
1.2 KB   View   Download