In your handler object, implement the callback resolveEntity(). Within the
routine, you can create a URLInputSource for the file that you want to use
as your DTD.
Steve Lozowski
Senior Software Engineer
Phone: (516) 918-4536
Fax: (516) 918-4650
EMail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
-----Original Message-----
From: Prior, Chris [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 4:56 AM
To: '[EMAIL PROTECTED]'
Subject: Explicitly setting a DTD...
Hi,
Does anyone know how I can tell the SAX2XMLReader to ignore (if present) the
dtd supplied in the XML doc and use a local dtd file?
Unless there is another way of doing it I don't want to setup an element
handler and trap a sequence of "personal.dtd" - as per the samples with
"LocalFileInputSource".
Please advise,
Thanks,
Chris
___________________________________________________
CAZENOVE & CO.
DISCLAIMER, PLEASE NOTE:
This communication is for the attention of the
named recipient only and should not be passed
on to any other person. Information relating to
any company or security, is for information
purposes only and should not be interpreted as
a solicitation or offer to buy or sell any security.
The information on which this communication is based
has been obtained from sources we believe to be reliable,
but we do not guarantee its accuracy or completeness.
All expressions of opinion are subject to change
without notice.
___________________________________________________
---------------------------------------------------------------------
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]