title: Selenium webdriver Xpath with dot (.) in attribute name
body: <p>I have the following html:</p>
  
  <pre><code>&lt;table id="oTable"&gt;
  &lt;tbody&gt;
      &lt;tr mote.id="12345"&gt;
          &lt;td&gt;Status&lt;/td&gt;
          &lt;td&gt;1&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr mote.id="54321"&gt;
          &lt;td&gt;Status&lt;/td&gt;
          &lt;td&gt;2&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
  </code></pre>
  
  <p></p>
  
  <p>I want to locate the row with <code>mote.id</code> and click the first <code>td</code>-tag</p>
  
  <pre><code>WebElement element = getDriver().findElement(By.xpath("//tr[@mote.id='12345']/td[1]"));
  </code></pre>
  
  <p>But I get the following Error: </p>
  
  <pre><code>Bad token, expected: ] got: .
  </code></pre>