Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Error while validating XML