Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in parsing XML

 
Siddharth Bhargava
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
I am getting an error in validating an xml file using the schema. Following is the code snippet.



The exception which is coming is :

The prefix "xsd" for element "xsd:schema" is not bound.


Thanks and Regards,
Sid
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
xmlns="http://www.w3.org/2001/XMLSchema"


Isnt that supposed to be:

xmlns:xsd="http://www.w3.org/2001/XMLSchema"



Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic