= Add gco:CharacterString substitution group support and filter substitution element list = || '''Date''' || 2010/03/09 || || '''Contact(s)''' || Francois || || '''Last edited''' || [[Timestamp]] || || '''Status''' || Draft || || '''Assigned to release''' || 2.5 || || '''Resources''' || GĂ©oSource [BRGM] || || '''Ticket''' || || == Overview == Actually, GeoNetwork ignore all gco:CharacterString substitutes due to the following lines in schema-substitutes.xml : {{{ }}} It also provide by default all substitutes of an element (see below). The proposal allows to filter these substitution lists. [[Image(substition-group-all.png)]] The idea of the proposal is to be able for some elements to be able to use one or more substitutes of gco:CharacterString. Indeed, some substitute like gmx:FileName or gmx:Anchor could be useful in some situation. The proposal enhancements are : * Add configuration of allowed substitutes for an element * Add support for gmx:FileName to be used to store a document in the catalogue (added by default to otherCitationDetails) * Suggest only gml:Polygon for bounding polygon element. === Proposal Type === * '''Type''': Editor * '''App''': !GeoNetwork * '''Module''': Editor === Links === * '''Email discussions''': * '''IRC discussions''': === Voting History === * Vote not yet proposed == Proposal details == === Configuration === The file schema-substitutes.xml is modified to load gco:CharacterString on startup. GMX schema is imported in schema.xsd. === Configuration for gmd:otherCitationDetails === In the schema-suggestion.xml, otherCitationDetails allows use of CharacterString or FileName {{{ }}} This will trigger the following in the editor : [[Image(substition-group-otherCitationDetails.png)]] Using the gmx:FileName, editors could upload document for the element using the upload panel : [[Image(substition-group-otherCitationDetails-upload.png)]] === Configuration for gmd:polygon === {{{ }}} will only suggest gmd:Polygon to editors. Furthermore, the bounding polygon extent map drawing tools only allows to draw polygons. This will make the editor more consistent. == Risks == == Participants == * Francois