File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes XML not getting validated with schema... + strange... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "XML not getting validated with schema... + strange..." Watch "XML not getting validated with schema... + strange..." New topic
Author

XML not getting validated with schema... + strange...

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 744
Hi i have created one schema for an xml file.

and i am trying to validate it using the following method.



Bellow is my xml file



The XML file provided is a valid XML file according to schema...

and bellow is my schema



The strange this is that i have got one website which validate my xml file using schema

http://tools.decisionsoft.com/schemaValidate/

and the schema is getting validated

but though the method which i have written its giving me following message



Can anybody help me with this issue ?



Jigar Naik


 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: XML not getting validated with schema... + strange...
 
Similar Threads
Question using XSD with JAXB
Error on Axis 1,4 on invoking a web service
Returning complex datatypes in a Web Service response
parameters type
WSDL generation in Axis - item is referenced but not defined