Re: correct format for date, time, timestamp for XML functionality - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: correct format for date, time, timestamp for XML functionality
Date
Msg-id 45DB23CB.9050300@dunslane.net
Whole thread Raw
In response to Re: correct format for date, time, timestamp for XML functionality  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: correct format for date, time, timestamp for XML functionality
List pgsql-patches
Peter Eisentraut wrote:
> Am Dienstag, 20. Februar 2007 16:54 schrieb Andrew Dunstan:
>
>> I'm not sure that we are actually guaranteeing anything about XML
>> validity against any schema or DTD, are we?
>>
>
> That is the "xmlschema" part of table_to_xmlschema() et al. recently
> discussed.  That entire functionality hinges on producing output that
> validates against XML Schema schemas, and so we cannot pick the data type
> formats outselves.
>
>
Then why would we use a setting to govern this? Should we not simply
ensure that we always output timestamps in XML using the correct ISO8601
format?

cheers

andrew

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: correct format for date, time, timestamp for XML functionality
Next
From: "Pavel Stehule"
Date:
Subject: Re: correct format for date, time, timestamp for XML functionality