Not a command, it is a class. Derive from EntityResolver. Implement the
resolveentity method. Connect your resolver to the parser and you are
good to go. If your resolver doesn't provide an InputSource then the
parser will fallback to the default behavour. Validating a document that
doesn't have a doctype declaration against a DTD is not possible.

/ Erik

> -----Original Message-----
> From: Mathias Mueller [mailto:[EMAIL PROTECTED]
> Sent: den 13 november 2003 12:51
> To: [EMAIL PROTECTED]
> Subject: Use local DTD
> 
> Hello again,
> 
> The DTD is specified in the XML file. When using my own files I can
> influence the entry but not when using files of other people without
> editing it.
> Since I have the DTD saved local I had the idea of always using this
DTD.
> But I haven't found a command to fource Xerces to use my local DTD
instead
> of the one in the file. Besides its always possible that there is no
DTD
> given.
> 
> Is there a command in Xerces doing what I want, and if which is it?
> 
> Regards
> 
> Mathias
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to