Hi Stephano, thanks for your Bugzilla entry. Would you please add a test case stylesheet to demonstrate how you declare an external entity. I wonder if this is actually a bug or a usage issue.
The entity resolver is attached to the parser, so resolution happens at that level rather than at the XSLT level. By the time that the XML stream gets to the stylesheet, then all entities have already been resolved. I would expect that you would need to declare all necessary entities from the document type declaration of your XML instance document. regards, David Crossley > Date: 1 Oct 2001 10:55:06 -0000 > From: [EMAIL PROTECTED] > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3895 > > Catalogs don't work on XSLT stylesheets > > Summary: Catalogs don't work on XSLT stylesheets > Product: Cocoon 2 > Version: 2.0rc1 > Platform: All > OS/Version: Other > Status: NEW > Severity: Normal > Priority: Other > Component: core > AssignedTo: [EMAIL PROTECTED] > ReportedBy: [EMAIL PROTECTED] > > Since it's pretty common that users require entities such as or > equivalent when processing XML to get to XHTML, it would be > desirable to have > entitity discovery capabilities thru catalogs in all XML documents, stylesheets included. > > Probably is just a matter of modifying the TraxTransformer to include > the entity resolver but I don't have time to figure this out myself. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]