My favorites | Sign in
Project Home
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 19: Searching for suite.xml fails if DTD definiton contains to much spaces
1 person starred this issue and may be notified of changes. Back to list
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

Powered by Google Project Hosting