cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist <>
Subject Need help w/ entity resolution
Date Wed, 22 Feb 2006 20:47:14 GMT


I have this in some XSLT stylesheets:

	<!DOCTYPE html
   			 "-//W3C//ENTITIES Latin 1 for XHTML//EN"
  		<!ENTITY % HTMLspecial PUBLIC
     			"-//W3C//ENTITIES Special for XHTML//EN"

...and this works fine for stylesheets where the TraxTransformer source  
is hardcoded in the sitemap.  But I have one case where the stylesheet  
is served by a Cocoon pipeline like this:

	        <map:serialize type="xml" />

In this case Saxon throws a; it's looking  
for the referenced entities in the filesystem, relative to the parent  
directory of the stylesheet.  I tried saying this in the DTD:


...but Saxon didn't like that, it says "unknown protocol".

Any ideas how I can fix this?

I actually had this app working for a long time, but I either never  
noticed or had forgotten that I had been locating the entity like this:

...and this was only exposed when a network problem cropped up on our  
server.  I don't really want to be traipsing all over the net to get  
entities every time this stylesheet is parsed! :-/

Any help appreciated :-)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message