Returns 1 if the given XMLType instance is schema-based, i.e. if it has a URI of an XML schema that can be used for schema validation via XMLType.schemaValidate().
The function returns 1 or 0.
The following three calls display the behaviour of the isSchemaBased(). Note that it does no actual checks whether the document is valid against the declared schema or even the validity of schema URI itself.
select XMLType('<clean />').isSchemaBased() callret INTEGER _______________________________________________________________________________ 0 1 Rows. -- 00000 msec. select XMLType('<clean />', 'file://xmlschema/test0001/clean.xsd').isSchemaBased() callret INTEGER _______________________________________________________________________________ 1 1 Rows. -- 00000 msec. select XMLType('<clean />', 'http://no.such.schema.exists').isSchemaBased() callret INTEGER _______________________________________________________________________________ 1 1 Rows. -- 00000 msec.