polotek/libxmljs — pull request #269 by polotek (2014-10-31 05:30:28+00:00)
Title: add assertion to catch failed attribute creation

This problem was surfaced by issue #268. We weren't doing a proper check for failed attribute creation in the attr method. This still fails and segaults, but the reason is now obvious.