cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19619] - swf block samples, problem with page2swf.xsl
Date Mon, 05 May 2003 08:25:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19619>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19619

swf block samples, problem with page2swf.xsl





------- Additional Comments From bdelacretaz@codeconsult.ch  2003-05-05 08:25 -------
The main problem was 

<Glyph char="{"

in the file, where the attribute value is not correct, should be 

<Glyph char="{{"

And the same for }. As these chars have special meaning for XSLT they must be
escaped in (most) attribute values.

The first version was apparently wrongly accepted by older versions of Xalan
(and XSLTC?).

I have fixed this in CVS, after which the XSLT transform succeeds.

There are still encoding problems for the char attribute value in the SWF font
element though, I had to comment out several duplicate entries for character
"question mark".

FYI the original file was checked in by Torsten Curdt, see
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=102745309900343&w=2. 

Currently the SWF sample works but the font definition in page2swf.xsl is
incomplete, would not work for the whole character set.

I'm leaving the bug open in case someone wants to dig further, and I have added
a comment in page2swf.xsl about this problem.

Mime
View raw message