• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Validate XML against XSD

 
Ranch Hand
Posts: 1252
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I was trying to validate a XML document against XSD.

Everything is fine if that XSD is a very simple XSD. But if my XSD includes some other XSD's also as mentioned below as an example this program is not functioning.

<xs:include schemaLocation="ABC.xsd"



I am also attaching code which I used to validate.



Could anyone let me know, if I need to use something else to validate XML against complex XSD's. Any insight would be appreciated.>
 
reply
    Bookmark Topic Watch Topic
  • New Topic