Combining validation schemas ATOM encoding validation using W3C schemas and Schematron

Copyright © 2012 Open Geospatial Consortium. 45 choice attribute name=default type=boolean default=false annotation documentationSpecifies the style to be applied when the service is invoked other styles are there as alternatives.documentation annotation attribute complexType

7.1.2.2.5 Combining validation schemas

Core Schematron rules can be inherited by a Schematron extension by using the include element. Namespaces are defined using the ns element. ?xml version=1.0 encoding=UTF-8? iso:schema xmlns:iso=http:purl.oclc.orgdsdlschematron xmlns:xsi=http:www.w3.org2001XMLSchema-instance schemaVersion=ISO19757-3 xsi:schemaLocation=http:purl.oclc.orgdsdlschematron ....sch2006schematron.xsd iso:titleSchematron validation for OWS contextiso:title iso:ns prefix=atom uri=http:www.w3.org2005Atom iso:ns prefix=dc uri=http:purl.orgdcelements1.1 iso:ns prefix=georss uri=http:www.georss.orggeorss iso:ns prefix=gml uri=http:www.opengis.netgml iso:ns prefix=owc uri=http:www.opengis.netowc1.0 iso:include href=atom2005atom.schatom On the other hand, each XSD file has a single target namespace. To allow extensibility, the core is in one namespace and each extension has another namespace. This makes the XSD validation declaration a bit more complicated. Please, note the inclusion of both the Schematron for the OWS Context document and the RelaxNG Atom validation. ?xml version=1.0 encoding=UTF-8? ?valbuddy_schematron ..OWSContextCore.sch? ?xml-model href=..atom2005atom.rng type=applicationrelax-ng-regular- syntax? ?xml-stylesheet href=owc2html.xsl type=textxsl? feed xmlns=http:www.w3.org2005Atom xmlns:dc=http:purl.orgdcelements1.1 xmlns:georss=http:www.georss.orggeorss xmlns:gml=http:www.opengis.netgml xmlns:owc=http:www.opengis.netowc1.0 46 Copyright © 2012 Open Geospatial Consortium. xmlns:xsi=http:www.w3.org2001XMLSchema-instance xsi:schemaLocation=http:www.w3.org2005Atom ..atom2005atom.xsd http:purl.orgdcelements1.1 http:schemas.opengis.netcsw2.0.2rec-dcmes.xsd http:www.georss.orggeorss http:georss.orgxml1.1georss.xsd http:www.opengis.netgml http:georss.orgxml1.1gmlgeorss311.xsd http:www.opengis.netowc1.0 ..OWSContextCore.xsd xml:lang=en

7.1.3 ATOM examples

The following sections describe individual ows:content that can be combined in an Atom feed document.

7.1.3.1 ATOM offering content example

This is an example of GML embedded content in an owc:offering element. ?xml version=1.0 encoding=UTF-8? ?valbuddy_schematron ..OWSContextCore.sch? ?xml-model href=..atom2005atom.rng type=applicationrelax-ng-regular- syntax? feed xmlns=http:www.w3.org2005Atom xmlns:dc=http:purl.orgdcelements1.1 xmlns:georss=http:www.georss.orggeorss xmlns:gml=http:www.opengis.netgml xmlns:owc=http:www.opengis.netowc1.0 xmlns:xsi=http:www.w3.org2001XMLSchema-instance xsi:schemaLocation= http:www.w3.org2005Atom ..atom2005atom.xsd http:purl.orgdcelements1.1 ......csw2.0.2rec-dcmes.xsd http:www.georss.orggeorss ..georss1.1georss.xsd http:www.opengis.netgml ..georss1.1gmlgeorss311.xsd http:www.opengis.netowc1.0 ..OWSContextCore.xsd xml:lang=en category scheme=http:www.opengis.netspecowcspecReference term=http:www.opengis.netspecowc1.0reqatom label=This file is compliant with version 1.0 of OGC Context idhttps:portal.opengeospatial.orgtwikibinviewOWSContextswgSpecAtomE ncoding1id titleContext Example :: Examples of Servicestitle