|
|
@@ -29,7 +29,7 @@ |
|
|
|
<xmlvalidate warn="false"> |
|
|
|
<fileset dir="xml" includes="**/about.xml"/> |
|
|
|
<xmlcatalog classpath="xml"> |
|
|
|
<entity publicID = "bogusImage" |
|
|
|
<entity publicID = "bogusImage" |
|
|
|
location = "/i/dont/exist.jpg"/> |
|
|
|
<xmlcatalog> |
|
|
|
<dtd publicID="-//stevo//DTD doc 1.0//EN" |
|
|
@@ -39,4 +39,24 @@ |
|
|
|
</xmlvalidate> |
|
|
|
</target> |
|
|
|
|
|
|
|
<target name="testSchemaGood"> |
|
|
|
<xmlvalidate warn="false"> |
|
|
|
<fileset dir="xml" includes="endpiece.xml"/> |
|
|
|
<feature name="http://xml.org/sax/features/validation" value="true"/> |
|
|
|
<feature name="http://apache.org/xml/features/validation/schema" value="true"/> |
|
|
|
<xmlcatalog > |
|
|
|
<entity publicID = "nap:Massive+Attack+Mezzanine" |
|
|
|
location = "xml/doc.xsd"/> |
|
|
|
</xmlcatalog> |
|
|
|
</xmlvalidate> |
|
|
|
</target> |
|
|
|
|
|
|
|
<target name="testSchGemaBad"> |
|
|
|
<xmlvalidate warn="false"> |
|
|
|
<fileset dir="xml" includes="endpiece2.xml"/> |
|
|
|
<feature name="http://xml.org/sax/features/validation" value="true"/> |
|
|
|
<feature name="http://apache.org/xml/features/validation/schema" value="true"/> |
|
|
|
</xmlvalidate> |
|
|
|
</target> |
|
|
|
|
|
|
|
</project> |