Validate with DTD

Operation name

Validate with DTD

Function overview

Validates data with DTD.

Data model

The data model of this component is XML type.

= Remarks =

For more details on input/output schema, refer to Schemas.

Properties

= Remarks =

For details on use of variables, refer to Variables.

Basic settings

Item name

Required/Optional

Use of variables

Description

Remarks

Name

Required

Not available

Enter a name that is used on the script canvas.

 

Input data

Required

Not available

Select a component on the script canvas.

 

Required settings

Item name

Required/Optional

Use of variables

Description

Remarks

File for validation

Required

Available

Enter the DTD file.

The Browse button launches a file chooser that allows you to select a file.

Note

Specify an absolute path of HULFT Square Storage for the file path.

Maximum number of error reports

Optional

Available

Enter the maximum number of errors to report when validation failed.

  • Allowed values are from 1 to 2147483646.

  • The default is 1000.

Comment

Item name

Required/Optional

Use of variables

Description

Remarks

Comment

Optional

Not available

You can write a short description of this connector.

 

Schemas

Same as the schema of input source component.

Mass data processing

Mass data processing isn't supported.

Parallel Stream Processing

PSP isn't supported.

Available component variables

Component variable name

Description

Remarks

success

The result of validation is stored.

  • The default value is null.

  • When succeeded, "true" is stored. When failed, "false" is stored.

message_category

When an error occurs, the category of the message code corresponding to the error is stored.

  • The default value is null.

message_code

When an error occurs, the code of the message code corresponding to the error is stored.

  • The default value is null.

message_level

When an error occurs, the severity of the message code corresponding to the error is stored.

  • The default value is null.

error_type

When an error occurs, the error type is stored.

  • The default value is null.

  • The format of the error type is as follows.

    Example: java.io.FileNotFoundException

error_message

When an error occurs, the error message is stored.

  • The default value is null.

error_trace

When an error occurs, the trace information for the error is stored.

  • The default value is null.

Specification limits

None.

Exception messages

Exception name

Cause

Solution

InputDataNotFoundException

Input data isn't specified.

Specify Input data or draw a data flow.

InvalidPropertyConfigurationException

File for validation isn't specified.

Specify File for validation.

ValidationException

Input data isn't valid for the DTD specified in File for validation.

In Input data, input data that is valid for the DTD specified in File for validation.

java.io.FileNotFoundException

The file specified in File for validation doesn't exist.

Check the specified file.