InputValidationOption (DxlImporter - Java)

Read-write. Indicates that if a DTD is specified in the XML declaration statement, it should be used to validate the input XML.

Defined in

DxlImporter

Data type

int

Syntax

public int getInputValidationOption()
    throws NotesException
public void setInputValidationOption(int option)
    throws NotesException

Legal values

  • DxlImporter.DXLVALIDATIONOPTION_VALIDATE_NEVER (0)

    Do not try to validate.

  • DxlImporter.DXLVALIDATIONOPTION_ VALIDATE_ALWAYS (1)

    Validate the input.

  • DxlImporter.DXLVALIDATIONOPTION_ VALIDATE_AUTO (2)

    (Default) If the DTD is specified, validate the input; otherwise, do not validate.