RemoveDoctypeDeclaration

Group

Preparsers

Class Name

com.ebd.hub.datawizard.parser.stream.RemoveDoctypeDeclaration

Function

This preparser is able to remove a DOCTYPE declaration at the beginning of an XML file.

Configuration File

sample_remove_doctype.properties

Description


This function is deprecated.

This preparser is able to remove a DOCTYPE declaration at the beginning of an XML file. It is a stream preparser, which allows you to process data of any size, without storing the whole data in the internal memory. To improve performance, if the input file does not have a DOCTYPE declaration, it is possible to cancel the search after a number of lines. The optional parameter breakLine defines the line count, after which the search will be cancelled. A positive integer value is expected, which overwrites the default value of 20.

Important note: The option Result of preparser does overwrite backup file must be active.


breakLine

Line count, after which the search for a DOCTYPE declaration is cancelled.

Example File


sample_remove_doctype.properties
breakLine=100