You could install an EntityResolver, and return a MemBufInputSource when
your external location is matched.

It's looking like I've got a case of when all you have is a hammer... ;)

Mark

-----Original Message-----
From: Matthew Berry [mailto:[EMAIL PROTECTED]
Sent: 30 July 2003 10:08
To: [email protected]
Subject: In Memory Schema


Hi,

I would like to perform SAX2 validation with an in memory schema. How is
this possible? At the moment I am manually setting the externalLocation to a
file, but I don't want to allow user to see the .xsd file (so that he can't
modify it)

Thanks
Matt


The information in this email and attachments is confidential and intended
for the attention and use of the named addressee(s). It must not be
disclosed, distributed, or copied to any other person without APT's written
consent. If you are not the named addressee(s), or a person responsible for
delivering it, you are hereby notified that any disclosure, copying,
distribution or taking any action in relation to the information is strictly
prohibited and may be unlawful.

Reply via email to