Skip to content

Commit c5f836d

Browse files
committed
1 parent bf2b88f commit c5f836d

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎iso19139.che/src/main/plugin/iso19139.che/schema-ident.xml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,23 @@
2323
<elements type="root">
2424
<che:CHE_MD_Metadata/>
2525
<che:CHE_CI_ResponsibleParty/>
26+
<gmd:DQ_DomainConsistency/>
2627
<gmd:MD_Format/>
2728
<gmd:EX_Extent/>
2829
</elements>
2930
</autodetect>
3031
<filters xmlns:gco="http://www.isotc211.org/2005/gco">
31-
<filter xpath="*//*[@gco:nilReason='withheld']"
32+
<filter xpath=".//*[@gco:nilReason='withheld']"
33+
jsonpath="$.*[?(@.nilReason == 'withheld')]"
3234
ifNotOperation="editing">
3335
<keepMarkedElement gco:nilReason="withheld"/>
3436
</filter>
3537
<filter
36-
xpath="*//gmd:onLine[*/gmd:protocol/gco:CharacterString = 'WWW:DOWNLOAD-1.0-http--download']"
38+
xpath=".//gmd:onLine[*/gmd:protocol/gco:CharacterString = 'WWW:DOWNLOAD-1.0-http--download']"
39+
jsonpath="$['link'][?(@.protocol == 'WWW:DOWNLOAD-1.0-http--download')]"
3740
ifNotOperation="download"/>
38-
<filter xpath="*//gmd:onLine[starts-with(*/gmd:protocol/gco:CharacterString, 'OGC:WMS')]"
41+
<filter xpath=".//gmd:onLine[starts-with(*/gmd:protocol/gco:CharacterString, 'OGC:WMS')]"
42+
jsonpath="$['link'][?(@.protocol =~ /OGC:WMS.*?/i)]"
3943
ifNotOperation="dynamic"/>
4044
</filters>
4145
</schema>

0 commit comments

Comments
 (0)