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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Pavel Stehule <pavel(dot)stehule(at)hotmail(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: correct format for date, time, timestamp for XML functionality
Date: 2007-02-20 16:37:31
Message-ID: 45DB23CB.9050300@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Pavel Stehule 2007-02-20 16:51:11 Re: correct format for date, time, timestamp for XML functionality
Previous Message Peter Eisentraut 2007-02-20 16:17:01 Re: correct format for date, time, timestamp for XML functionality