[Xerte] Ongoing Mac Stuff

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Jul 9 12:37:19 BST 2010


It's not 256 chars I don't think.

I looked into it and it depends on the host: so IE trunks it at 2038
chars or something; FF at some other limit. Zinc plays fine on the PC,
so I imagine the length of the path is not the issue.

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 09 July 2010 12:11
To: Xerte list
Subject: RE: [Xerte] Ongoing Mac Stuff


Once upon a time 256 was the limit for querystrings.
Not sure if that is still true.
Maybe hardcode a < 256 string in there and see?
Brute force rules!



----------------------------------------
> Date: Fri, 9 Jul 2010 10:26:05 +0100
> From: Julian.Tenney at nottingham.ac.uk
> To: xerte at lists.nottingham.ac.uk
> Subject: [Xerte] Ongoing Mac Stuff
>
> I'm getting somewhere. I have identified this problem that causes
Xerte
> 3 to crash on the Mac when attempting to preview a file:
>
> I set the source property on the swfloader and call load() thus:
>
> source = main.docTree.fileLocation + 'Xerte.swf%3FfileName%3D' +
> main.docTree.fileName + '%26fileLocation%3D' +
> main.docTree.fileLocation;
>
> load();
>
> this causes the crash. The URLEncoding I just tried - previously I had
&
> = ? in there directly.
>
> If I comment out the call to load, I have the single line that causes
> the crash.
>
> So what's wrong with the string that causes Zinc to crash on the Mac?
> Can I in fact pass parameters into the swf this way on the mac?
>
> If I take the params off and just load Xerte.swf, no crash, and no
> broken image symbol in the preview, so I assume it is loading
correctly,
> but then doesn't know which rlo to load.
>
> So: any funny (haha) characters in strings I need to watch for?
> URLEncoding the way to go?
> Am I hitting any sort of limit?
>
> Cheers
>
> J
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
 		 	   		  
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:
ON:WL:en-US:WM_HMP:042010_3_____________________________________________
__
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte


More information about the Xerte mailing list