ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: ant/docs/manual/OptionalTasks xmlvalidate.html
Date Fri, 11 Jun 2004 22:49:10 GMT
antoine     2004/06/11 15:49:10

  Modified:    docs/manual/OptionalTasks Tag: ANT_16_BRANCH
                        xmlvalidate.html
  Log:
  Merge from HEAD
  PR: 29187
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.10.2.5  +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.10.2.4
  retrieving revision 1.10.2.5
  diff -u -r1.10.2.4 -r1.10.2.5
  --- xmlvalidate.html	11 Jun 2004 15:30:33 -0000	1.10.2.4
  +++ xmlvalidate.html	11 Jun 2004 22:49:10 -0000	1.10.2.5
  @@ -25,6 +25,21 @@
     <li><tt>&lt;property&gt;</tt> elements, containing string properties
   </p>
   
  +<p><b>Warning</b> : JAXP creates by default a non namespace aware parser.
  +The <tt>"http://xml.org/sax/features/namespaces"</tt> feature is set
  +by default to <tt>false</tt> by the JAXP implementation used by ant. To validate
  +a document containing namespaces,
  +set the namespaces feature to <tt>true</tt> explicitly by nesting the following
element:
  +<pre>
  +  &lt;attribute name="http://xml.org/sax/features/namespaces" value="true"/&gt;
  +</pre>
  +If you are using for instance a <tt>xsi:noNamespaceSchemaLocation</tt> attribute
in your XML files,
  +you will need this namespace support feature.
  +</p>
  +<p>If you are using a parser not generated by JAXP, by using the <tt>classname</tt>
attribute of xmlvalidate, this warning
  +may not apply.</p>
  +
  +
   <h3>Parameters</h3>
   <table border="1" cellpadding="2" cellspacing="0">
     <tr>
  
  
  

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


Mime
View raw message