Hi,

I am writing a program which receives messages from TCP port. The message is
a XML structure which is encapsulated in HTTP. The XML message looks like
this:

<?xml version="1.0" ?>
<!DOCTYPE rlp_svc_init>
<rlp_svc_init ver="1.0.0">
 <rlp_hdr ver="1.0.0">
  <locationserver>
   <id>461018768787</id>

...

My program will extract the xml part from the HTTP body and decode/process
it.

I have a local DTD file "rlp_svc_init_100.dtd", but it is not present in the
XML message. As the messages comes very fast, the performance requirement is
high - thant means we have to reduce the CPU consumption. So, what I want to
do is to prepare the parser (XercesDOMParser) with the load DTD in advance
and parse each message quickly.

Can anybody help on this.

Replies are appreciated!

Edmund

Reply via email to