XML string validation

The EMBasicXMLInvoker uses an XML schema to validate XML formatted request and response strings. The location of this schema is determined by the com.bmc.ctmem.emapi.XMLDATAPATH property, which is defined in the ctmemapi.properties file. If this path is not available to the class at run time, the operation fails.

The EMXMLInvoker class does not examine the XML formatted data that it sends or receives, and it does not depend on the presence of the XML schema.

The XML standard does not include support for the following characters. If these characters are used, they are translated in the XML file as listed in the following table:

Character

Meaning

Translated to

<

less than

&lt;

>

greater than

&gt;

&

ampersand

&amp;

"

quotation marks

&quot;

apostrophe

&apos;

ASCII 10

line feed

&#10;

ASCII 13

carriage return

&#13;

For information about using the EMXMLInvoker and EMBasicXMLInvoker see Control-M/EM API requests.

Parent Topic

EMBasicXMLInvoker class