ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35657] Add a "haltonerror" parameter to "xmlvalidate"
Date Fri, 09 Mar 2012 02:30:47 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=35657

--- Comment #5 from Jevon <jevon@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.

Mime
View raw message