Hi,

I have a couple of bindings sharing the same format definitions but I cannot find a way to correctly include a shared binding file defining the formats.

In the example below i get an exception on binding compile telling me that the BarFormat is unknown.
Has this something to do with namespaces?


Thanks,
Ørjan


Example:

file: formats.xml

<binding>
  <format type="Bar" label="BarFormat"/>
</binding>


file: binding.xml

<binding>
  <include file="formats.xml"/>

  <mapping name="Foo" class="Foo">
     <namespace uri="..." defaults="elements"/>
     <value name="Bar" field="bar" format="BarFormat"/>
  </mapping>
</binding>



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to