aspose file tools*
The moose likes XML and Related Technologies and the fly likes Reading a schema Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Reading a schema" Watch "Reading a schema" New topic
Author

Reading a schema

Senthil kumar
Greenhorn

Joined: Mar 23, 2005
Posts: 2
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
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
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


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading a schema
 
Similar Threads
XML Schemas
Doubt in xsd
Reading a schema
Any good WSDL Validators ?
JaxB : Using Same Package For Two XSDs