highsource / ogc-schemas

XML<->Java and XML<->JS for OGC XSDs.
BSD 2-Clause "Simplified" License
82 stars 49 forks source link

Update ogc-schemas.js #224

Open mcauer opened 3 years ago

mcauer commented 3 years ago

SLD_1_0_0_Geosever does not work,

because it exports an undefined property.

It Must refer to require('./lib/SLD_1_0_0_GeoServer').SLD_1_0_0

instead of require('./lib/SLD_1_0_0_GeoServer').SLD_1_0_0_GeoServer.

mcauer commented 3 years ago

@highsource Hi, Alexey, thanks for this really cool library it's very useful.

Could you have a look in this PR, it's just a small bugfix but without it SLD_1_0_0_Geosever schema can not be used at all :(.

Best Michael

soc commented 3 years ago

Hi @mcauer, please see https://github.com/highsource/ogc-schemas/issues/225. Thank you!