When I run
<?xml version="1.0" encoding="utf-8"?>
<records schema_revision="301_252" xmlns:xsi="xsi:noNamespaceSchemaLocation="sp.xsd">
<clients>
<firstname>Tho Quang</firstname>
<firstname>Thanh Van</firstname>
<lastname>Huynh</lastname>
<lastname>Nguyen</lastname>
</clients>
</records> in cmd. Its giving me the following error..
S:\IT Dept\CIS Administrator\xml_kit3>"C:\Program Files\Java\j2re1.4.2_08\bin\ja
va.exe" -cp .;.\jars\xercesImpl.jar;.\jars\xerces.jar;.\jars\xml-apis.jar;.\jars
\xmlParserAPIs.jar validator clients.xml
Exception in thread "main" org.xml.sax.SAXParseException: The content of element
s must consist of well-formed character data or markup.
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1139)
at validator.main(validator.java:35)
Plzzz.. Help me I'm very new to XML..
<?xml version="1.0" encoding="utf-8"?>
<records schema_revision="301_252" xmlns:xsi="xsi:noNamespaceSchemaLocation="sp.xsd">
<clients>
<firstname>Tho Quang</firstname>
<firstname>Thanh Van</firstname>
<lastname>Huynh</lastname>
<lastname>Nguyen</lastname>
</clients>
</records> in cmd. Its giving me the following error..
S:\IT Dept\CIS Administrator\xml_kit3>"C:\Program Files\Java\j2re1.4.2_08\bin\ja
va.exe" -cp .;.\jars\xercesImpl.jar;.\jars\xerces.jar;.\jars\xml-apis.jar;.\jars
\xmlParserAPIs.jar validator clients.xml
Exception in thread "main" org.xml.sax.SAXParseException: The content of element
s must consist of well-formed character data or markup.
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1139)
at validator.main(validator.java:35)
Plzzz.. Help me I'm very new to XML..