XML_VALIDATE

LANSA Composer

XML_VALIDATE

This activity validates an XML document file.  If the document is found to be invalid, the activity ends in error – you may wish to use a CATCH directive in your Processing Sequence immediately after this activity in order to handle any errors that result.

At the minimum, the activity will verify (by its successful completion) that the XML document is well-formed.  If the XML document contains or references a DTD or an XML schema and the DTD or schema can be accessed, then the document content will be validated against the DTD or schema.

INPUT Parameters:

XMLFILE : Required

This parameter specifies the path and name of the XML document file to be validated.

OUTPUT Parameters:

There are no output parameters for this activity.