Unlike the XML-over-HTTP API, attributes are not defined with object references in the JavaScript API. You should not rely on the values of these constants, and they may vary between applications even if the attribute is defined in exactly the same way. Always use the symbolic names.