cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Baptiste Quenot (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COCOON-1704) Error Message brokenness when SAXON is used as the XSLT transformer.
Date Wed, 25 Jan 2006 16:45:10 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1704?page=all ]
     
Jean-Baptiste Quenot closed COCOON-1704:
----------------------------------------

    Fix Version: 2.2-dev (Current SVN)
                 2.1.9-dev (current SVN)
     Resolution: Fixed

Committed, thanks!

> Error Message brokenness when SAXON is used as the XSLT transformer.
> --------------------------------------------------------------------
>
>          Key: COCOON-1704
>          URL: http://issues.apache.org/jira/browse/COCOON-1704
>      Project: Cocoon
>         Type: Bug
>   Components: * Cocoon Core
>     Versions: 2.1.8
>     Reporter: Pier Fumagalli
>     Assignee: Jean-Baptiste Quenot
>      Fix For: 2.2-dev (Current SVN), 2.1.9-dev (current SVN)
>  Attachments: patch.txt
>
> SAXON 8.x always fails with a message "Running an XSLT 1.0 stylesheet with an XSLT 2.0
processor" no matter what error it encounters.
> This is because it emits this as a warning to its configured ErrorHandler, and o.a.c.c.xslt.TraxErrorListener
is configured to handler XALAN's brokenness, and caches warnings.
> Also, the o.a.c.c.xslt.TraxProcessor class does not allow to set generic "attributes"
in the wrapped SAXTransformerFactory class, so, this can't be solved with configurations.
> And the only way I found to have SAXON to ignore those warnings is by setting the "http://saxon.sf.net/feature/version-warning"
attribute to false.
> This simple patch makes this behavior mandatory when using SAXON, so that error messages
work back again no problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message