If available, set a reference to the node in XML::SyntaxError