ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: ant/docs/manual/OptionalTasks xmlvalidate.html
Date Fri, 11 Jun 2004 22:47:24 GMT
antoine     2004/06/11 15:47:23

  Modified:    docs/manual/OptionalTasks xmlvalidate.html
  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 @@
     <li><tt>&lt;property&gt;</tt> elements, containing string properties
  +<p><b>Warning</b> : JAXP creates by default a non namespace aware parser.
  +The <tt>""</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
  +  &lt;attribute name="" value="true"/&gt;
  +If you are using for instance a <tt>xsi:noNamespaceSchemaLocation</tt> attribute
in your XML files,
  +you will need this namespace support feature.
  +<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>
   <table border="1" cellpadding="2" cellspacing="0">

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message