[Xerte-dev] Re: & problem

Julian Tenney Julian.Tenney at nottingham.ac.uk
Wed Nov 14 22:21:25 GMT 2012


we can fix hthis in the wizard then?
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl]
Sent: 14 November 2012 19:07
To: For Xerte technical developers
Subject: [Xerte-dev] Re: & problem

Ron,

It's basically a omission of the Wizard not to escape the '&' character.
Other characters with special meanung in xml are esaped (like '<' and '> ')

At the moment the export 'fixes' the files that are getting exported,
but it doesn't touch the data.xml, and/or preview.xml files.

I can add an option to the play_html5.php to do this of you want, (I'd
read the xml file, and if an error occurs, I would fix the file, than
start the html5 player). I already have the code in place (in xmlInspector).

Tom


Op 14-11-2012 18:08, Ron Mitchell schreef:
> Hi Tom/Fay
> is there a way of debugging this for existing/specific projects?
> The shared page types example we have on the Techdis server no longer works
> via the xenith link either. The Flash version works fine bu it Xenith
> there's just a momentary flash of the interface and then a blank screen.
> Alistair has also reported issues like that previously and I think exporting
> and re-importing his LO fixed the problem but that's obviously not ideal. It
> would be good to see where the exact problem lies in a particular LO.
> Cheers
> Ron
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
> Sent: 14 November 2012 13:14
> To: xerte-dev at lists.nottingham.ac.uk
> Subject: [Xerte-dev] Re: & problem
>
> Fay,
>
> The issue I had, is the same, only occuring in a different spot: when
> exporting a LO.
>
> I fixed it in the editor, but that doesn't work for existing LO's, so I ALSO
> fixed it in the export code, more specifically in
> website_code/php/xmlInspector.php
>
> Have a look at loadTemplateXML, that calls fixXmlFile when it fails to load
> the Xml file.
>
> If you have any questions, please let me know.
>
> Tom
>
>
> Citeren Fay Cross <Fay.Cross at nottingham.ac.uk>:
>
>> Hi Tom
>>
>> Did you do some work recently on escaping & characters in the xml?
>> I'm having some problems in the html version where any project
>> containing & in the text or a link (e.g. google maps pages where the
>> links always have one in url) make the xml invalid and won't load.
>> Was it something that you did in the editor that was supposed to fix
>> this kind of thing?
>>
>> Thanks
>>
>> This message and any attachment are intended solely for the addressee
>> and may contain confidential information. If you have received this
>> message in error, please send it back to me, and
>> immediately delete it.   Please do not use, copy or disclose the
>> information contained in this message or in any attachment.  Any views
>> or opinions expressed by the author of this email do not necessarily
>> reflect the views of the University of Nottingham.
>>
>> This message has been checked for viruses but the contents of an
>> attachment may still contain software viruses which could damage your
> computer system:
>> you are advised to perform your own checks. Email communications with
>> the University of Nottingham may be monitored as permitted by UK
> legislation.
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

--
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196


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



More information about the Xerte-dev mailing list