You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by gi...@apache.org on 2018/03/08 07:21:25 UTC

ant git commit: Unclutter

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 <gi...@apache.org>
Authored: Thu Mar 8 08:21:30 2018 +0100
Committer: Gintas Grigelionis <gi...@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>
 &lt;xmlvalidate failonerror="no"&gt;
   &lt;fileset dir="${project.dir}" includes="**/*.xml"/&gt;
   &lt;xmlcatalog&gt;
-       &lt;dtd
-         publicId=&quot;-//ArielPartners//DTD XML Article V1.0//EN&quot;
+    &lt;dtd publicId=&quot;-//ArielPartners//DTD XML Article V1.0//EN&quot;
          location=&quot;com/arielpartners/knowledgebase/dtd/article.dtd&quot;/&gt;
   &lt;/xmlcatalog&gt;
 &lt;/xmlvalidate&gt;</pre>
@@ -220,14 +219,11 @@ automatically enabled, and makes it easy to add a list of schema files/URLs to a
 &lt;/path&gt;
 &lt;/pathconvert&gt;
 
-&lt;xmlvalidate file="xml/endpiece-noSchema.xml" lenient="false"
-  failonerror="true" warn="true"&gt;
-  &lt;attribute name="http://apache.org/xml/features/validation/schema"
-  value="true"/&gt;
+&lt;xmlvalidate file="xml/endpiece-noSchema.xml" lenient="false" failonerror="true" warn="true"&gt;
+  &lt;attribute name="http://apache.org/xml/features/validation/schema" value="true"/&gt;
   &lt;attribute name="http://xml.org/sax/features/namespaces" value="true"/&gt;
-  &lt;property
-  name="http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation"
-  value="${xsd.file}"/&gt;
+  &lt;property name="http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation"
+            value="${xsd.file}"/&gt;
 &lt;/xmlvalidate&gt;</pre>
 <p>Validate the file <samp>xml/endpiece-noSchema.xml</samp> against the
 schema <samp>xml/doc.xsd</samp>.</p>