Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic