mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-13 09:01:53 +03:00
fix various attribute normalisation problems reported by Ashwin this
* parser.c: fix various attribute normalisation problems reported by Ashwin * result/c14n/without-comments/example-4 result/c14n/with-comments/example-4: this impacted the result of two c14n tests :-\ * test/att9 test/att10 test/att11 result//att9* result//att10* result//att11*: added 3 specific regression tests coming from the XML spec revision and from Ashwin Daniel svn path=/trunk/; revision=3715
This commit is contained in:
@ -320,7 +320,8 @@ xmlCtxtGenericNodeCheck(xmlDebugCtxtPtr ctxt, xmlNodePtr node) {
|
||||
}
|
||||
if (node->next == NULL) {
|
||||
if ((node->parent != NULL) && (node->type != XML_ATTRIBUTE_NODE) &&
|
||||
(node->parent->last != node))
|
||||
(node->parent->last != node) &&
|
||||
(node->parent->type == XML_ELEMENT_NODE))
|
||||
xmlDebugErr(ctxt, XML_CHECK_NO_NEXT,
|
||||
"Node has no next and not last of parent list\n");
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user