-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Comments
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? |
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 |
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. |
@bgrotan SNAPSHOT Version for testing is available. |
Fixed in 3.4.2 |
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.
The text was updated successfully, but these errors were encountered: