| 1 | First draft documentation |
| 2 | |
| 3 | == Simple concept presentation: == |
| 4 | |
| 5 | Metadata view : |
| 6 | * Get Metadata from DB |
| 7 | * Resolve XLink |
| 8 | * View via XSL |
| 9 | |
| 10 | Metadata edit : |
| 11 | * Get Metadata from DB |
| 12 | * Resolve XLink |
| 13 | * (optional) XSD validation |
| 14 | * (optional) schematron validation |
| 15 | * Metadocument to be processed for editing |
| 16 | |
| 17 | The XLink resolver is used before index, export, view, edit operation. |
| 18 | |
| 19 | == Metadata storage and XLink resolution == |
| 20 | Metadata stored in DB: |
| 21 | {{{ |
| 22 | <gmd:contact> |
| 23 | <gmd:CI_ResponsibleParty xlink:href= »xml/codelist/CI_ReponsibleParty.xml#xpointer(//gmd:CI_ResponsibleParty[id='XXXX'])xmlns(gml=http://www.isotc211.org/2005/gmd) »/></gmd:contact> |
| 24 | <gmd:contact> |
| 25 | }}} |
| 26 | |
| 27 | |
| 28 | Metadata after XLink resolver operation: |
| 29 | {{{ |
| 30 | <gmd:CI_ResponsibleParty xlink:href= »xml/codelist/CI_ReponsibleParty.xml#xpointer(//gmd:CI_ResponsibleParty[id='XXXX'])xmlns(gml=http://www.isotc211.org/2005/gmd) »> |
| 31 | <gmd:individualName gco:nilReason="missing"> |
| 32 | <gco:CharacterString/> |
| 33 | </gmd:individualName> |
| 34 | <gmd:organisationName> |
| 35 | ... |
| 36 | </gmd:CI_ResponsibleParty> |
| 37 | </gmd:contact> |
| 38 | }}} |
| 39 | |
| 40 | |
| 41 | == XLink resolver == |
| 42 | * search only XLinked tags |
| 43 | * handle missing fragement, timeout (not implemented yet) |
| 44 | * cache XLink fragment (not implemented yet) |