@dtf:schema-validate Annotation

Specifies if the source parameters and/or the return value should be schema validated. The schema-validate annotation is an optional annotation associated with @dtf:transform methods.

Syntax

Attributes

Remarks

In the following example, the @dtf:schema-validate annotation defines that during run time, when the transformation method myXQueryMethod is executed, the return value will be schema validated but the source parameters of the transformation method will not, as shown highlighted in bold in the following code segment:

/**
 * @dtf:transform xquery-ref="myXQueryMethod.xq"
 * @dtf:schema-validate return-value="true" parameters="false"
 */
public abstract noNamespace.SupplierDocument myXQueryMethod(noNamespace.PurchaseOrderDocument PurchaseOrderDoc); 

Related Topics

See "Schema Validating During Run Time" in Validating in the Guide to Data Transformation.

@dtf:transform Annotation