Name
XMLType.isSchemaValidated — Returns 1 or 0 indicating if the XML entity has been validated against the associated schema.
Synopsis
XMLType.isSchemaValidated
(
|
) ; |
Description
The function returns the value of a special internal "is validated" flag of the given XMLType instance.
Return Types
An integer value 1 or 0.
Examples
Example 24.558. Sample use
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.