If you are getting a NullPointerException, try do the setSystemId() call of
the return InputSource object from the resolveEntity() function.
Use this code to find out where the excpetion comes from.
catch(SAXException e)
{
Exception wrappedException = e.getException();
if (wrappedException != null)
wrappedException.printStackTrace();
}
Hope this help.
Benson.
-----Original Message-----
From: abhishekhp [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 11, 2001 4:02 AM
To: [EMAIL PROTECTED]
Subject: Entity Resolver doubt
Hi,
When i have an xml document that is validated against a simple schems
(this schema does not "include" any other schema), then the parser
validates the xml against the schema specified in the Entity Resolver.
However, when the xml is to be validated against a schema that "include"
another schema, then it gives an exception, when the schema is specified
in the Entity Resolver. Can anybody suggest a way in which this can be
made to work?
TIA,
abhishek.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]