[Volute] r3606 - trunk/projects/dm/vo-dml

Volute commit messages volutecommits at g-vo.org
Wed Oct 26 18:05:18 CEST 2016


Author: gerard.lemson
Date: Thu Oct  6 21:34:41 2016
New Revision: 3606

Log:
added vo-dml-instance validator ant target

Modified:
   trunk/projects/dm/vo-dml/build.xml

Modified: trunk/projects/dm/vo-dml/build.xml
==============================================================================
--- trunk/projects/dm/vo-dml/build.xml	Thu Oct  6 21:32:46 2016	(r3605)
+++ trunk/projects/dm/vo-dml/build.xml	Thu Oct  6 21:34:41 2016	(r3606)
@@ -304,7 +304,18 @@
 		<delete file="${model}/validation.log" />	
 	</target>
 
+	<target name="validate_vo-dml-instance" >
+		<echo>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</echo>
+		<echo>Validating against schema, writing :</echo>
 
+		<schemavalidate file="${vo-dml-instance.file}" failonerror="false" >
+			<schema namespace="http://volute.g-vo.org/dm/vo-dml-instance/v0.x" file="./xsd/vo-dml-instance.xsd"/>
+    </schemavalidate>
+	</target>
+	
+	
+	
+	
 	<target name="validateVOTable" description="For testing an annotated VOTable file against the updated VOTable schema">
 		<schemavalidate file="${votable.file}" failonerror="false" >
 					<schema namespace="http://www.ivoa.net/xml/VOTable/v1.3_vodml" 


More information about the Volutecommits mailing list