jQuery in Action, 2nd edition*
The moose likes XML and Related Technologies and the fly likes Error while validating XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Error while validating XML" Watch "Error while validating XML" New topic
Author

Error while validating XML

Swordfish
Greenhorn

Joined: Jun 13, 2005
Posts: 4
Hi All,

I am trying to validate a XML against a XSD. I am using the sample code from web page.

Heres the updated code ...



When i run this program ... it gives me the following error ...

Feature not recognized: http: //xml.org/sax/features/validation

I am using Xerces Impl 2.6.2. I am kinda stuck here ...

Please let me know if anybody has came across this situation and if there is any solution for this ...

Thanks and regards,

Shailendra
Swordfish
Greenhorn

Joined: Jun 13, 2005
Posts: 4
Got it ... Guys ... whitespace issue ...

But i've managed to land into another issue now ... It says ...

Feature not recognized: http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation

at





Please suggest me something ...

Thanks and regards,

Shailendra
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error while validating XML