Thread: XML Type validates against xml schema?

XML Type validates against xml schema?

From
Andrew Lardinois
Date:
Poking around in the 8.5 Devel Documentation section 8.13.1, the XML Type, I noticed that:

 "The xml type does not validate input values against a document type declaration (DTD), even when the input value specifies a DTD"

I suppose the same is true in the case that the XML should validate against an (xml) schema?

thanks,
Andrew Lardinois

Re: XML Type validates against xml schema?

From
Peter Eisentraut
Date:
On tis, 2010-01-05 at 16:06 -0800, Andrew Lardinois wrote:
> Poking around in the 8.5 Devel Documentation section 8.13.1, the XML
> Type, I noticed that:
>
>  "The xml type does not validate input values against a document type
> declaration (DTD), even when the input value specifies a DTD"
>
> I suppose the same is true in the case that the XML should validate
> against an (xml) schema?

The xml type does not do XML Schema validation.