The function returns the value of a special internal "is validated" flag of the given XMLType instance.
An integer value 1 or 0.
These two calls demonstrate how the "is validated" flag can be set without making an actual validation in the call of XMLType constructor:
-- Line 75: select XMLType('<bad />', 'file://xmlschema/test0001/clean.xsd').isSchemaValidated() callret INTEGER _______________________________________________________________________________ 0 1 Rows. -- 00000 msec. -- Line 77: select XMLType('<bad />', 'file://xmlschema/test0001/clean.xsd'), 1).isSchemaValidated() callret INTEGER _______________________________________________________________________________ 1 1 Rows. -- 00000 msec.