[Home] [By Thread] [By Date] [Recent Entries]

  • From: Giuseppe Sarno <gsarno@n...>
  • To: 'Nicolas LEHUEN' <nicolas.lehuen@u...>,"'xml-dev@l...'" <xml-dev@l...>
  • Date: Wed, 05 Sep 2001 13:46:34 +0100

Title: load DTD in memory.
hi,
thanks for your answer,
but could you please tell me more on how to do it since the API doc doesn't explain it very well.
 
cheers.
-----Original Message-----
From: Nicolas LEHUEN [mailto:nicolas.lehuen@u...]
Sent: 05 September 2001 13:26
To: Sarno, Giuseppe [MAIFP:GM12:EXCH]; 'xml-dev@l...'
Subject: RE: load DTD in memory.

To cache DTDs the easiest thing to do with SAX is to implement your own EntityResolver. This way you'll be able to cache locally or in memory all entities, amongst them the DTDs.
 
Regards,
Nicolas
-----Message d'origine-----
De : Giuseppe Sarno [mailto:gsarno@n...]
Envoyé : mercredi 5 septembre 2001 13:56
À : xml-dev@l...
Objet : load DTD in memory.

Hi ,
I was wondering ,
in case is needed to parse a lot of XML docs , is it possible to
load the DTD or Schema one in memory and always reuse it instead of reloading it for each Doc validation ?
cheers.

--------------InterScan_NT_MIME_Boundary--

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member