• 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

Reading a schema

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am having parent.xsd, which includes anothe schema called child.xsd

I need to validate the parent.xsd with an xml...

The problem I am facing is... when I read parent.xsd, itz not including child.xsd... hence, when I try to validate... it says that not able to identify child.xsd...

Could anyone help me out?

Thanks,
Senthil
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Senthil,
I need to validate the parent.xsd with an xml...

There's some loose language (technically speaking, not gramatically) in the way you describe the problem, forgive me for saying that. First, you don't validate a schema (you could, but that not what you are trying to do, if I understand this correctly). You validate an XML file, that confirms to a schema document, called an XML Instance (of the schema document).

The problem I am facing is... when I read parent.xsd, itz not including child.xsd...

Here again I am lost, not sure what you mean by read the parent.xsd. Could you clarify that please.

- m
 
reply
    Bookmark Topic Watch Topic
  • New Topic