Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HJIII-89 and issue #95 #30

Open
kubermario opened this issue Jul 14, 2016 · 2 comments
Open

HJIII-89 and issue #95 #30

kubermario opened this issue Jul 14, 2016 · 2 comments

Comments

@kubermario
Copy link

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

@highsource
Copy link
Owner

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.

@kubermario
Copy link
Author

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

Best,
Mario

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants