title: XPath expression syntax validation
body: <p>I am currently working on a Java project using XPath and since I am not an XPath expert I need to find a way to validate the syntax of random XPath expressions, without matching them to XML data.</p>
  
  <p>I found many XPath validators on the web and unfortunately all of them require XML data.</p>
  
  <p>My immediate need is to validate the following expression:</p>
  
  <pre><code>/cXML/Request/OrderRequest/OrderRequestHeader/Extrinsic/@name[NameOrder]/Name
  </code></pre>
  
  <p>I'd appreciate comments on the validity of this specific one...</p>