Meaningless Drivel is fun!*
The moose likes XML and Related Technologies and the fly likes xml validation failure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xml validation failure" Watch "xml validation failure" New topic
Author

xml validation failure

Satya Maheshwari
Ranch Hand

Joined: Jan 01, 2007
Posts: 368
I have the following XSD:

<?xml version="1.0" encoding="UTF-8"?>



And the following xml


If I try to validate the xml with the above xsd, I get this error:



Could you please help?


Thanks and Regards
Satya Maheshwari
Ranch Hand

Joined: Jan 01, 2007
Posts: 368
Found the problem. I did not have any element in the xsd. I corrected it to:

<?xml version="1.0" encoding="UTF-8"?>

 
jQuery in Action, 2nd edition
 
subject: xml validation failure
 
Similar Threads
jaxb binding rror confused
Question about xml schemas and the use of unqualified nested elements
XSD problem
xsd unique identity constraint (parent and child)
Against what schemas validate themselves?