users@jaxb.java.net

adding binding declarations from seperate file

From: Siedow, Ralf <Ralf.Siedow_at_telekom.de>
Date: Mon, 07 Apr 2003 16:47:03 +0200

Hello,

I have a default.xjb with the following content:
<jxb:globalBindings version="1.0" xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" generateIsSetMethod="true"/>

and another version:
<jxb:bindings xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
        <jxb:property generateIsSetMethod="true"/>
        <jxb:globalBindings generateIsSetMethod="true"/>
</jxb:bindings>

Both do validate correctly against the schema but when I use xjb with the -b option no is*()-Methods are generated.
It seems that my default.xjb is read/parsed but ignored. How can I add my own bindings without touching my schema or even knowing about it's definitions (element names and so on ...)?

Thanks,
        Ralf