xsd2pgsql
xsd2pgsql copied to clipboard
Create a DB structure from an XML Schema.
Stumbled on this: File "./xsd2pgsql/xsd2pgsql.py", line 267 print result[1].replace('\n\n', '') ^ SyntaxError: invalid syntax Adding parentheses perhaps?? I would have created a pull request, but there are too many errors...
Getting an error trying to convert http://skjema.geonorge.no/SOSI/produktspesifikasjon/FKB-Ar5/4.6/FKB-Ar546.xsd ``` $ xsd2pgsql/xsd2pgsql.py FKB-Ar546.xsd Traceback (most recent call last): File "xsd2pgsql/xsd2pgsql.py", line 258, in buildTypes(XMLS, xsd) File "xsd2pgsql/xsd2pgsql.py", line 165, in buildTypes USER_TYPES[pg_normalize(el.get('name'))]...