You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Frank Taffelt <fr...@interface-business.de> on 2002/09/19 12:17:08 UTC

Serializer and Xalan Bug

Hi,

it seems that the Xalan-Bug
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5779 doesn't affect
current cocoon codebase.

The current AbstractTextSerializer has a workarround for this which uses a
simple identity transform Stylesheet. This Solution seems to work fine for
the XML Serializer but doesn't work for TextSerializer which includes a XML
declaration for it's output. The current workarround seems to have strange
effect on all Serializer's that inherit from AbstractTextSerializer: setting
of serialization properties like "omit-xml-declaration" and all other
properties for TextSerializer is ignored.

I switched AbstractTextSerializer back to the version before this bug and it
seems that the default identity transformer handles namespaces in the right
way.Serializer properties like (omit-xml-declaration, encoding ...) now were
never ignored and working well for Text- and XMLSerializer's.

Best Regards,
Frank Taffelt


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


Re: Serializer and Xalan Bug

Posted by "Enke, Michael" <mi...@wincor-nixdorf.com>.
Frank Taffelt wrote:
> 
> Hi,
> 
> it seems that the Xalan-Bug
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5779 doesn't affect
> current cocoon codebase.
> 
> The current AbstractTextSerializer has a workarround for this which uses a
> simple identity transform Stylesheet. This Solution seems to work fine for
> the XML Serializer but doesn't work for TextSerializer which includes a XML
> declaration for it's output. The current workarround seems to have strange
> effect on all Serializer's that inherit from AbstractTextSerializer: setting
> of serialization properties like "omit-xml-declaration" and all other
> properties for TextSerializer is ignored.
> 
> I switched AbstractTextSerializer back to the version before this bug and it
> seems that the default identity transformer handles namespaces in the right
> way.Serializer properties like (omit-xml-declaration, encoding ...) now were
> never ignored and working well for Text- and XMLSerializer's.
> 
> Best Regards,
> Frank Taffelt


There is already a bug report for this:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11935

Michael

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