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

Error/exception when generating DDL (postgis) from XSD with non-ascii characters in tag-names. #757

Closed
bgrotan opened this issue Aug 25, 2016 · 6 comments
Labels
bug error issue and bug (fix) ready

Comments

@bgrotan
Copy link

bgrotan commented Aug 25, 2016

Goal: Generate PostgreSQL/PostGIS tables from XSD and expose as WFS 2.0
(XSD generated from EA - Enterprise Architect).

Tested with Java7/Tomcat8

Reproduction:
(down)load RadonAktsomhet.xsd
(rename from txt) into deegree webapp-folders and reload config.

The problem occurs when trying to generate the DDL from the XSD. Deegree webinterface gave me a non-inuitive errormessage. Looking at the stacktrace in tomcat server logfiles, it seems to me to be related to the xml parser somehow. Please advice if this is something that can be reconfigured or if it is a deeper problem with an external library outside Deegree.

If I change the xsd-file so no norwegian (æøå) characters are found in tag-names (område -> omrade)
the DDL-process works as expected, and also WFS 2.0 getCapabilities and other get*-calls are functioning as expected.

The goal here is to get Deegree to generate the DDL from the valid XSD-file, but before running the DDL - I want to change suggested column names to only consist of a-z.

We also see that some relations from the original UML model does not propagate down to the DDL. If this problem is related or seperate issue, I am not sure.

@tfr42 tfr42 added the bug error issue and bug (fix) label Aug 26, 2016
@tfr42 tfr42 added this to the 3.4 milestone Aug 26, 2016
@tfr42
Copy link
Member

tfr42 commented Aug 30, 2016

Thanks for your posting. Can you please post which version of deegree you are using for generating the SQL DDL and deegree FeatureStore configuration files?
And please post for which version of deegree you would like to have the bug fix.

@tfr42 tfr42 added contributions welcome asking for contribution (time and money sponsor) funding welcome financial sponsoring wanted (money) labels Aug 30, 2016
@bgrotan
Copy link
Author

bgrotan commented Aug 31, 2016

deegree version is 3.3.18

I would rather have a fix for 3.3.x than wait around for 3.4 since we are planning to make use of Deegree for our national public delivery of datasets with WFS 2.0 and GML 3.2.1

@tfr42
Copy link
Member

tfr42 commented Sep 6, 2016

We also see that some relations from the original UML model does not propagate down to the DDL. If this problem is related or seperate issue, I am not sure.

This issue might be related to #746 or #742 when using deegree 3.4.

@tfr42 tfr42 added in progress and removed funding welcome financial sponsoring wanted (money) labels Oct 26, 2016
@tfr42
Copy link
Member

tfr42 commented Nov 28, 2016

Besides deegree FeatureStore config is supporting unicode characters the database must support unicode for table and column names too. PostgreSQL and Oracle DBMS do support this but other may not. Hint needs to be added to the deegree handbook.

@tfr42 tfr42 added ready and removed in progress labels Dec 9, 2016
@tfr42
Copy link
Member

tfr42 commented Dec 9, 2016

@bgrotan SNAPSHOT Version for testing is available.
Patch available at: https://github.com/lat-lon/deegree3/tree/translateUnicodeToAsciiInFeatureStoreCOnfigWriter-4166

@tfr42 tfr42 removed the contributions welcome asking for contribution (time and money sponsor) label Dec 9, 2016
@tfr42 tfr42 removed this from the 3.4 milestone Apr 7, 2018
@tfr42
Copy link
Member

tfr42 commented Jul 6, 2018

Fixed in 3.4.2

@tfr42 tfr42 closed this as completed Jul 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug error issue and bug (fix) ready
Projects
None yet
Development

No branches or pull requests

2 participants