SIAP and encoding of POS input parameter
Doug Tody
dtody at nrao.edu
Wed Jan 21 10:20:35 PST 2009
And here is the reference:
http://www.w3.org/TR/xmlschema-2/#double
An excerpt:
The canonical representation for float is defined by
prohibiting certain options from the Lexical representation
(§3.2.4.1). Specifically, the exponent must be indicated by
"E". Leading zeroes and the preceding optional "+" sign are
prohibited in the exponent. If the exponent is zero, it must be
indicated by "E0". For the mantissa, the preceding optional "+"
sign is prohibited and the decimal point is required.
On Wed, 21 Jan 2009, Doug Tody wrote:
> Hi -
>
> Tom's mention of XML schema reminded me of what we actually said about this.
> Here is what we have in the SSA spec (intended to apply to all of DAL2):
>
> Integer numbers are represented as defined in the specification of
> integers in XML Schema Datatypes. Real numbers are represented
> as specified for double precision numbers in XML Schema
> Datatypes. Sexagesimal formatting is not permitted, either for
> parameter input or in output metadata, other than in ISO 8601
> formatted time strings (sexagesimal format is fine for a user
> interface but inappropriate for a lower level machine interface,
> where it only complicates things).
>
> A basic POS is thus a list of integer or real numbers delimited by
> commas, with the numbers represented as defined in XML Schema Datatypes.
>
> - Doug
More information about the dal
mailing list