xmlvalidate error
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   raga_sudha
Posted On:   Tuesday, November 8, 2005 07:15 AM

Hi, i have a xml file named name.xml <?xml version="1.0" encoding="UTF-8"?> Steven i created a target to validate this xml classname="org.apache.xerces.parsers.SAXParser"> classpath="lib/xerces.jar"> iam getting an error Buildfile: build.xml config_xml: [xmlvalidate] /D:/R5antEnc/R5/DEV/provisionerALL/name.xml:3:7: cvc-elt.1: Cannot find the declaration of element 'name'. BUILD FAILED D:R5antEncR5DEVprovisionerALLa.xml:2: D:R5antEncR5DEVprovisionerALL am e.xml is not a valid XML document. Total time: 1 second i tried   More>>

Hi,
i have a xml file named name.xml
<?xml version="1.0" encoding="UTF-8"?>

Steven


i created a target to validate this xml



classname="org.apache.xerces.parsers.SAXParser">
classpath="lib/xerces.jar">



iam getting an error
Buildfile: build.xml

config_xml:
[xmlvalidate] /D:/R5antEnc/R5/DEV/provisionerALL/name.xml:3:7: cvc-elt.1: Cannot
find the declaration of element 'name'.

BUILD FAILED
D:R5antEncR5DEVprovisionerALLa.xml:2: D:R5antEncR5DEVprovisionerALL
am
e.xml is not a valid XML document.

Total time: 1 second

i tried with several xml's.iam getting the same error for all xml's.
Pls help me out.
thanks in advance

   <<Less
About | Sitemap | Contact