On Tue, Aug 18, 2009 at 02:11, Andrew Dunstan<and...@dunslane.net> wrote: > > Tom Lane wrote: >> >> Andrew Dunstan <andrew.duns...@pgexperts.com> writes: >> >>> >>> The attached tiny patch sets the <explain> root element for auto-explain >>> XML output, so it looks something like this: >>> >> >> This looks reasonable in itself, but it sort of begs the question on >> two other things: >> >> * what's the xmlns URL really going to be? >> > > By convention it refers to a place where you publish the schema for the > document type, but it is in fact completely arbitrary, and can refer to a > non-existant resource - as long as it is unique - it's just a namespace > designator, and from an XML POV has no more semantic significance that a > schema name does in SQL.
I'd suggest using a different namespace than www.postgresql.org, just to be sure it won't conflict with some system we use in the future. Perhaps http://schemas.postgresql.org/<whatever>? It doesn't actually need to exist until we want to put anything there, but it mustn't conflict with anything else. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/ -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers