Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jaxp Xml multiple Schemas validation

843834Jun 13 2002 — edited Jan 18 2006
I'm trying to parse and validate an xml document with multiple schema reference inside using Xerces implementation.

I set DocumentBuilderFactory properties:
"http://java.sun.com/xml/jaxp/properties/schemaLanguage"
"http://www.w3.org/2001/XMLSchema"
"http://java.sun.com/xml/jaxp/properties/schemaSource"

Now, I don't know how to set schemaSource property for more than one schema.
Must i set an array of schemaLocation? How can i bind namespace with schemas?

please help me.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2006
Added on Jun 13 2002
6 comments
1,402 views