[GeoSciML] Schematron rule not(@srsName) or not(@srsDimension)

Sen, Marcus A. mase at bgs.ac.uk
Tue Oct 2 11:39:47 EDT 2012

> -----Original Message-----
> From: geosciml-bounces+mase=bgs.ac.uk at lists.opengeospatial.org
> [mailto:geosciml-bounces+mase=bgs.ac.uk at lists.opengeospatial.org] On
> Behalf Of Boisvert, Eric
> Sent: 21 September 2012 13:48

> I'm not sure I understand the rule.
> not(@srsName) or not(@srsDimension)
> Means that either one must be blank, while the text says "Spatial
> object gml:Point must have srsName and srsDimension attributes"
> (so, they must both be there ?)
This is in a <report> element rather than an <assert> element so the "error" message will be output if either attribute is not present. This rule was in Bruce Simon's original list but I am inclined to drop it (thus my <!-- Forget this --> comment in file). I'm mainly inclined to drop it because the GML rules mean that srsName is inherited from enclosing elements which this doesn't check and configuring how these attributes are attached to GML is generally an artefact of the WFS software (if using WFS) and not easily controlled by the user. If no-one disagrees, I'll drop this rule.


This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.

More information about the GeoSciML mailing list