Opened 4 years ago

Closed 4 years ago

#540 closed defect (fixed)

gml:description in ParametrizedCRS definition

Reported by: pcampalani Owned by: pcampalani
Priority: trivial Milestone: 9.0
Component: secore Version: development
Keywords: description Cc:
Complexity: Easy


When uploading a CRS definition of a parametrized CRS, a gml:description element is not allowed, whereas the schema definition permits it ([0..1] multiplicity in the root gml:AbstractGML)


<ParameterizedCRS xmlns="" xmlns:epsg="urn:x-ogp:spec:schema-xsd:EPSG:1.0:dataset" xmlns:gml="" xmlns:xlink="" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" gml:id="param-ansi-date-crs">
  <description>Parametrized temporal CRS of days elapsed from 1-Jan-1601 (00h00 UTC).</description>
  <gml:identifier codeSpace="">http://localhost:8090/def/crs/OGC/0/AnsiDate</gml:identifier>

Now gives:

<ows:Exception exceptionCode="XmlNotValid" locator="description">
Unexpected element name description, expected one of parameters, identifier, or targetCRS

Change History (1)

comment:1 Changed 4 years ago by dmisev

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.