DescriptionInsert the error message block when stopping parsing and an error occurred
When XMLDocumentParser::stopParsing() is called to stop parsing, call
insertErrorMessageBlock() to insert the <parsererror> element if an error
occurred.
The <parsererror> element was not being added to the document in certain
cases involving attribute parsing. For example, if an undeclared namespace
prefix was used in the document, then parsing would stop, but a <parsererror>
element would not be inserted into the document to indicate that a parsing
error occurred.
BUG=295809
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : Simplify the patch #Patch Set 4 : Fix svg/custom/missing-xlink.svg #
Messages
Total messages: 10 (1 generated)
|