<div>I know Tom has built the process for doing this into the Xerte Editor, but I think this does not give you a clear idea of any problems that may have been hit as the information scrolls through a window of limited size.<br>
</div><div><br></div><div>I prefer the command line approach in which I can generate a log file which will help me to identify any problems e.g. errors in individual xwd files.</div><div><br></div><div>Open a command prompt</div>
<div>change directory to your xerte installation e.g. c:\xerte</div><div><br></div><div>at the command prompt enter</div><div><br></div><div>php\php.exe scripts\rebuildtemplate.php pages/wizards/en-GB/ > convert.log</div>
<div><br></div><div>The new template.xwd file is created in the c:\xerte\pages\wizards\en-GB folder.</div><div><br></div><div>I look at the convert.log file in Flash Develop</div><div><br></div><div>Error messages are preceded with a line such as</div>
<div><br></div><div>xwd:12</div><div><br></div><div>which indicates the error is on line 12</div><div><br></div><div>sample error messages include</div><div><br></div><div><br>attributes construct error<br> - probably a missing space between two definitions of items<br>
e.g.     <text  label="Text"type="TextArea"<br><br>correct is     <text  label="Text" type="TextArea"<br><br>parser error : xmlParseEntityRef: no name<br>- has been caused by use of "&" - solution replace with "and"<br>
<br>parser error : Premature end of data in tag wizard line 1<br>- caused by missing closing </wizard> tag.<br><br>parser error : Comment not terminated<br>- caused by inclusion of original --------- rather than =========<br>
<br>parser error : Attribute height redefined<br>- an attribute has been defined twice - in this example "height"</div><div><br></div><div>Kind regards</div><div><br></div><div>Johnathan</div><br><div class="gmail_quote">
On 16 July 2012 11:15, 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">
<div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Next logical question: how do I then generate a big xwd to test in XOT?</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin-left:36.0pt">
<b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Julian Tenney<br>
<b>Sent:</b> 16 July 2012 11:15</span></p><div><div class="h5"><br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Bugs in page models / wizard</div></div></div></div><div><div class="h5"><p class="MsoNormal" style="margin-left:36.0pt">
 </p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">To fix issues I xwds I make changes to xertesvn/runtime/pages/wizards/en-GB?</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:72.0pt"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Julian Tenney<br>
<b>Sent:</b> 16 July 2012 11:13<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Bugs in page models / wizard</span></p></div></div><p class="MsoNormal" style="margin-left:72.0pt"> </p><p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">In XOT on xampp I think (Fay works Weds – Fri)</span></p><p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I think the first bug listed under menu is the menu, rather than the connector page.</span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If you do the language option stuff for now, I’ll look at the other stuff. In the interests of ‘fix your own bugs’ I might send an updated list for action with the owners of the various bits later,</span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:108.0pt"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Kemp Johnathan<br>
<b>Sent:</b> 16 July 2012 11:10<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Bugs in page models / wizard</span></p></div><p class="MsoNormal" style="margin-left:108.0pt"> </p><div><p class="MsoNormal" style="margin-left:108.0pt">
Hello Fay and Julian,</p></div><div><p class="MsoNormal" style="margin-left:108.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:108.0pt">I am about to start now on the xwd's to sort out the language items.</p>
</div><div><p class="MsoNormal" style="margin-left:108.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:108.0pt">Can I clarify a few points</p></div><div><p class="MsoNormal" style="margin-left:108.0pt"> </p></div>
<p class="MsoNormal" style="margin-left:144.0pt"><span>1.<span style="font:7.0pt "Times New Roman"">      </span></span>Where your tests in XOT or Xerte?</p><p class="MsoNormal" style="margin-left:144.0pt"><span>2.<span style="font:7.0pt "Times New Roman"">      </span></span>Menu Page - are you referring to the Menu option in XOT or the Connector Menu Page?</p>
<div><p class="MsoNormal" style="margin-left:108.0pt">I'll raise any queries on anything else as I get to them.</p></div><div><p class="MsoNormal" style="margin-left:108.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:108.0pt">
All the Connector pages plus the Inventory Page offer some support to the learning object author. Originally this was set for each page individually by having an attribute in the xwd file for each page. However at Julian's request this was moved to a single attribute of the learning object xwd form "Add Author Support" which set a value for the authorSupport attribute.</p>
</div><div><p class="MsoNormal" style="margin-left:108.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:108.0pt">If authorSupport was set to "true" then all Connector pages and Inventory pages in the project will display their authorSupport information.</p>
</div><div><p class="MsoNormal" style="margin-left:108.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:108.0pt">If authorSupport is set to "true" and an individual page's optional property "Output Check List" is selected then depending on the value selected for this option a report will be output to the clipboard. Reference to "Developer Mode" in this option list is a left over from the earlier individual page setting. It should now read "Author Support only". I will fix that.</p>
</div><div><p class="MsoNormal" style="margin-left:108.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:108.0pt">Kind regards</p></div><div><p class="MsoNormal" style="margin-left:108.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:108.0pt">
Johnathan</p></div><div><p class="MsoNormal" style="margin-left:108.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:108.0pt">On 13 July 2012 12:05, Fay Cross <<a href="mailto:Fay.Cross@nottingham.ac.uk" target="_blank">Fay.Cross@nottingham.ac.uk</a>> wrote:</p>
<div><div><p class="MsoNormal" style="margin-left:108.0pt">Johnathan,</p><p class="MsoNormal" style="margin-left:108.0pt"> </p><p class="MsoNormal" style="margin-left:108.0pt">I’ve attached the list of the bugs I’ve found from testing all the page types.  Actually, they’re not all bugs – a lot of them are just things I think would improve the usability of them.</p>
<p class="MsoNormal" style="margin-left:108.0pt"> </p><p class="MsoNormal" style="margin-left:108.0pt">I’ve highlighted all the places where fields in the wizard need to be moved to Language Options so I think these are the only bits for you to look at.  Julian’s working on the rest of the list so I don’t know whether it will potentially get confusing with you both working on the xwd at the same time.</p>
<p class="MsoNormal" style="margin-left:108.0pt"> </p><p class="MsoNormal" style="margin-left:108.0pt">I’ve also added a few comments about the connector pages.  Only a couple of the comments are proper bugs, the rest are more aesthetic comments to make them more consistent with other pages.  It’s not really for me to say if they need changing or not!  It was a quick test of these pages so you’ll see if some places I couldn’t work out what things were meant to do – I haven’t time to do these pages very thoroughly.</p>
<p class="MsoNormal" style="margin-left:108.0pt"> </p><p class="MsoNormal" style="margin-left:108.0pt">Checking all these has made me realise just how many pages there are to recreate in the HTML5 version!</p><p class="MsoNormal" style="margin-left:108.0pt">
 </p><p class="MsoNormal" style="margin-left:108.0pt">Fay</p></div><p class="MsoNormal" style="margin-left:108.0pt"> </p><p style="margin-left:108.0pt">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. </p>
<p style="margin-left:108.0pt">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. </p>
</div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:108.0pt"><br>_______________________________________________<br>Xerte-dev mailing list<br><a href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">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>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:<br>you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.</p></div><p class="MsoNormal" style="margin-left:108.0pt"> </p></div></div></div></div><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>
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:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<br></blockquote></div><br>