manakai//Predefined User Data Names

List of manakai's predefined user-data names

[1] manakai makes use of some user data names (as used with getUserData and setUserData methods of Node interface) for its own purpose.

[2]

User Data NameValueDescription
manakai_has_referencebooleanWhatpm::HTML sets this user data to charset attribute of meta element, as a flag whether the attribute contains any character entity reference or not. This user data is referenced by Whatpm::ContentChecker::HTML for conformance checking of charset attribute.
manakai_diinteger?Source document ID
manakai_posArray reference of array reference of four Perl numbersList of line and column numbers in the value followed by line and column numbers in the source. (OBSOLETE)
manakai_source_columnintegerThe column number in the line in the source file, from which the node has been created by the parser.
manakai_source_fPerl Path::ClassThe Path::Class object identifying the source file from which the node has been created by the parser. Typically used in the Document node.
manakai_source_file_nameDOMStringThe path to the source file from which the node has been created by the parser.
manakai_source_lineintegerThe line number in the source file, from which the node has been created by the parser.
manakai_spssps data structureSource positions data structure for the node
manakai_title_metadataDOMStringThis user data can be specified for a Document. It represents the title metadata from a higher-level protocol. It is used to check the conformance of an HTML document with no title element.