In a mapping file, why doesn't <bind-xml> have a namespace attribute?

Suppose I have this class:

public class Foo {

 public Bar fooBar;

}

And I want to map it to:

<foo xmlns="urn:fooSpace">
 <b:fooBar xmlns:b="urn:barSpace"/>
</foo>

My mapping file looks like this:

<class name="Foo">
 <map-to xml="foo" ns-uri="urn:fooSpace"/>
 <field name="fooBar" type="Bar">
   <bind-xml name="fooBar" node="element"/>
 </field>
</class>

<class name="Bar">
 <map-to xml="bar" ns-uri="urn:someOtherSpace"/>
 ....
</class>

-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to