Print

Print


Hello Alessandra,
 That is, indeed, odd behavior. What code is producing this xml file?
Norman

-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of Alessandra Filippi
Sent: Tuesday, August 30, 2016 5:49 AM
To: hps-software <[log in to unmask]>
Subject: xml behavior

Hi all,
I have a stupid question about xml, that somebody with some more knowledge of the language can answer very quickly I think. In the compact.xml file that I'm producing (automatically) upon alignment I found some lines like, for instance:

<millepede_constant name="12304" value="0.0 - -0.000625" />

I'm wondering how xml treats the two double - signs. I cannot see any complain anywhere but I actually do not know how this string is converted into a number. 
Is this an acceptable syntax, to get as a result for value = 0.000625 ?
(I would anyhow be tempted for the moment to replace every "- -" string with a "+", by hand).
Thanks, cheers
     Alessandra

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1