Error while defining String constant
<p>Given:   </p>

<pre><code>public static final String XML_POLICY =
            "&lt;?xml version="1.0"?&gt;"
            +"&lt;!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd"&gt;"
            + "&lt;cross-domain-policy&gt;"
            + "&lt;allow-access-from domain="*" to-ports="*" /&gt;"
            + "&lt;/cross-domain-policy&gt;";
</code></pre>

<p>I am getting compile errors on the </p>

<pre><code>"&lt;?xml version="1.0"?&gt;"
</code></pre>

<p>it says '<code>;</code>' expected.  </p>

<p>and on </p>

<pre><code>+"&lt;!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd"&gt;"
</code></pre>

<p>it says "cannot find symbol, symbol: class xml and class dtds"</p>

<p>What could be the possible cause? IDE is Netbeans 6.8 Beta.</p>
