Opened 11 years ago
Closed 11 years ago
#540 closed defect (fixed)
gml:description in ParametrizedCRS definition
Reported by: | Piero Campalani | Owned by: | Piero Campalani |
---|---|---|---|
Priority: | trivial | Milestone: | 9.0 |
Component: | secore | Version: | development |
Keywords: | description | Cc: | |
Complexity: | Easy |
Description
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
)
E.g.:
<ParameterizedCRS xmlns="http://www.opengis.net/CRS-NTS/1.0" xmlns:epsg="urn:x-ogp:spec:schema-xsd:EPSG:1.0:dataset" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xlink="http://www.w3.org/1999/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://www.ietf.org/rfc/rfc3986">http://localhost:8090/def/crs/OGC/0/AnsiDate</gml:identifier> <parameters> ...
Now gives:
<ows:Exception exceptionCode="XmlNotValid" locator="description"> <ows:ExceptionText> Unexpected element name description, expected one of parameters, identifier, or targetCRS </ows:ExceptionText> </ows:Exception>
Note:
See TracTickets
for help on using tickets.
changeset:a61b033c53ab9923f314c8ff97277be6a6fc1171