[LON-CAPA-users] (no subject)

James Sullivan lon-capa-users@mail.lon-capa.org
Fri, 13 Jan 2006 13:17:18 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_006F_01C61843.ADDF8420
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

 

Okay, I thought I had it working after communicating with R. Batchelor via
email. But there is something really screwy going on here. I use the
advanced editor to create a sequence. If I have condition statements between
problems somehow they all get linked together (for lack of a better
explanation). 

 

That is, if I edit one condition, all conditions get edited and made the
same. This obviously breaks the functionality of the flow. I have tried both
mozilla and ie (thinking maybe it was an interface problem). I have also
tried all three versions of the advanced editor display, but to no avail. 

 

So, either I completely misunderstand something, or there is something buggy
with the editor. Note that if I view the published source, it is consistent
with what I am seeing (included below).

 

The sequence in question is at
/res/vcu/jmsullivan/physics/FCI/fci_tmp/test2.sequence if anyone wants to
take a gander at it.

 

Is there someway I can edit the XML as author? Help please.

 

Best,

Jay

 

 

Source for the sequence in question (note that the culprits are the next to
last two lines, which are linking id 1 to 2 and 2 to 3 using the same
condition (which is not what I want).

 

<map>

<param to="1" value="1" name="parameter_0_maxtries" type="int_pos" />

<param to="1" value="diag1" name="parameter_0_mapalias" type="string" />

<param to="2" value="1" name="parameter_0_maxtries" type="int_pos" />

<param to="2" value="diag2" name="parameter_0_mapalias" type="string" />

<param to="3" value="1" name="parameter_0_maxtries" type="int_pos" />

<param to="3" value="diag3" name="parameter_0_mapalias" type="string" />

<resource src="/res/vcu/jmsullivan/physics/FCI/fci_tmp/diagnostic01.problem"
id="1" type="start" title="diagnostic01.problem" />

<resource src="/res/vcu/jmsullivan/physics/FCI/fci_tmp/diagnostic02.problem"
id="2" title="diagnostic02.problem" />

<resource src="/res/vcu/jmsullivan/physics/FCI/fci_tmp/diagnostic03.problem"
id="3" type="finish" title="diagnostic03.problem" />

<condition value="&EXT('user.resource.resource.0.awarded','diag2') eq 1"
id="7" type="stop" />

<link to="2" index="1" from="1" condition="7" />

<link to="3" index="2" from="2" condition="7" />

</map>

 

 

 

 

> Hi Jay,

> 

> > Thanks for all the replies, but I am still at a loss to make this work.

> I

> > have looked at the example mentioned below and copied it to my

> construction

> > space. But when I go through it as a "student" the flow seems to be the

> same

> > as if the conditional sequencing is nonexistent.

> >

> 

> Can you send me the url of your constructed sequence?

> 

> >

> > In my case I just tried putting a simple conditional statement

> >

> >

> >

> > &EXT('user.resource.resource.0.solved','diag1') eq 0

> >

> >

> >

> > And blocking if true (also tried blocking if false) and there seems to

> be no

> > affect. I can navigate through the sequence as if there were no

> > conditionals.

> 

> Hrrm, that should have worked..

> 

> 

> --

> guy@albertelli.com   0-7-1-8-27,137

> _______________________________________________

> LON-CAPA-users mailing list

> LON-CAPA-users@mail.lon-capa.org

> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users

 


------=_NextPart_000_006F_01C61843.ADDF8420
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 77.95pt 1.0in 77.95pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Okay, I thought I had it working after communicating with R. =
Batchelor
via email. But there is something really screwy going on here. I use the =
advanced
editor to create a sequence. If I have condition statements between =
problems
somehow they all get linked together (for lack of a better explanation). =
<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>That is, if I edit one condition, all conditions get edited and =
made
the same. This obviously breaks the functionality of the flow. I have =
tried
both mozilla and ie (thinking maybe it was an interface problem). I have =
also
tried all three versions of the advanced editor display, but to no =
avail. <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>So, either I completely misunderstand something, or there is =
something
buggy with the editor. Note that if I view the published source, it is
consistent with what I am seeing (included =
below).<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>The sequence in question is at =
/res/vcu/jmsullivan/physics/FCI/fci_tmp/test2.sequence
if anyone wants to take a gander at it.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Is there someway I can edit the XML as author? Help =
please.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Best,<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Jay<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Source for the sequence in question (note that the culprits are =
the
next to last two lines, which are linking id 1 to 2 and 2 to 3 using the =
same
condition (which is not what I want).<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&lt;map&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&lt;param to=3D&quot;1&quot; value=3D&quot;1&quot;
name=3D&quot;parameter_0_maxtries&quot; type=3D&quot;int_pos&quot; =
/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&lt;param to=3D&quot;1&quot; value=3D&quot;diag1&quot;
name=3D&quot;parameter_0_mapalias&quot; type=3D&quot;string&quot; =
/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&lt;param to=3D&quot;2&quot; value=3D&quot;1&quot;
name=3D&quot;parameter_0_maxtries&quot; type=3D&quot;int_pos&quot; =
/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&lt;param to=3D&quot;2&quot; value=3D&quot;diag2&quot; =
name=3D&quot;parameter_0_mapalias&quot;
type=3D&quot;string&quot; /&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&lt;param to=3D&quot;3&quot; value=3D&quot;1&quot;
name=3D&quot;parameter_0_maxtries&quot; type=3D&quot;int_pos&quot; =
/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&lt;param to=3D&quot;3&quot; value=3D&quot;diag3&quot;
name=3D&quot;parameter_0_mapalias&quot; type=3D&quot;string&quot; =
/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&lt;resource
src=3D&quot;/res/vcu/jmsullivan/physics/FCI/fci_tmp/diagnostic01.problem&=
quot;
id=3D&quot;1&quot; type=3D&quot;start&quot; =
title=3D&quot;diagnostic01.problem&quot;
/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&lt;resource
src=3D&quot;/res/vcu/jmsullivan/physics/FCI/fci_tmp/diagnostic02.problem&=
quot;
id=3D&quot;2&quot; title=3D&quot;diagnostic02.problem&quot; =
/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&lt;resource
src=3D&quot;/res/vcu/jmsullivan/physics/FCI/fci_tmp/diagnostic03.problem&=
quot;
id=3D&quot;3&quot; type=3D&quot;finish&quot; =
title=3D&quot;diagnostic03.problem&quot;
/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&lt;condition
value=3D&quot;&amp;EXT('user.resource.resource.0.awarded','diag2') eq =
1&quot;
id=3D&quot;7&quot; type=3D&quot;stop&quot; =
/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&lt;link to=3D&quot;2&quot; index=3D&quot;1&quot; =
from=3D&quot;1&quot;
condition=3D&quot;7&quot; /&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&lt;link to=3D&quot;3&quot; index=3D&quot;2&quot; =
from=3D&quot;2&quot;
condition=3D&quot;7&quot; /&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&lt;/map&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; Hi Jay,<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt; Thanks for all the replies, but I am still at a loss =
to make
this work.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; I<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt; have looked at the example mentioned below and copied =
it to
my<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; construction<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt; space. But when I go through it as a =
&quot;student&quot; the
flow seems to be the<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; same<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt; as if the conditional sequencing is =
nonexistent.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; Can you send me the url of your constructed =
sequence?<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt; In my case I just tried putting a simple conditional
statement<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt; &amp;EXT('user.resource.resource.0.solved','diag1') eq =
0<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt; And blocking if true (also tried blocking if false) =
and there
seems to<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; be no<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt; affect. I can navigate through the sequence as if =
there were
no<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; &gt; conditionals.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; Hrrm, that should have =
worked..<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; --<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; guy@albertelli.com&nbsp;&nbsp; =
0-7-1-8-27,137<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; =
_______________________________________________<o:p></o:p></span></font><=
/p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; LON-CAPA-users mailing list<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; =
LON-CAPA-users@mail.lon-capa.org<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&gt; =
http://mail.lon-capa.org/mailman/listinfo/lon-capa-users<o:p></o:p></span=
></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_006F_01C61843.ADDF8420--