DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8088>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8088 XmlValidate doesnt resolve DTDs properly in a multi-directory build Summary: XmlValidate doesnt resolve DTDs properly in a multi- directory build Product: Ant Version: 1.5 alpha (nightly) Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have checked this stuff in, so you can test it yourselves. Validate a file using the validate.xml build file in optional\xml and the non standard url schema is handled propertly, mapping to the system ID passed in. but call it from a parent build file in a different directory (optional\xmlvalidate.xml), or even from Ant triggered junit tests, and this mapping fails... we get [xmlvalidate] Could not resolve ( publicId: -//stevo//DTD doc 1.0//EN, systemId: file:C:/Java/Apps/jakarta- ant/src/etc/testcases/taskdefs/optional/xml/nap:chemical+brothers) to a local entity [xmlvalidate] C:/Java/Apps/jakarta- ant/src/etc/testcases/taskdefs/optional/xml/about.xml:5: External entity not found: "file:C:/Java/Apps/jakarta- ant/src/etc/testcases/taskdefs/optional/xml/nap:chemical+brothers". The effective result is that you cannot use XmlValidate in a complex project. ...to fix this I'd be in favour of going to XmlCatalog in <xmlvalidate> then see if the problem still exists. Given that the xslt tests seem to work, I think it 'goes away. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
