Indicates the schema that will be used to validate the XML.
&DataType.AddSchema(URL, [ Namespace ] )
Where:
URL
URL of the schema
Namespace
Namespace of the xml to be validated
Extended Data Types: XmlReader
Generators:
.NET,
Java
It indicates the “schema” that will be used to validate the XML in the indicated Namespace. If the Namespace is not indicated, then that of the scheme's targetNamespace attribute is taken.
Whatever is indicated in this method has priority over the XML document's schemaLocation attribute (to the extent it exists).
To use this method, you must indicate, in the ValidationType property, that either the validation by scheme or the automatic validation is to be carried out.
ValidationType
XmlReader Data Type