code: private void wrapLocationStep(String selector,
                                  int start,
                                  int stepEnd)
      throws InvalidXPathSyntaxException
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        tc.entry(cclass,
                 "wrapLocationStep",
                 "selector: " + selector + ", start: " + start + ", stepEnd: " + stepEnd);
      
      String step = selector.substring(start,stepEnd);
      String full =  selector.substring(0,stepEnd);
      // Add an IdentifierImpl for the location step to the array list
      selOperands.add(createIdentifierForSubExpression(step, full, true, false)); 
      
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        tc.exit(this,cclass, "wrapLocationStep");    
    }
docs: Wrap a location step in an Identifier.
  
  @param selector
  @param start
  @param stepEnd
  @throws InvalidXPathSyntaxException