<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 12/13/09 11:16 AM, Dan Allen wrote:
<blockquote
 cite="mid:19758da0912130916h2c89126fnc430d281bb4bb87e@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">One thing to keep in mind with the default
namespace is that if you want to use HTML, you would have to prefix it
in the case above (which might be strange to some people):<br>
  <div><br>
  <div>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br>
  </div>
&lt;component xmlns="jsf:cc" xmlns:html="<a moz-do-not-send="true"
 href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>"&gt;<br>
   &lt;interface&gt;<br>
      &lt;attribute name="name" required="true"/&gt;<br>
   &lt;/interface&gt;<br>
   &lt;implementation&gt;<br>
      Hello, &lt;html:strong&gt;#{<a moz-do-not-send="true"
 href="http://cc.attr.name/" target="_blank">cc.attr.name</a>}&lt;/html:strong&gt;<br>
   &lt;/implementation&gt;<br>
&lt;/component&gt;<br>
  </div>
  </div>
</blockquote>
Hmm.  Yuck. :) I don't mind using cc:foo.  I already have to prefix any
JSF components I use, so I don't mind using prefixes in general.  I
would, however, really hate life if I had to html:prefix html:every
html:last html:html html:widget (you get the point :) in the
component.  I guess this being XML, you can choose the default
namespace you want, but I'm not sure *I* see much in that to get
excited about. :)<br>
<pre class="moz-signature" cols="72">-- 
Jason Lee, SCJP
President, Oklahoma City Java Users Group
Senior Java Developer, Sun Microsystems
<a class="moz-txt-link-freetext" href="http://blogs.steeplesoft.com">http://blogs.steeplesoft.com</a></pre>
</body>
</html>