ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Aston" <>
Subject RE: xmlvalidate task and external catalogs
Date Tue, 06 Apr 2004 00:53:53 GMT

The error is simply "not available. Download it at".  That msg appears when using a -diagnotics
flag.  To be fair I am only assuming that this is related to the external
catalogs problem however I am sure I have also seen an error msg under -v
or -diagnostics along the lines of "apache resolver not found, using
internal" but I cannot replicate that msg at the mo.  I have tried changing
my "\" to "/" and that makes no obvious difference.



-----Original Message-----
From: Conelly, Luis (GNF, Contractor) []
Sent: 06 April 2004 01:35
To: Ant Users List
Subject: RE: xmlvalidate task and external catalogs

Which error you get? ClassNotFound or some stuff like that? Can you provide
more info?


PS. Not pretty sure, but line:


might work better if you change backslashes to slashes (\ to /) or use
double backslash (\\)


-----Original Message-----
From: Jeremy Aston []
Sent: Monday, April 05, 2004 7:32 PM
Subject: xmlvalidate task and external catalogs

Can anyone pls tell me how to get xmlvalidate (in 1.6) to see external
catalogs. I can see from the docs that for this to work v1.1 of xml-commons
resolver.jar must be on the classpath but I cannot get it working. I have
put a reference to the jar on my system environment classpath (win xp btw),
as a lib argument on the cmd line and as a classpath element inside the
xmlvalidate task. All to no avail... I've also copied the jar into ant/lib
as well for good measure! What am I doing wrong?
This is my build.xml complete with it's extra classpath stuff ;-)

<project name="contentproject" default="validate">
  <property name="src.dir" value="src/content/xml/sample"/>
  <xmlcatalog id="adl">
  <target name="validate" description="Validate structure files">
        <fileset dir="d:/java/xerces-2_6_2/">
          <include name="x*.jar"/>
        <fileset dir="d:/java/xml-commons-resolver-1.1/">
          <include name="*.jar"/>
      <attribute name=""
      <xmlcatalog refid="adl"/>

Brgds and tia

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message