DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14641>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14641

Prototypical <schemavalid> task that uses Xerces-J 2.2.1 to validate an XML 
file against it's Schema (XSD)





------- Additional Comments From [EMAIL PROTECTED]  2002-11-18 16:40 -------
Note that the XML document/file must declare the Schema-instance namespace, and 
specify the location of the Schema using either xsi:noNamespaceSchemaLocation 
or xsi:schemaLocation for the validation to actually take place (as shown 
below). I have no clue whether validation for can be forced to happen without 
these declarations... If anybody knows how to do that, please let me know. --DD

<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
      xsi:noNamespaceSchemaLocation="root.xsd"
      root-attributes... />

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to