| @@ -192,8 +192,7 @@ error, rather than halt the build.</p> | |||||
| <xmlvalidate failonerror="no"> | <xmlvalidate failonerror="no"> | ||||
| <fileset dir="${project.dir}" includes="**/*.xml"/> | <fileset dir="${project.dir}" includes="**/*.xml"/> | ||||
| <xmlcatalog> | <xmlcatalog> | ||||
| <dtd | |||||
| publicId="-//ArielPartners//DTD XML Article V1.0//EN" | |||||
| <dtd publicId="-//ArielPartners//DTD XML Article V1.0//EN" | |||||
| location="com/arielpartners/knowledgebase/dtd/article.dtd"/> | location="com/arielpartners/knowledgebase/dtd/article.dtd"/> | ||||
| </xmlcatalog> | </xmlcatalog> | ||||
| </xmlvalidate></pre> | </xmlvalidate></pre> | ||||
| @@ -220,14 +219,11 @@ automatically enabled, and makes it easy to add a list of schema files/URLs to a | |||||
| </path> | </path> | ||||
| </pathconvert> | </pathconvert> | ||||
| <xmlvalidate file="xml/endpiece-noSchema.xml" lenient="false" | |||||
| failonerror="true" warn="true"> | |||||
| <attribute name="http://apache.org/xml/features/validation/schema" | |||||
| value="true"/> | |||||
| <xmlvalidate file="xml/endpiece-noSchema.xml" lenient="false" failonerror="true" warn="true"> | |||||
| <attribute name="http://apache.org/xml/features/validation/schema" value="true"/> | |||||
| <attribute name="http://xml.org/sax/features/namespaces" value="true"/> | <attribute name="http://xml.org/sax/features/namespaces" value="true"/> | ||||
| <property | |||||
| name="http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation" | |||||
| value="${xsd.file}"/> | |||||
| <property name="http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation" | |||||
| value="${xsd.file}"/> | |||||
| </xmlvalidate></pre> | </xmlvalidate></pre> | ||||
| <p>Validate the file <samp>xml/endpiece-noSchema.xml</samp> against the | <p>Validate the file <samp>xml/endpiece-noSchema.xml</samp> against the | ||||
| schema <samp>xml/doc.xsd</samp>.</p> | schema <samp>xml/doc.xsd</samp>.</p> | ||||