[seam-commits] Seam SVN: r12786 - modules/xml/trunk/docs/en-US.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Mon May 24 17:47:00 EDT 2010
Author: swd847
Date: 2010-05-24 17:47:00 -0400 (Mon, 24 May 2010)
New Revision: 12786
Modified:
modules/xml/trunk/docs/en-US/xml-general.xml
Log:
updated docs for SEAMXML-2
Modified: modules/xml/trunk/docs/en-US/xml-general.xml
===================================================================
--- modules/xml/trunk/docs/en-US/xml-general.xml 2010-05-24 21:40:30 UTC (rev 12785)
+++ modules/xml/trunk/docs/en-US/xml-general.xml 2010-05-24 21:47:00 UTC (rev 12786)
@@ -67,6 +67,17 @@
to resolve classes in the java package <literal>org.jboss.seam.xml.test.injection</literal>,
so in the example above <literal><test:ProducerBean></literal> resolves to
<literal>org.jboss.seam.xml.test.injection.ProducerBean</literal>.</para>
+
+ <para>It is possible to map an XML namespace to multiple java packages. This is
+ done by sperating the packages with a colon like so:</para>
+ <programlisting>
+ <![CDATA[
+ xmlns:test="urn:java:com.mydomain.package1:com.mydomain.package2"
+ ]]>
+ </programlisting>
+ <para>The namespaces are searched in the order they are specified in the xml
+ document.</para>
+
<programlisting>
<![CDATA[
<test:ProducerQualifier>
More information about the seam-commits
mailing list