<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Currently it is:</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(66, 60, 252); ">"java.lang"<span style="color: #000000">,</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(66, 60, 252); "><span style="color: #000000"></span>"java.util"<span style="color: #000000">,</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(66, 60, 252); "><span style="color: #000000"></span>"javax.annotation"<span style="color: #000000">,</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(66, 60, 252); "><span style="color: #000000"></span>"javax.inject"<span style="color: #000000">,</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(66, 60, 252); "><span style="color: #000000"></span>"javax.enterprise.inject"<span style="color: #000000">,</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(66, 60, 252); "><span style="color: #000000"></span>"javax.enterprise.context"<span style="color: #000000">,</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(66, 60, 252); "><span style="color: #000000"></span>"javax.enterprise.event"<span style="color: #000000">,</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(66, 60, 252); "><span style="color: #000000"></span>"javax.decorator"<span style="color: #000000">,</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(66, 60, 252); "><span style="color: #000000"></span>"javax.interceptor"<span style="color: #000000">,</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; color: rgb(66, 60, 252); "><span style="color: #000000"></span><br></div></div><div>Should the root namespace for seam-xml be changed to&nbsp;<a href="http://java.sun.com/xml/ns/javaee?">http://java.sun.com/xml/ns/javaee?</a> I did not use this originally for portability reasons, as other CDI implementations might not &nbsp;like having 'foreign' elements in this namespace in beans.xml.</div><div><br></div><div>Stuart</div><div>&nbsp;</div><br><div><div>On 14/06/2010, at 4:43 PM, Gavin King wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Mon, Jun 14, 2010 at 8:21 AM, Stuart Douglas<br>&lt;<a href="mailto:stuart@baileyroberts.com.au">stuart@baileyroberts.com.au</a>&gt; wrote:<br><br><blockquote type="cite"><blockquote type="cite">---------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Seam XML<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">---------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">* CDI annotations need to come from the CDI namespace, not the Seam namespace. For example:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&nbsp; &lt;s:Qualifier /&gt; or &lt;s:Specializes /&gt; -&gt; &lt;cdi:Qualifier /&gt; or &lt;cdi:Specializes /&gt;<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">What namespace is &lt;cdi: bound to? <a href="http://java.sun.com/xml/ns/javaee?">http://java.sun.com/xml/ns/javaee?</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">If so should I dump the seam namespace entirely, or just move the annotations into a different namespace?<br></blockquote><br><br>Things that are annotations or types from the CDI/EE packages<br>javax.enterprise.inject, javax.inject, etc, should all live in the<br>default namespace. Not quite sure what it should be called, but the<br>spec used to say:<br><br>The Java EE namespace urn:java:ee represents the following packages:<br><br>• java.lang<br>• java.util<br>• javax.annotation<br>• javax.enterprise.inject<br>• javax.enterprise.context<br>• javax.interceptor<br>• javax.decorator<br>• javax.enterprise.event<br>• javax.ejb<br>• javax.persistence<br>• javax.xml.ws<br>• javax.jms<br>• javax.sql<br><br>Now, for what we're doing, that list is probably a bit long and could<br>be trimmed.<br><br>-- <br>Gavin King<br><a href="mailto:gavin.king@gmail.com">gavin.king@gmail.com</a><br>http://in.relation.to/Bloggers/Gavin<br>http://hibernate.org<br>http://seamframework.org<br></div></blockquote></div><br></body></html>