sshaw / jaxb2ruby

Generate pure Ruby objects from an XML schema (XSD) using JAXB and JRuby. Use your favorite XML to object mapper or a custom ERB template.
12 stars 9 forks source link

Optional xjb files #8

Closed jweir closed 3 years ago

jweir commented 3 years ago

We came across some xsd files recently that had multiple elements with the same name, only one version was lower case. For example Name and name.

This creates conflicts in xjc, unless there is are binding definitions to work around this. So we opened up the gem to take -b options in the same manner as xjc.

jweir commented 3 years ago

Just so you know we have silently been using this library. While we don't use it often, it has been incredibly helpful and makes our lives so much better. Before mappings were hand done and slow. This accelerates our development a lot and makes our lives so much nicer.

So thank you very much.

sshaw commented 3 years ago

Hi, thanks again. Have you been using the old version or this branch with "modern java" updates?

Give me a day or so to review this...

jweir commented 3 years ago

I just started using this branch today. Before we were using the official gem.