Hello all,
I have recently been working on implementing a new schema in GeoNetwork. It
is a conformance level one profile of iso19139, and thus requires a few
changes to the XSD files included in the original iso19139 GeoNetwork schema
directory.
In attempting to handle co-dependencies, I would like to use XML Schema
1.1's <assert> functionality to ensure certain elements are/are not required
when other related related elements are defined. Would this require a major
reworking in GeoNetwork?
I suppose the ultimate goal is for when using GeoNetwork's create/edit
metadata tool, to have the ability for a red required outlining box to
dissappear/appear from a co-dependent field when one of its related fields
is emptied or populated.
Does this make sense? I've also read about using schematron within XSD files
- could this help the cause either?
Thanks,
Dominic
--
View this message in context: http://n2.nabble.com/Using-XML-Schema-1-1-assert-functionality-in-schema-validation-tp4629453p4629453.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.