[Laszlo-dev] [Gnash-dev] YouTube video via OpenLaszlo

Henry Minsky henry.minsky at gmail.com
Mon Feb 12 14:14:29 PST 2007


Ooh, I haven't seen that happen before...

Which distribution of LPS are you running? It looks like you're on a linux
box?
Something is blowing up in an XML parser. I have not had any recent
experience with the Aelfred parser , but I don't think it's something we
ship (Mark Davis??) as a library. Are

Is there any way to get your runtime environment to use a different XML
parser?

Does your installation compile and run apps in  the web browser, via the LPS
servlet?  If so, then plan B is to use wget to fetch the swf file that
way...






On 2/12/07, strk <strk at keybit.net> wrote:
>
> On Mon, Feb 12, 2007 at 02:25:33PM -0500, Henry Minsky wrote:
>
> > make a test file foo.lzx:
> >
> > <canvas>
> >  <text>This is some text</text>
> >  <view bgcolor="red" width="100" height="100"  y="40"/>
> > </canvas>
> >
> > And compile it by calling
> >
> > lzc foo.lzx
> >
> > That should produce a foo.swf file.
>
> lzc test.lzx
> Exception in thread "main" java.lang.IllegalStateException: already
> parsing
>    at gnu.xml.aelfred2.XmlReader.setContentHandler(libgcj.so.7)
>    at com.thaiopensource.relaxng.parse.sax.SchemaParser$State.set(
> SchemaParser.java:175)
>    at com.thaiopensource.relaxng.parse.sax.SchemaParser$State.startElement
> (SchemaParser.java:216)
>    at gnu.xml.aelfred2.SAXDriver.startElement(libgcj.so.7)
>    at gnu.xml.aelfred2.XmlParser.parseElement(libgcj.so.7)
>    at gnu.xml.aelfred2.XmlParser.parseDocument(libgcj.so.7)
>    at gnu.xml.aelfred2.XmlParser.doParse(libgcj.so.7)
>    at gnu.xml.aelfred2.SAXDriver.parse(libgcj.so.7)
>    at gnu.xml.aelfred2.XmlReader.parse(libgcj.so.7)
>    at com.thaiopensource.relaxng.parse.sax.SAXParseable.parse(
> SAXParseable.java:30)
>    at com.thaiopensource.relaxng.impl.SchemaBuilderImpl.parse(
> SchemaBuilderImpl.java:79)
>    at com.thaiopensource.relaxng.jarv.VerifierFactoryImpl.compileSchema(
> VerifierFactoryImpl.java:32)
>    at org.openlaszlo.compiler.Parser.validate(Unknown Source)
>    at org.openlaszlo.compiler.Compiler.compile(Unknown Source)
>    at org.openlaszlo.compiler.Compiler.compile(Unknown Source)
>    at org.openlaszlo.compiler.Main.compile(Unknown Source)
>    at org.openlaszlo.compiler.Main.lzc(Unknown Source)
>    at org.openlaszlo.compiler.Main.main(Unknown Source)
>
> --strk;
>



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20070212/9e79a795/attachment.html


More information about the Laszlo-dev mailing list