Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

xml validation failure  RSS feed

 
Satya Maheshwari
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Satya Maheshwari
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found the problem. I did not have any element in the xsd. I corrected it to:

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

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!