Hi Tamas,

That was probably caused by the "union", which Xsd2Jibx doesn't support. I know it's very rough-edged, and hope to have it replaced by the end of the year. This is another piece of code (like the Ant task, but far more complex) which was donated and then pretty much abandoned, so I've had to take over and do what I can with it.

 - Dennis

Tamas Hegedus wrote:

Hi,

At this moment I can say, I like xsd2jibx a lot.
I also do know that it is in a beta-like version. So I do not want to blame or something similar, just sometimes it would be great to have better ErrorMessages than e.g. java.lang.NullPointerException (without any line number in the xsd file for tracking the error).

So this is just a remark for the next release:

In my case the following part caused a  NullPointerException.

        <xs:attribute name="date" use="optional">
            <xs:simpleType>
                <xs:union memberTypes="xs:date xs:gYearMonth xs:gYear"/>
            </xs:simpleType>
        </xs:attribute>

Regards,
Tamas



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to