From 57c40e724d7bf46e82437af79bde2e1129a58329 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Tue, 24 Feb 2004 14:27:51 +0000 Subject: [PATCH] Docs fixes for xmlvalidate.html PR: 27092 Obtained from: Jesse Glick git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276152 13f79535-47bb-0310-9956-ffa450edef68 --- WHATSNEW | 1 + docs/manual/OptionalTasks/xmlvalidate.html | 33 +++++++++++++--------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/WHATSNEW b/WHATSNEW index 1b39c2ec5..02a73c91d 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -55,6 +55,7 @@ Fixed bugs: Other changes: -------------- +* Docs fixes for xmlvalidate.html. Bugzilla Report 27092. Changes from Ant 1.6.0 to Ant 1.6.1 ============================================= diff --git a/docs/manual/OptionalTasks/xmlvalidate.html b/docs/manual/OptionalTasks/xmlvalidate.html index c6d64740f..3c1d95b9a 100644 --- a/docs/manual/OptionalTasks/xmlvalidate.html +++ b/docs/manual/OptionalTasks/xmlvalidate.html @@ -9,15 +9,18 @@

XMLValidate

Description

-

This task checks xml files are valid (or only well formed). The +

This task checks that XML files are valid (or only well formed). The task uses the SAX2 parser implementation provided by JAXP by default (probably the one that is used by Ant itself), but one can specify any SAX1/2 parser if needed.

This task supports the use of nested -

  • <xmlcatalog> elements -
  • <dtd> elements which are used to resolve DTDs and entities. -
  • <attribute> elements which are used to set features on the parser. These can be any number of http://xml.org/sax/features/ or other features that your parser may support. +
  • <xmlcatalog> elements
  • +
  • <dtd> elements which are used to resolve DTDs and entities
  • +
  • <attribute> elements which are used to set features on the parser. + These can be any number of + http://xml.org/sax/features/ + or other features that your parser may support.
  • Parameters

    @@ -35,8 +38,8 @@ SAX1/2 parser if needed.

    lenient - if true, only check the xml document is well formed - (ignored if the specified parser is as SAX1 parser) + if true, only check the XML document is well formed + (ignored if the specified parser is a SAX1 parser) No @@ -47,7 +50,7 @@ SAX1/2 parser if needed.

    classpathref - where to find the parser class. Optionally can use an embedded classpath element. + where to find the parser class. Optionally can use an embedded <classpath> element. No @@ -64,7 +67,9 @@ SAX1/2 parser if needed.

    Nested Elements

    dtd

    -<dtd> is used to specify different locations for DTD resolution. +

    +<dtd> is used to specify different locations for DTD resolution. +

    @@ -84,14 +89,14 @@ SAX1/2 parser if needed.

    Attribute

    xmlcatalog

    -

    The xmlcatalog -element is used to perform Entity resolution.

    +

    The <xmlcatalog> +element is used to perform entity resolution.

    attribute

    -

    The attribute element is used to set SAX Parser features. -There can an arbitrary amount of attribute set as defined here: - http://xml.org/sax/features/ +

    The <attribute> element is used to set SAX Parser features. +There can be any number of attributes set, as defined here: + http://xml.org/sax/features/ A feature essentialy changes the mode of the parser. -<attribute> an attribute is used to set specific features on the parser. +

    Attribute