[Fdo-trac] [fdo-trac] #998: WFS DescribeSchema fails on landvic service
FDO
trac_fdo at osgeo.org
Fri Aug 26 09:23:40 PDT 2022
#998: WFS DescribeSchema fails on landvic service
--------------------------+------------------------
Reporter: jng | Owner: jng
Type: defect | Status: assigned
Priority: major | Milestone: 4.1.0
Component: WFS Provider | Version: 4.1.0
Severity: 3 | Resolution:
Keywords: | External ID:
--------------------------+------------------------
Comment (by jng):
Further testing reveals the actual cause. It is not the 414 error from
constructing a giant URL. Because when this happens, it does a fallback
attempt where it doesn't try to append this giant list of layer names.
The actual problem is that the DescribeFeatureType response contains 2
layer names that are being treated as the same feature class name:
* `WATER_IRRIGATION_SYSTEM_ALLOCATION`
* `WATER_IRRIGATION_SYSTEM_ALLOCATION_`
Digging further shows that Xerces is reading these attributes wrong. The
one with the trailing underscore is being read with the trailing
underscore stripped out, resulting in an erroneous class name collison by
the FDO XML SAX handler.
Attached is a minimal XML document that cannot be read into a
`FdoFeatureSchemaCollection`
--
Ticket URL: <https://trac.osgeo.org/fdo/ticket/998#comment:4>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list