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] - Upgrade from 1.6.2 to 1.6.5 causes xmlvalidate task with dtd element to fail
Date Wed, 08 Jun 2005 18:46:46 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





------- Additional Comments From ihunter@chaffee.com  2005-06-08 20:46 -------
Thx for the reply, Matt.

Here tis:

xmlvalidate:
[xmlvalidate] Validating web.xml... 
resolveEntity: '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN':
'http://java.sun.com/dtd/web-app_2_3.dtd'
Apache resolver library not found, internal resolver will be used
Failed to load Apache resolver: java.lang.NoClassDefFoundError:
org/apache/xml/resolver/tools/CatalogResolver
Matching catalog entry found for publicId: '-//Sun Microsystems, Inc.//DTD Web
Application 2.3//EN' location: 'http://java.sun.com/dtd/web-app_2_3.dtd'

BUILD FAILED
/web/projects/build.xml:146: java.lang.IllegalArgumentException: Can only handle
valid file: URIs
        at org.apache.tools.ant.Task.perform(Task.java:373)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: java.lang.IllegalArgumentException: Can only handle valid file: URIs
        at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:111)
        at org.apache.tools.ant.util.FileUtils.fromURI(FileUtils.java:1261)
        at
org.apache.tools.ant.types.XMLCatalog.filesystemLookup(XMLCatalog.java:682)
        at org.apache.tools.ant.types.XMLCatalog.access$100(XMLCatalog.java:119)
        at
org.apache.tools.ant.types.XMLCatalog$InternalResolver.resolveEntity(XMLCatalog.java:830)
        at org.apache.tools.ant.types.XMLCatalog.resolveEntity(XMLCatalog.java:407)
        at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XMLValidateTask.java:458)
        at
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLValidateTask.java:277)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        ... 10 more
--- Nested Exception ---
java.lang.IllegalArgumentException: Can only handle valid file: URIs
        at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:111)
        at org.apache.tools.ant.util.FileUtils.fromURI(FileUtils.java:1261)
        at
org.apache.tools.ant.types.XMLCatalog.filesystemLookup(XMLCatalog.java:682)
        at org.apache.tools.ant.types.XMLCatalog.access$100(XMLCatalog.java:119)
        at
org.apache.tools.ant.types.XMLCatalog$InternalResolver.resolveEntity(XMLCatalog.java:830)
        at org.apache.tools.ant.types.XMLCatalog.resolveEntity(XMLCatalog.java:407)
        at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.doValidate(XMLValidateTask.java:458)
        at
org.apache.tools.ant.taskdefs.optional.XMLValidateTask.execute(XMLValidateTask.java:277)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)


-- 
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