Mercurial > projects > orange
diff orange/serialization/archives/XMLArchive.d @ 31:c68d29967c9f experimental
Fixed some bugs in the handling of pointers.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Sun, 21 Nov 2010 17:37:20 +0100 |
parents | 9d1a8023bb89 |
children | 4fea56a5849f |
line wrap: on
line diff
--- a/orange/serialization/archives/XMLArchive.d Sun Nov 21 17:12:24 2010 +0100 +++ b/orange/serialization/archives/XMLArchive.d Sun Nov 21 17:37:20 2010 +0100 @@ -313,8 +313,7 @@ auto parent = lastElement; lastElement = doc.createNode(Tags.pointerTag); - lastElement.element(Tags.pointerTag) - .attribute(Attributes.keyAttribute, toData(key)) + lastElement.attribute(Attributes.keyAttribute, toData(key)) .attribute(Attributes.idAttribute, toData(id)); addArchivedPointer(id, parent, lastElement, key);