[Xerte-dev] problem with trunk and added slashes?
    Ron Mitchell 
    ronm at mitchellmedia.co.uk
       
    Wed Jun 19 17:40:33 BST 2013
    
    
  
Hi all
I just replied to a message from John where I've already mentioned this but
thought I should start a new thread too as this may be unrelated to the main
focus of that other thread.
 
I updated a test install with the latest code from trunk and notice that as
soon as I edited and published an LO it was adding extra slashes and thefore
breaking preview/play. Here's some sample xml showing the slashes that got
added to both preview.xml and data.xml
 
<learningObject resume=\"true\" language=\"en-GB\" name=\"Learning Object
Title\" navigation=\"Linear\" textSize=\"12\" displayMode=\"default\">
            <title linkID=\"PG1371648227672\" name=\"Enter Page Title\"
size=\"30\"><![CDATA[Enter title here]]></title>
            <textGraphics hidePanel=\"true\" linkID=\"PG1361433467001\"
name=\"Enter Page Title\" align=\"Left\" imagesize=\"full screen\"
url=\"FileLocation + \'media/800_x_516.jpg\'\" tip=\"Enter a Tooltip\"
transcriptbuttonlabel=\"Transcript\"><![CDATA[Enter text for the page
here]]></textGraphics>
            <textGraphics linkID=\"PG1359043029659\" name=\"Enter Page
Title\" align=\"Left\" imagesize=\"full screen\" url=\"FileLocation +
\'media/xpert_logo.gif\'\" tip=\"Enter a Tooltip\"
transcriptbuttonlabel=\"Transcript\"><![CDATA[Enter text for the page
here]]></textGraphics>
      </learningObject>
 
I updated an install that was already version 2 but still quite a few
revisions applied so not sure what revision is causing this but I reverted
the code fixed the xml from my test project and all was fine. Re-applied the
code and problem returned.
 
Any ideas?
 
HTH
Cheers
Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130619/067f52ff/attachment-0001.html>
    
    
More information about the Xerte-dev
mailing list