ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject xmlcatalog example for schema
Date Mon, 17 May 2004 15:32:31 GMT
Does anyone have a working example of using xmlcatalog with an xmlvalidate 

I have searched the ANT docs, and every xmlcatalog related bit of info I 
can find on the web, but I don't seem to be able to get xmlvalidate to 
accept my document.

I'm using Ant 1.6.1.  I'm trying to construct a target that generates an 
XML file, then uses xmlvalidate to make sure it is correctly generated. 
I'm starting with some known valid xml files trying to get the xmlvalidate 
to run without errors, but so far, I keep getting an error from the 
validation.  I am not getting any complaints about the xmlcatalog, so it 
is not obvious if it is specified correctly and not being used, or it is 
specified incorrectly, and hence, not matching as I expect it to.

Michael Giroux

I'm trying to use the following task:

<xmlvalidate failonerror="no" lenient="no" warn="yes"
<attribute name="" value="true"/>
<attribute name=""  value="true"/>
   <pathelement location="${basedir}/xmlcatalog.xml"/>

xmlcatalog.xml is:
<?xml version="1.0" encoding="UFT-8"?>
  <rewriteSystem systemIdStartString="" 

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

View raw message