Gertjan van Oosten ha scritto:
Hi Andrea,

As quoted from Andrea Aime <[EMAIL PROTECTED]>:
Oh hum. om fact "2007-03-05 15:38:57.046" is not a valid xs:dateTime.
The valid pattern (http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#dateTime)
is CCYY-MM-DDThh:mm:ss, so no milliseconds around,

You missed the sentence on the URL above where it says:

  "Additional digits can be used to increase the precision of fractional
   seconds if desired i.e the format ss.ss... with any number of digits
   after the decimal point is supported. The fractional seconds part is
   optional; other parts of the lexical form are not optional."

and we need the T, not a space.

Hum, with the latest fixes we're generating:
2007-03-05T14:38:57.046

I have an option to include the Z marker (but afaik it just appends a Z, it's not like it's doing any time zone conversion). Any reason for asking that one? I guess we should make this configurable.

Cheers
Andrea
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to