Re: xml_valid function - Mailing list pgsql-general

From Roger Hand
Subject Re: xml_valid function
Date
Msg-id DB28E9B548192448A4E8C8A3C1B1E475FC322D@sj1-exch-01.us.corp.kailea.com
Whole thread Raw
In response to xml_valid function  ("George Pavlov" <gpavlov@mynewplace.com>)
Responses Re: xml_valid function
List pgsql-general
John Gray wrote on
Friday, January 27, 2006 12:24 PM
> On Wed, 25 Jan 2006 17:11:04 -0800, George Pavlov wrote:
>
>> Not sure what the correct forum for pgxml/xml2 questions is. I was
>> wondering what is the definition of "valid" that the xml_valid(text)
>> function that is part of that module uses? It seems different from the
>> W3C definition of "valid" XML (is there an implicit DTD?) Maybe it is
>> more akin to "well-formed"?
>>
>
> It is indeed well-formed. That just seemed a long name for the function!
>
> John

Valid means it's been checked against, and conforms to, a DTD. If it hasn't been then it can't
be said to be valid.

-Roger

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

pgsql-general by date:

Previous
From: John Gray
Date:
Subject: Re: xml_valid function
Next
From: Tom Lane
Date:
Subject: Re: WAL questions