ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From polymorphisme <webmas...@polymorphisme.org>
Subject Ant 1.8.2 schemavalidate and xmlcatalog
Date Sat, 19 May 2012 16:25:45 GMT
 I try to use the task schemavalidate with xmlcatalog like this :

<schemavalidate 
  classname="org.apache.xerces.parsers.SAXParser" 
  classpathref="${lib.dir}/xercesImpl-2.7.1.jar"		 	    	    				  
   disableDTD="false" fullchecking="true"				    	      
  file="${etc.dir}/xml-xsd-valid.xml">			  		  	
   <xmlcatalog refid="catalogs"/>  								 
</schemavalidate>

And Ant return :

test-schemavalidate:
     [java] running org.apache.xerces.impl.Version with default permissions
(exit forbidden)
     [java] Running in same VM Executing 'org.apache.xerces.impl.Version'
     [java] The ' characters around the executable and arguments are
     [java] not part of the command.
     [java] Xerces-J 2.7.1
     [echo] Test des valeurs par défault ...
     [echo] Lancement de la validation ...

BUILD FAILED
/home/user/projets/fopBook/build.lib.xml:301: The following error occurred
while executing this line:
/home/user/projets/fopBook/build.lib.xml:289: unsupported element xmlcatalog

Otherwise, at page http://ant.apache.org/manual/Tasks/schemavalidate.html,
we can read :
This task supports the use of nested
<xmlcatalog> elements

Finaly, I don't know is my error ! An idea ? Thanks.


--
View this message in context: http://ant.1045680.n5.nabble.com/Ant-1-8-2-schemavalidate-and-xmlcatalog-tp5712372.html
Sent from the Ant - Users mailing list archive at Nabble.com.

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


Mime
View raw message