DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=27382>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27382 ant hangs if xmlproperty can not connect to dtd url [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [EMAIL PROTECTED] 2004-09-10 10:36 ------- DTDs are used for other things than validation, they can contain default values for attributes, so even if validation is turned off the xml processer will still need to look at the DTD. For example: widgets.xml <?xml version="1.0"?> <!DOCTYPE widgets PUBLIC "-//Widgets//EN" "widgets.dtd"> <widgets> <widget/> </widgets> widgets.dtd <!ELEMENT widgets (widget?)> <!ELEMENT widget (#PCDATA)> <!ATTLIST widget type CDATA "foobar"> and build.xml <target name="x"> <xmlproperty file="widgets.xml" collapseAttributes="yes"/> <echo>widgets.widget.type is ${widgets.widget.type}</echo> </target> outputs: x: [echo] widgets.widget.type is foobar The dependency with 27053 is correct, this change will allow the dtd to located locally, so I will mark this as fixed. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]