hyperjaxb3 icon indicating copy to clipboard operation
hyperjaxb3 copied to clipboard

HJIII-89 and issue #95

Open kubermario opened this issue 9 years ago • 2 comments
trafficstars

Hi, I am trying to compile GML schemas v3.2.1 and I am facing the following errors:

  • [ERROR] Element collections of any type is not supported. See issue #HJIII-89 (http://jira.highsource.org/browse/HJIII-89)
  • [ERROR] [net.opengis.gml._3.DictionaryTypeDictionaryEntryOrIndirectEntryItem.Item] is a single hetero reference containing element [DictionaryEntry] which is a substitution group head. See issue #95.

Compilations dies with the following error message:

[ERROR] Error while generating code.Location []. org.xml.sax.SAXParseException; Error during plugin execution. java.lang.UnsupportedOperationException: Unexpected type in property [Content] of the class [AbstractMetaDataType].

I've seen on JIRA that these are ld bugs never closed. Are they still alive? Or There's something I can do?

As always, so many thanks in advance for you support. Best, m

kubermario avatar Jul 14 '16 12:07 kubermario

I would really not recommend using HJ with GML schemas. You won't get any reasonable mapping, you'll end up in ugly unusable structures. What you need for GML is probably something like GeoTools and Hibernate Spatial to map geometries onto geometric types in the Database. HJ won't do this.

highsource avatar Jul 17 '16 12:07 highsource

I am going to explore such tools ;-) So many thanks again for all your availability.

Best, Mario

kubermario avatar Jul 18 '16 08:07 kubermario