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

From Pavel Stehule
Subject Re: correct format for date, time, timestamp for XML functionality
Date
Msg-id BAY20-F14FAF4DA42B65BEEBDA601F9890@phx.gbl
Whole thread Raw
In response to Re: correct format for date, time, timestamp for XML functionality  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-patches
>I'm not sure that we are actually guaranteeing anything about XML validity
>against any schema or DTD, are we?

what?

ofcourse you cannot garant validity against any schema. But mapping
functions are standardised and expect xsd. And I what I can meet protocols
based on xml, they respect xsd everywhere.

I repeat. When XML functions don't produce XML schema, then all is possible.
But using xsd standard is safe way (like ISO format in SQL world). With
nested XML schema whitch is related to xsd there isn't any different way.

The best solution is validation XML before output to client. pg have to
produce everytime valid xml

>
>If there was previous email I apologise, as I didn't find it when I looked.
>Perhaps in such cases you could include a ref to the archive URL.
>
>cheers
>
>andrew
>

_________________________________________________________________
With tax season right around the corner, make sure to follow these few
simple tips.
http://articles.moneycentral.msn.com/Taxes/PreparationTips/PreparationTips.aspx?icid=HMFebtagline


pgsql-patches by date:

Previous
From: Magnus Hagander
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