code: public Selector parseWholeSelector(String selector) 
    {
  	if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
  	    tc.entry(
  	      cclass,
  	      "parseWholeSelector",
  	      "selector: " + selector);
  	
      // Need to set the domain to XPATH1.0
      Identifier ident = new IdentifierImpl(selector);
      // Set the full name into the identifier. The full name is used in position assignment when
      // determining uniqueness of names. Only a full name will do.
      ident.setFullName(selector);    
      ident.setSelectorDomain(2);
          
      // Call XPath to compile the XPath1.0 expression and store the
      // resultant XPathExpression in the Identifier.
      XPathExpression xpexp = null;
      try
      {
        // Parse an expression up-front
        XPath xpath0 = XPathFactory.newInstance().newXPath();
        
        // If a namespace context has been set then set it into the XPath env      
        if(namespaceContext != null)
          xpath0.setNamespaceContext(namespaceContext);
        
        xpexp = xpath0.compile(selector);
      }
      catch (Exception ex)
      {
        // No FFDC Code Needed.
        // FFDC driven by wrapper class.
        // This signals that the XPath compiler encountered a problem
        FFDC.processException(cclass,
          "com.ibm.ws.sib.matchspace.selector.impl.XPath10ParserImpl",
          ex,
          "1:143:1.16");
   
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
          tc.debug(this,cclass, "parseWholeSelector", ex);   
        
        // Set the identifier object to "invalid"
        ident.setType(Selector.INVALID);
      }
  
      // Store xpexp in the Identifier    
      ident.setCompiledExpression(xpexp);
      
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
          tc.exit(this,cclass, "parseWholeSelector", ident);
      
      return ident;
    }
docs: This method retains the behaviour of the first implementation of XPath support,
  where the entire expression is wrapped in a single identifier.
  
  @param selector
  @return