<div dir="ltr">i thought there was a valid XML test before saving?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 12, 2014 at 2:36 PM, Julian Tenney <span dir="ltr"><<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I asked if I could share the files, but not had a response: I'm sure it's OK, but I need to check,<br>
<div class="im HOEnZb"><br>
-----Original Message-----<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of David Goodwin<br>
</div><div class="HOEnZb"><div class="h5">Sent: 12 May 2014 14:35<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: FW: Further Xerte Data Loss<br>
<br>
Can you attach / share the data.xml file somehow?<br>
<br>
I know of a PHP library which is quite good at cleaning up such stuff ....<br>
<br>
David.<br>
<br>
<br>
On 12/05/14 13:23, Julian Tenney wrote:<br>
> This looks suspicious: that's not escaping, right? That looks to me<br>
> like errant characters creeping in from somewhere? Paste from word, etc?<br>
><br>
> -----Original Message-----<br>
> From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of David<br>
> Goodwin<br>
> Sent: 12 May 2014 12:53<br>
> To: For Xerte technical developers<br>
> Subject: [Xerte-dev] Re: FW: Further Xerte Data Loss<br>
><br>
> On 12/05/14 12:41, Julian Tenney wrote:<br>
><br>
> > What beats me is why the file should break halfway through a tag name.<br>
><br>
> What I've seen is that the PHP (or whatever) can't read the XML file<br>
> as it has the wrong encoding specified, or it just somehow contains<br>
> characters that are invalid.<br>
><br>
> see e.g.<br>
><br>
> <a href="http://stackoverflow.com/questions/14463573/php-simplexml-load-file-in" target="_blank">http://stackoverflow.com/questions/14463573/php-simplexml-load-file-in</a><br>
> valid-character-error<br>
><br>
> <a href="https://chrismckee.co.uk/saving-user-content-to-xml-error-contains-non" target="_blank">https://chrismckee.co.uk/saving-user-content-to-xml-error-contains-non</a><br>
> e-utf-8-content-aka-how-to-remove-invalid-characters-in-utf-8/<br>
><br>
> David.<br>
><br>
> ><br>
><br>
> > -----Original Message-----<br>
><br>
> > From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
> <mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>><br>
><br>
> > [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
> David<br>
><br>
> > Goodwin<br>
><br>
> > Sent: 12 May 2014 12:37<br>
><br>
> > To: For Xerte technical developers<br>
><br>
> > Subject: [Xerte-dev] Re: FW: Further Xerte Data Loss<br>
><br>
> ><br>
><br>
> > Is it possible that it's a unicode ` character?<br>
><br>
> ><br>
><br>
> ><br>
><br>
> > I've seen a number of UTF-8 related issues with the data.xml etc files.<br>
><br>
> ><br>
><br>
> > David.<br>
><br>
> ><br>
><br>
> --<br>
><br>
> Pale Purple Ltd<br>
><br>
> PHP Web application development and support<br>
><br>
> <a href="http://www.palepurple.co.uk" target="_blank">http://www.palepurple.co.uk</a><br>
><br>
> @PalePurpleLtd<br>
><br>
> 07792 380669 / 0845 0046746<br>
><br>
> _______________________________________________<br>
><br>
> Xerte-dev mailing list<br>
><br>
> <a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
> <mailto:<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>><br>
><br>
> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Xerte-dev mailing list<br>
> <a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
><br>
<br>
--<br>
Pale Purple Ltd<br>
<br>
PHP Web application development and support<br>
<br>
<a href="http://www.palepurple.co.uk" target="_blank">http://www.palepurple.co.uk</a><br>
@PalePurpleLtd<br>
07792 380669 / 0845 0046746<br>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
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.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
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.<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>