ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BALARAJU Siva Prasad" <SBalar...@covansys.com>
Subject Reg XmlProperty and XmlValidate
Date Tue, 22 Apr 2003 03:49:35 GMT
Hi,

When i am using XmlProperty's validate="true",it is throwing the following exception.


[xmlproperty] Warning: validation was turned on but an org.xml.sax.ErrorHandler
was not
[xmlproperty] set, which is probably not what is desired.  Parser will use a def
ault
[xmlproperty] ErrorHandler to print the first 10 errors.  Please call
[xmlproperty] the 'setErrorHandler' method to fix this.
[xmlproperty] Error: URI=null Line=1: Document root element "MCOneProject", must
 match DOCTYPE root "null".
[xmlproperty] Error: URI=null Line=1: Document is invalid: no grammar found.

I am trying to validate with schema.

Any leads to proceed further ?

Thanks and Regards,
Siva.

Mime
View raw message