[LON-CAPA-users] Unordered Response Question Error

Harding, Gene L glhardin at purdue.edu
Mon Jan 23 21:59:42 EST 2017


Hi,

I am trying to embed some unordered numericalresponse parameters inside an xml table. I modeled my xml after the example in LON-CAPA, but am having two problems with it. The first problem is an error referring to tolerance range, and the second is incompatible units. This is a screenshot:
[cid:image001.jpg at 01D275C3.FE604440]

This is the code I am using:
<startouttext />
A $Pa dBm, $fa-MHz RF input signal and a $Pb dBm, $fb-MHz LO signal are applied to a nonlinear mixer with $Zin-Ω impedance. Complete the table of IF cross products for m,n equal 1,2.

<! Display numeric response inside a table >
<table style="width:400px" border="1" cellpadding="1" >
  <tr>
    <td> m </td>  <td> n </td>  <td> |mf<sub>a</sub> ± nf<sub>b</sub>| </td>  <td> Cross Products </td>
  </tr>
  <tr>
    <td>1</td>  <td>1</td>
    <td>
<numericalresponse format="0f" unit="MHz" id="11">
    <answergroup type="ordered">
        <answer type="unordered">
            <value>$fa</value>
            <value>$fb</value>
        </answer>
    </answergroup>
    <!responseparam name="tol" type="tolerance" default="0" description="Numerical Tolerance" />
    <textline size="8" readonly="no" />
    <textline size="8" readonly="no" />
</numericalresponse>
    </td>  <td>$f11_1 MHz $f11_2 MHz</td>
  </tr>
  <tr>
    <td>1</td>  <td>2</td>
  </tr>
  <tr>
    <td>2</td>  <td>1</td>
  </tr>
  <tr>
    <td>2</td>  <td>2</td>
  </tr>
</table>

<endouttext />

Any ideas why I am getting these two errors?

Thanks for any advice you can provide.

Best regards,

Gene L. Harding, PE
Associate Professor of ECET
574-520-4190
Purdue University-South Bend

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20170124/b41cafec/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 34420 bytes
Desc: image001.jpg
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20170124/b41cafec/attachment-0001.jpg>


More information about the LON-CAPA-users mailing list