[Xerte] Ongoing Mac Stuff

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Jul 12 09:30:36 BST 2010


I'd prefer to find out why the problem exists first! If it can't be done
then I can think about having it done thorough function calls,

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter
Huppertz
Sent: 12 July 2010 08:43
To: Xerte discussion list
Subject: Re: [Xerte] Ongoing Mac Stuff

I think I tried once to rewrite Xerte just to load the class and set
location and file via getters and setters and than start the parsing. As
far as I remember it did not work/crashed again. But perhaps you want to
try that, just to make sure it is not the query string?

Peter


On 09.07.2010, at 11:26, Julian Tenney wrote:

> 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

==================================
Peter Huppertz
E-learning and IT Specialist
International Centre for Asset Recovery
Basel Institute on Governance
Phone: +41 61 205 55 18
Fax: +41 61 267 55 19

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte


More information about the Xerte mailing list