You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2012/03/09 03:30:47 UTC

DO NOT REPLY [Bug 35657] Add a "haltonerror" parameter to "xmlvalidate"

https://issues.apache.org/bugzilla/show_bug.cgi?id=35657

--- Comment #5 from Jevon <je...@jevon.org> 2012-03-09 02:30:47 UTC ---
This bug hit me when trying to execute <xmlvalidate> behind a web proxy. Even
though "lenient" is set to true, the task will still fail if the DTD (which is
ignored anyway, AFAIK) cannot be downloaded.

There are a number of workarounds when trying to use xmlvalidate behind a web
proxy:
1. Download the DTD locally and define as a <dtd> in the task
2. Use the -autoproxy option for Ant (which I couldn't get working with
Eclipse)
3. Use the <setproxy> task to manually set the proxy within Ant

See:
http://www.jevon.org/wiki/Disabling_DTD_validation_for_Ant_xmlvalidate_task_within_Eclipse

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.