Wow, that is definitely a problem… I’ve always thought that if it were going to be just one method, they should have called it getProperty() instead, because attribute key-value pairs are stored as a property anyway:
In fact, I’m pretty sure that getAttribute() operates solely against properties, and just checks the “attributes” property to find attribute values for a node. Maybe this is what you’re already doing, but I wonder if you could check the true value property:
against the “value” map entry in the attribute property:


