Repository: ant Updated Branches: refs/heads/master 97d81a726 -> 8634424bc
Unclutter Project: http://git-wip-us.apache.org/repos/asf/ant/repo Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/8634424b Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/8634424b Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/8634424b Branch: refs/heads/master Commit: 8634424bc9cd71568cfeef15f2b8b9965c04ef68 Parents: 97d81a7 Author: Gintas Grigelionis <gin...@apache.org> Authored: Thu Mar 8 08:21:30 2018 +0100 Committer: Gintas Grigelionis <gin...@apache.org> Committed: Thu Mar 8 08:21:30 2018 +0100 ---------------------------------------------------------------------- manual/Tasks/xmlvalidate.html | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ant/blob/8634424b/manual/Tasks/xmlvalidate.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/xmlvalidate.html b/manual/Tasks/xmlvalidate.html index fe3572b..9a74c59 100644 --- a/manual/Tasks/xmlvalidate.html +++ b/manual/Tasks/xmlvalidate.html @@ -192,8 +192,7 @@ error, rather than halt the build.</p> <xmlvalidate failonerror="no"> <fileset dir="${project.dir}" includes="**/*.xml"/> <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"/> </xmlcatalog> </xmlvalidate></pre> @@ -220,14 +219,11 @@ automatically enabled, and makes it easy to add a list of schema files/URLs to a </path> </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"/> - <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> <p>Validate the file <samp>xml/endpiece-noSchema.xml</samp> against the schema <samp>xml/doc.xsd</samp>.</p>