You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For attributes which in the spec have a default value but are not mandatory, decide whether or not to instantiate the structs with the default value or use missing. The former would convey what the spec means those values to be; the latter would convey what is actually in the file.
Latitude is an example, where it may optionally have a datum attribute whose value is by default "WGS84". That is, if no value for datum is present, it is assumed that the latitude is on the WGS84 ellipsoid. At present a file may contain
For attributes which in the spec have a default value but are not mandatory, decide whether or not to instantiate the structs with the default value or use
missing
. The former would convey what the spec means those values to be; the latter would convey what is actually in the file.Latitude
is an example, where it may optionally have adatum
attribute whose value is by default"WGS84"
. That is, if no value fordatum
is present, it is assumed that the latitude is on the WGS84 ellipsoid. At present a file may containand this gets parsed into
Note that
<Latitude datum="WGS84">0</Latitude>
would parse to the same thing, so the question is whether this is right.The text was updated successfully, but these errors were encountered: