Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 43500 invoked from network); 11 Jun 2004 22:47:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Jun 2004 22:47:28 -0000 Received: (qmail 29166 invoked by uid 500); 11 Jun 2004 22:47:44 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 29104 invoked by uid 500); 11 Jun 2004 22:47:43 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 29087 invoked by uid 500); 11 Jun 2004 22:47:43 -0000 Received: (qmail 29084 invoked by uid 99); 11 Jun 2004 22:47:43 -0000 Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Fri, 11 Jun 2004 15:47:43 -0700 Received: (qmail 43400 invoked by uid 1652); 11 Jun 2004 22:47:24 -0000 Date: 11 Jun 2004 22:47:24 -0000 Message-ID: <20040611224724.43399.qmail@minotaur.apache.org> From: antoine@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/docs/manual/OptionalTasks xmlvalidate.html X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N antoine 2004/06/11 15:47:23 Modified: docs/manual/OptionalTasks xmlvalidate.html Log: Try to explain why one needs to set the namespaces feature to true when validating documents PR: 29187 Revision Changes Path 1.14 +15 -0 ant/docs/manual/OptionalTasks/xmlvalidate.html Index: xmlvalidate.html =================================================================== RCS file: /home/cvs/ant/docs/manual/OptionalTasks/xmlvalidate.html,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- xmlvalidate.html 11 Jun 2004 15:29:27 -0000 1.13 +++ xmlvalidate.html 11 Jun 2004 22:47:23 -0000 1.14 @@ -24,6 +24,21 @@
  • <property> elements, containing string properties

    +

    Warning : JAXP creates by default a non namespace aware parser. +The "http://xml.org/sax/features/namespaces" feature is set +by default to false by the JAXP implementation used by ant. To validate +a document containing namespaces, +set the namespaces feature to true explicitly by nesting the following element: +

      +  <attribute name="http://xml.org/sax/features/namespaces" value="true"/>
      +
    +If you are using for instance a xsi:noNamespaceSchemaLocation attribute in your XML files, +you will need this namespace support feature. +

    +

    If you are using a parser not generated by JAXP, by using the classname attribute of xmlvalidate, this warning +may not apply.

    + +

    Parameters

    --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org