> OK, I think I've figured out what the mitigating circumstance is. I can avoid
> "digesting"
> strings composed purely of blank spaces and newlines, but this seems to 
> create a problem
> with table constructs:
>
>   <function NAME="aero/coefficient/Cnb">
>       <description>Yaw moment due to beta</description>
>       <product>
>           <property>aero/qbar-psf</property>
>           <property>metrics/Sw-sqft</property>
>           <property>metrics/bw-ft</property>
>           <table>
>               <independentVar>aero/beta-rad</independentVar>
>               <tableData>
>                   -0.349  -0.0227
>                    0.0     0.0
>                    0.349   0.0227
>               </tableData>
>           </table>
>       </product>
>   </function>
>
> I need each line of tableData to be read in and stored as a separate string. 
> What fixes
> the first problem I reported seems to cause a second, whereby the tableData
> stored ends up
> looking like this:
>
>   -0.349  -0.0227      0.0     0.0
>    0.349   0.0227

It appears that entire tables could be read in as one data chunk. I need to do 
processing
in that case and "manually" separate the data rows. I think I've almost got 
this one
figured out.

Jon


_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to