You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mark Lundquist <ml...@wrinkledog.com> on 2004/01/04 02:39:00 UTC

Need help w/ entity catalog

Hello,

I have the following in a stylesheet:

<?xml version="1.0"?>

<!DOCTYPE xsl:stylesheet [
  <!ENTITY % ISOnum PUBLIC
    "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML"
    "ISOnum.pen">
  %ISOnum;
]>


Cocoon displays an error page reporting a Null Pointer Exception, but 
when I look at the error.log, I see FileNotFoundException being thrown 
when org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity tries 
to open "ISOnum.pen" in the directory containing the stylesheet!

I don't understand what I'm missing... the "catalog-demo" included in 
Cocoon (2.1.3) works just fine — in fact, the DTD above is identical to 
that in catalog-demo/style.xsl, but I don't see why it's working for 
the demo and not for me!

I'd be most grateful for any help!
~mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Need help w/ entity catalog

Posted by Mark Lundquist <ml...@wrinkledog.com>.
On Jan 3, 2004, at 5:39 PM, I wrote:

> <snip>
>
> I don't understand what I'm missing... the "catalog-demo" included in 
> Cocoon (2.1.3) works just fine — in fact, the DTD above is identical 
> to that in catalog-demo/style.xsl

My bad, I should have said "samples/catalog/style.xsl", in the webapp/ 
directory built by the cocoon distro...

thx,
~mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org