This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
 
Have you checked out Aspose?
 
subject: Error while validating XML
 
It's not a secret anymore!