Is there a java library that validates URNs?
<p>What's the easiest way to validate that a string is a valid <a href="http://www.ietf.org/rfc/rfc2141.txt">URN</a>?</p>

<p><strong>Edit</strong> Using URI is not a correct solution! URIs are allowed to have all kinds of things that URNs can't, like <code>&amp;</code></p>
