[Xerte-dev] Re: Invalid character breaking data.xml parsing (and therefore export)

Pat Lockley patrick.lockley at googlemail.com
Tue Nov 6 11:54:08 GMT 2012


I've just seen that character before somewhere.

As Tom said, flash makes the XML then sends the XML string to save.php
(which just puts it into a file). No php xml work is done saving, there is
a little in exporting


On Tue, Nov 6, 2012 at 11:49 AM, David Goodwin <david at palepurple.co.uk>wrote:

>
> On 6 Nov 2012, at 11:43, Pat Lockley <patrick.lockley at googlemail.com>
> wrote:
>
> is ^A not whitespace on windows?
>
>
> I've no idea. I'm not a Windows person.
>
> I know the data.xml is encoded/saved with DOS style line endings.
>
>
> Should XOT try and validate whatever XML is passed into it when the editor
> calls save on it and reject (?) it if invalid? Alternatively I suppose I
> could run iconv (or similar) over the xml file and try to remove any
> invalid characters?
>
> What PHP file is called when the flash editor asks to save?
>
>
> David.
>
> Pale Purple Ltd.  (Company No: 5580814)
> 'Web and Mobile Application Development for Business'
>
> http://www.palepurple.co.uk
> Office: 0845 0046746     Mobile: 07792380669
>
> Follow us on Twitter: @PalePurpleLtd
>
>
>  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.
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> 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.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121106/10a7b1c3/attachment-0001.html>


More information about the Xerte-dev mailing list