Re: correct format for date, time, timestamp for XML functionality

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: correct format for date, time, timestamp for XML functionality
Дата
Msg-id 45DB23CB.9050300@dunslane.net
обсуждение исходный текст
Ответ на Re: correct format for date, time, timestamp for XML functionality  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: correct format for date, time, timestamp for XML functionality  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: correct format for date, time, timestamp for XML functionality
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: correct format for date, time, timestamp for XML functionality