ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35269] New: - Upgrade from 1.6.2 to 1.6.5 causes xmlvalidate task with dtd element to fail
Date Wed, 08 Jun 2005 15:02:25 GMT
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=35269>.
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=35269

           Summary: Upgrade from 1.6.2 to 1.6.5 causes xmlvalidate task with
                    dtd element to fail
           Product: Ant
           Version: 1.6.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: ihunter@chaffee.com


After upgrading ant versions, our xmlvalidate tasks are failing when passed a
dtd sub element.  

Source:

<xmlvalidate lenient="yes" warn="yes" file="${web.dir}/WEB-INF/web.xml"> 
    <dtd publicId="-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
         location="http://java.sun.com/dtd/web-app_2_3.dtd"/>
</xmlvalidate>

Works fine in 1.6.2.  Error in 1.6.5:

BUILD FAILED
build.xml:146: java.lang.IllegalArgumentException: Can only handle valid file: URIs

Commenting out dtd element fixes problem, but is slow to get dtd (probably a
connection issue on my side).

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message