title: XHTML won't validate && and < in a JavaScript function
body: <p>Here's the snippet of code that won't validate:</p>
  
  <pre><code>if (user_age &gt; 15 &amp;&amp; user_age &lt; 91)
  </code></pre>
  
  <p>It gets the following errors:</p>
  
  <blockquote>
    <p>XML Parsing Error: StartTag: invalid element name</p>
  </blockquote>
  
  <p>and</p>
  
  <blockquote>
    <p>XML Parsing Error: xmlParseEntityRef: no name</p>
  </blockquote>
  
  <p>The first error is thrown for the "less than" and the second one is thrown twice, once for each ampersand.</p>
  
  <p>Replacing the above signs with <code>&amp;</code> and <code>&lt;</code> validates fine, but of course it completely ruins the function.</p>