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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to