PDA

View Full Version : Bug Report....Comments kill xml stmts


dme212
08-22-2007, 05:48 AM
Hello All,

I've found a bug that is caused by a comment.

I am using pano.swf in conjunction with a image in Stripe form and using panoSuffixes=.jpg to effectively change it into panoStripe.swf.

I have attached my xml file, my swf file, and my image file as well, though I had to rename the xml and swf files to upload them here...please be sure and restore them as indicated in the filenames.

As you can see all is well when the first stmt in my parameters element is the panoSuffixes=.jpg, but when placed below the comment...the load Fails.

But...if the comment is the FIRST stmt in the parameters element there is NO ERROR! But move the comment to the second line and FAILURE.

It's all about the existence of the comment, but placement does matter as I noted above.

Any comments?

--Dan
I had to rename the xml and swf files in order to upload them here. Please be sure and restore the extensions as indicated in the file names.

ericob
08-30-2007, 05:41 AM
I haven't looked at your files at all, but your post pointed me to a work-around for a problem I was having.

I have just started using FPP. I copied the template.xml file, commented out the parts I did not want to experiment with at the moment, added references to some plugins, saved everything and...

Was baffled why none of the plugins and only some of the parameters seemed to be working.

[This is again a shortfall in error reporting. Do I have to have the full $800 Flash development environment installed just to get a little feedback? I sure hope not.]

Well, after reading your note I went back to my xml file and deleted all the comments. Saved, reloaded the html file and surprise! the plugins were active.

So, it looks to me like the XML parser is broken somehow.

cheathamlane
08-31-2007, 03:24 PM
Hey Eric:

One thiing that's a big help to me is "Flash Tracer", a plugin for Firefox. Denis turned me on to it, and I am hooked.

You'll need a debug version of Flash Player/Plugin (from Adobe), and the FF extension from http://www.sephiroth.it/weblog/archives/2006/10/flashtracer_firefox_extensionphp.php

HTH