This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Error in parsing XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Error in parsing XML " Watch "Error in parsing XML " New topic

Error in parsing XML

Siddharth Bhargava
Ranch Hand

Joined: Feb 23, 2007
Posts: 266
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,
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12769

Isnt that supposed to be:


It is sorta covered in the JavaRanch Style Guide.
subject: Error in parsing XML