You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Torsten Curdt <tc...@dff.st> on 2002/07/23 21:51:36 UTC

SWF generator and serializer

I moved the SWF generator and serializer from the forgotten realm 
(=scratchpad;-) into the main trunk and added a hello world example so 
everyone can have a try more easily.

Unfortunately spark is still very(!) fragile and needs some work to make it a 
useful tool. (Everyone is welcome to help ;-) but currently development has 
staled. I'll try to invest some time to get some well known bugs fixed in 
some free minutes.

...but who knows when there will be some ;-)
--
Torsten

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


Re: SWF generator and serializer

Posted by Torsten Curdt <tc...@dff.st>.
On Thursday 25 July 2002 09:47, Denis wrote:
> Torsten,
>
> I got some trouble in getting the latest cvs files (just moved from wincvs
> to eclipse team stuff) downloaded this morning.
> Config:
> W2000 sp2
> Java 1.4.1beta (from sun)
> Tomcat 4.1.7-LE
>
> I finally got the link to the hello.swf but now I just get an empty flash
> (tested on IE 6.0, Mozilla 1.0, Opera 6.04 to avoid any possible bug from
> plugins implementation as for PDF files &IE).
>
> From the error.log file I have the following:
>
> java.lang.IllegalArgumentException: Encoding for '?' already present.

Hm... looks like he doesn't like the embedded font on your system...
or better - with your plugin. works just fine here under linux.

I need to track this down... you could t ry to remove the embedded font in the 
stylesheet (shouldn't be needed anyway - but I had to included due to a bug)

thanks
--
Torsten

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


Re: SWF generator and serializer

Posted by Denis <de...@aic-info.com>.
Torsten,

I got some trouble in getting the latest cvs files (just moved from wincvs
to eclipse team stuff) downloaded this morning.
Config:
W2000 sp2
Java 1.4.1beta (from sun)
Tomcat 4.1.7-LE

I finally got the link to the hello.swf but now I just get an empty flash
(tested on IE 6.0, Mozilla 1.0, Opera 6.04 to avoid any possible bug from
plugins implementation as for PDF files &IE).

>From the error.log file I have the following:

java.lang.IllegalArgumentException: Encoding for '?' already present.
 at de.tivano.flash.swf.common.SWFFont$Glyph.setCharacter(SWFFont.java:126)
 at de.tivano.flash.swf.common.SWFFont.addGlyph(SWFFont.java:367)
 at
de.tivano.flash.swf.publisher.XMLFontHandler.notify(XMLFontHandler.java:77)
 at
de.tivano.flash.swf.publisher.XMLHandlerBase.endElementInternal(XMLHandlerBa
se.java:89)
 at de.tivano.flash.swf.publisher.SWFWriter.endElement(SWFWriter.java:240)
 at
org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147)
 at
org.apache.cocoon.components.sax.XMLTeePipe.endElement(XMLTeePipe.java:124)
 at
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.
java:307)
 at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
684)
 at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApp
lyTemplates.java:423)
 at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:226)
 at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2182)
 at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer
Impl.java:2008)
 at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1171)
 at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3135)
 at java.lang.Thread.run(Thread.java:536)

Regards,

Denis

----- Original Message -----
From: "Torsten Curdt" <tc...@dff.st>
To: <co...@xml.apache.org>
Sent: Wednesday, July 24, 2002 11:27 AM
Subject: Re: SWF generator and serializer


On Wednesday 24 July 2002 10:29, Denis wrote:
> Hi,
>
> I just got the latest CVS version of cocoon 2.1-dev and I'm looking for
> those
> new SWF generator/serializer but I did not found the examples.
> The classes are there but no examples ...

hm... have had you had a look at the hello world examples?

> PS: iText serailizer works fine and seems to be faster than FOP ... I'm
> just wonderring
> how flexible it is comparted to FOP...

I was told: very flexible - see their website for more details..

cheers
--
Torsten

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



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


Re: SWF generator and serializer

Posted by Torsten Curdt <tc...@dff.st>.
On Wednesday 24 July 2002 10:29, Denis wrote:
> Hi,
>
> I just got the latest CVS version of cocoon 2.1-dev and I'm looking for
> those
> new SWF generator/serializer but I did not found the examples.
> The classes are there but no examples ...

hm... have had you had a look at the hello world examples?

> PS: iText serailizer works fine and seems to be faster than FOP ... I'm
> just wonderring
> how flexible it is comparted to FOP...

I was told: very flexible - see their website for more details..

cheers
--
Torsten

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


Re: SWF generator and serializer

Posted by Denis <de...@aic-info.com>.
Hi,

I just got the latest CVS version of cocoon 2.1-dev and I'm looking for
those
new SWF generator/serializer but I did not found the examples.
The classes are there but no examples ...

Denis

PS: iText serailizer works fine and seems to be faster than FOP ... I'm just
wonderring
how flexible it is comparted to FOP...

----- Original Message -----
From: "Torsten Curdt" <tc...@dff.st>
To: <co...@xml.apache.org>
Sent: Tuesday, July 23, 2002 9:51 PM
Subject: SWF generator and serializer


I moved the SWF generator and serializer from the forgotten realm
(=scratchpad;-) into the main trunk and added a hello world example so
everyone can have a try more easily.

Unfortunately spark is still very(!) fragile and needs some work to make it
a
useful tool. (Everyone is welcome to help ;-) but currently development has
staled. I'll try to invest some time to get some well known bugs fixed in
some free minutes.

...but who knows when there will be some ;-)
--
Torsten

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



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