wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Error in parsing XML " Watch "Error in parsing XML " New topic
Author

Error in parsing XML

Siddharth Bhargava
Ranch Hand

Joined: Feb 23, 2007
Posts: 257
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

Joined: Mar 22, 2000
Posts: 12753
    
    5
xmlns="http://www.w3.org/2001/XMLSchema"


Isnt that supposed to be:

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



Bill
 
Consider Paul's rocket mass heater.
 
subject: Error in parsing XML
 
Similar Threads
Axis2 - Transfer document using MTOM
XML not getting validated with schema... + strange...
validation question od XML schemas
problem with validating sax parser
Axis2 - Transfer document using MTOM