Hi Ørjan,
If you'd like to see this, add an enhancement request in Jira. There's a
good chance I can get this into the next 1.1 release if you do.
- Dennis
Orjan Austvold wrote:
Kalin,
Thanks for the prompt answer, but that didn't help.
I read some more on the documentation of the include element and found
out that you can not have format elements as children in an included
binding.
To bad since it seems like a waste to define the same 30+ formats over
again in new binding files.
Ørjan
Wilson, Kalin (N-Scitor) wrote:
Orjan,
Try <include path="" /> vice 'File='
Kalin Wilson
Scitor Corp
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Orjan
Austvold
Sent: Monday, February 27, 2006 12:44 PM
To: [email protected]
Subject: [jibx-users] include of binding with formats
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=k&kid0944&bid$1720&dat1642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------
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=k&kid0944&bid$1720&dat1642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------
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_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------
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