You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Ko...@ubsw.com on 2000/06/21 16:01:43 UTC

problem finding external entities via HTTP

I'm having a problem parsing external entity references in some xml 
files that I am rendering using Cocoon - I suspect that this is more of 
a Xerces issue than a Cocoon one.

The problem arises when I have entity references that use HTTP URLs. 
Normal static URLs are fine, but I need to retrieve some entities using 
a servlet that I have written which connects to a document managment 
system, and this fails. In short, the following entity references using 
my servlet fails:

<!ENTITY E18467 SYSTEM 
"http://myserver/dm-demo/servlet/dmserve?dmdoc=0900270f800430&docDesc=id
">

but the following reference where the required file is located on my 
webserver's filesystem is fine:

<!ENTITY E18467 SYSTEM "http://myserver/dm-demo/entity-file>

The error reported by Cocoon is

Is this a bug, or am I just doing something stupid?! I'm really stuck 
on this one, so any help is much appreciated!

Cheers,

Kosh


This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.