Usage
xmlStructuredStop(msg, code, domain, line, col, level, filename, class = "XMLError")
xmlErrorCumulator(class = "XMLParserErrorList", immediate = TRUE)
Arguments
msg
character string, the text of the message being reported
code
an integer code giving an identifier for the error (see
xmlerror.h) for the moment,
domain
an integer domain indicating in which "module" or part of the
parsing the error occurred, e.g. name space, parser, tree, xinclude, etc.
line
an integer giving the line number in the XML content
being processed corresponding to the error,
col
an integer giving the column position of the error,
level
an integer giving the severity of the error ranging from 1 to 3 in
increasing severity (warning, error, fatal),
filename
character string, the name of the document being processed, i.e. its file name or
URL.
class
character vector, any classes to prepend to the class
attribute to make the error/condition. These are prepended to those
returned via simpleError
. immediate
logical value, if TRUE
errors are
displayed on the R console as they are encountered. Otherwise, the
errors are collected and displayed at the end of the XML parsing.