code: public final void initInputLocation(WstxInputData reader, int currScopeId,
              int entityDepth) {
          mScopeId = currScopeId;
          mEntityDepth = entityDepth;
          doInitInputLocation(reader);
      }
docs: Method called by Reader when current input has changed to come
  from this input source. Should reset/initialize input location
  information Reader keeps, for error messages to work ok.
  
  @param reader Reader whose data structures are to be used for
  returning data read
  @param currScopeId