The XMLEvent getLocation() interface method has the following documentation:
"Return the location of this event. The Location returned from this method is
non-volatile and will retain its information."
However, this is not true in the SJSXP implementation: the return value of
XMLReaderImpl.getLocation() is stored in XMLEvent instances, and that Location
object is volatile (only valid until next() is called).