node | org.w3c.dom.Node DOM node that is to be converted to an XMLData (Document). Note that com.wm.lang.xml.Node is a DOM node. | ||||
conformsTo | String Optional. Fully-qualified name of the XML document type on Integration Server against which to validate the DOM node. Specify a value for conformsTo only if you want to do the following: Validate the DOM node as part of converting it to XMLData. Integration Server validates a DOM node in the tree as part of converting the tree node to and XMLData-formatted Document. Use the XML document type to direct the conversion of the DOM node. That is, the structure of the XML document type determines the structure of the resulting XMLData.
If you do not specify an XML document type for conformsTo, Integration Server does not validate the input nodes as part of the conversion. Additionally, the service formats the resulting XMLData in a generic way instead of in a manner that matches an XML document type. | ||||
maxErrors | String Optional. Number of errors to be collected. Default value is 1. When the number of errors found is equal to maxErrors, the validation processor stops validation and returns the result. If maxErrors is set to -1, the validation processor returns all errors. The service uses the maxErrors input parameter only when a conformsTo value is specified. | ||||
ignoreContent | String Optional. Flag that specifies whether the validation processor will validate simple content where simple content is content keys of the type String, String List, or String Table. Set to: true to ignore content (that is, do not validate the content of keys of the type String, String List, or String Table). Integration Server validates the structure and key names of the XML document only. false to validate content. This is the default. The service uses the ignoreContent input parameter only when a conformsTo value is specified. | ||||
failIfInvalid | String Optional. Flag that indicates whether the service should fail and throw an exception if the object is invalid. Set to: true to indicate that the service should fail if the object is invalid. false to indicate that service should signal success and return errors to the pipeline if object is invalid. This is the default. The service uses the ignoreContent input parameter only when a conformsTo value is specified. |
isValid | String Conditional. Flag that indicates whether or not validation of the DOM node was successful. A value of: true indicates that the validation was successful. false indicates that the validation was unsuccessful. The service returns the isValid parameter only if conformsTo specifies an XML document type. | |
errors | Document List Conditional. Errors encountered during validation. Each document will contain the following information: | |
Key | Description | |
pathName | String Location of the error in XQL. | |
errorCode | String Error code (for example, VV-001). | |
errorMessage | String Error message (for example, Missing Object). | |
The service returns the errors parameter only if conformsTo specifies an XML document type. | ||
xmlDataDocument | Document An XMLData-formatted document that represents the elements and attributes in the DOM node. |