[Xerte] Ongoing Mac Stuff

Peter Huppertz peter.huppertz at baselgovernance.org
Mon Jul 12 08:42:50 BST 2010


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



More information about the Xerte mailing list