cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Huib Verweij <>
Subject Cocoon 2.2, STX block, TraxTransformer, transformer-factory
Date Sun, 30 Jan 2011 11:59:11 GMT

I'd like to use the STX block in Cocoon 2.2, but it doesn't work, I get the same error as
mentioned here: ("stylesheet
requires attribute version").

I think the problem is in the TraxTransformer that no longer supports the "transformer-factory"
config option (the Cocoon 2.1.11 version does).In the stx block the stx transformer is declared
like this:

<map:transformer name="stx"

so it is using the "transformer-factory" config option. So what happens is, I think, the default
transformer factory for XSLT stylesheets is used, it generates a transformer, which is a XSLT
transformer, which checks for the version attribute on the <xsl:stylesheet/> element,
which does not exist in the STX stylesheet, and it generates the above error. Or something
like that.

So, do you have any tips on how to get this working again? 

Huib Verweij.

View raw message