Re: BUG #3782: table_to_xmlschema and xsd:simpleType

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #3782: table_to_xmlschema and xsd:simpleType
Дата
Msg-id 200711281153.39234.peter_e@gmx.net
обсуждение исходный текст
Ответ на BUG #3782: table_to_xmlschema and xsd:simpleType  ("Dragos Ionita" <dragos@beopen.ro>)
Ответы Re: BUG #3782: table_to_xmlschema and xsd:simpleType  (Dragos Ionita <dragos@beopen.ro>)
Список pgsql-bugs
Am Dienstag, 27. November 2007 schrieb Dragos Ionita:
> I'm having a problem with table_to_xmlschema, for VARCHAR fields the
> function returns:
>
> <xsd:simpleType name="VARCHAR">
> </xsd:simpleType>
>
> And parsers don't seem to like this:
>
> Invalid XML schema: 'Further elements required under element
> <xsd:simpleType>.'
>
> The simpleType should have a child element. Is this a bug or am I missing
> something?

Oh yes, I didn't consider the XML Schema specification well enough.  Please
try the attached patch.

Do you know of an XML Schema checker that we could use to check this?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "wengxc"
Дата:
Сообщение: BUG #3786: report error:"ERROR: invalid byte sequence for encoding "UTF8""
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #3784: pg_ctl fails to start server when called with -c parameters