ISO TS 19135-2-2012 Geographic information - Procedures for item registration - Part 2 XML schema implementation《地理信息 项目登记程序 第2部分 XML计划实施》.pdf

上传人:unhappyhay135 文档编号:1258106 上传时间:2019-09-02 格式:PDF 页数:16 大小:255.50KB
下载 相关 举报
ISO TS 19135-2-2012 Geographic information - Procedures for item registration - Part 2 XML schema implementation《地理信息 项目登记程序 第2部分 XML计划实施》.pdf_第1页
第1页 / 共16页
ISO TS 19135-2-2012 Geographic information - Procedures for item registration - Part 2 XML schema implementation《地理信息 项目登记程序 第2部分 XML计划实施》.pdf_第2页
第2页 / 共16页
ISO TS 19135-2-2012 Geographic information - Procedures for item registration - Part 2 XML schema implementation《地理信息 项目登记程序 第2部分 XML计划实施》.pdf_第3页
第3页 / 共16页
ISO TS 19135-2-2012 Geographic information - Procedures for item registration - Part 2 XML schema implementation《地理信息 项目登记程序 第2部分 XML计划实施》.pdf_第4页
第4页 / 共16页
ISO TS 19135-2-2012 Geographic information - Procedures for item registration - Part 2 XML schema implementation《地理信息 项目登记程序 第2部分 XML计划实施》.pdf_第5页
第5页 / 共16页
点击查看更多>>
资源描述

1、 ISO 2012 Geographic information Procedures for item registration Part 2: XML schema implementation Information gographique Procdures pour lenregistrement dlments Partie 2: Implmentation des schmas XML TECHNICAL SPECIFICATION ISO/TS 19135-2 First edition 2012-05-01 Reference number ISO/TS 19135-2:20

2、12(E) ISO/TS 19135-2:2012(E) ii ISO 2012 All rights reserved COPYRIGHT PROTECTED DOCUMENT ISO 2012 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, w

3、ithout permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ISO/TS 19135-2:2

4、012(E) ISO 2012 All rights reserved iii Contents Page Foreword iv Introduction v 1 Scope 1 2 Conformance 1 3 Normative references . 1 4 T erms and definitions . 1 5 Abbreviations . 1 6 Introduction to the encoding descriptions . 2 7 XML namespaces 2 8 grg namespace . 2 8.1 Organization of the grg na

5、mespace . 2 8.2 grg.xsd . 3 8.3 register.xsd . 3 Annex A (normative) Abstract test suite 5 Annex B (informative) Geographic ReGister XML Resources 7 Bibliography . 8 ISO/TS 19135-2:2012(E) Foreword ISO (the International Organization for Standardization) is a worldwide federation of national standar

6、ds bodies (ISO member bodies). The work of preparing International Standards is normally carried out through ISO technical committees. Each member body interested in a subject for which a technical committee has been established has the right to be represented on that committee. International organi

7、zations, governmental and non-governmental, in liaison with ISO, also take part in the work. ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of electrotechnical standardization. International Standards are drafted in accordance with the rules given in

8、 the ISO/IEC Directives, Part 2. The main task of technical committees is to prepare International Standards. Draft International Standards adopted by the technical committees are circulated to the member bodies for voting. Publication as an International Standard requires approval by at least 75 %

9、of the member bodies casting a vote. In other circumstances, particularly when there is an urgent market requirement for such documents, a technical committee may decide to publish other types of document: an ISO Publicly Available Specification (ISO/PAS) represents an agreement between technical ex

10、perts in an ISO working group and is accepted for publication if it is approved by more than 50 % of the members of the parent committee casting a vote; an ISO Technical Specification (ISO/TS) represents an agreement between the members of a technical committee and is accepted for publication if it

11、is approved by 2/3 of the members of the committee casting a vote. An ISO/PAS or ISO/TS is reviewed after three years in order to decide whether it will be confirmed for a further three years, revised to become an International Standard, or withdrawn. If the ISO/PAS or ISO/TS is confirmed, it is rev

12、iewed again after a further three years, at which time it must either be transformed into an International Standard or be withdrawn. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO shall not be held responsible for identifying

13、 any or all such patent rights. ISOTS 19135-2 was prepared by Technical Committee ISO/TC 211, Geographic information/Geomatics. ISO 19135 consists of the following parts, under the general title Geographic information Procedures for item registration: Part 2: XML schema implementation Technical Spec

14、ification A part 1 dealing with procedures for item registration is under preparation. iv ISO 2012 All rights reserved ISO/TS 19135-2:2012(E) Introduction The ISO 19135 series standardizes the procedures for the registration of geographic items. Since it does not provide any encoding for the storage

15、 and exchange of registers and register items, implementations may vary based on the interpretation of the base standard. This Technical Specification defines an XML encoding for the storage and exchange of ISO 19135-compliant registers and register items. This encoding conforms to the rules describ

16、ed in ISO/TS 19139. The encoding defined in this Technical Specification is intended to be extended to specific registers, e.g. ISO 19145 1)for registers of representations of geographic point location. 1) To be published. ISO 2012 All rights reserved v Geographic information Procedures for item reg

17、istration Part 2: XML schema implementation 1 Scope This Technical Specification defines Geographic ReGister XML (grg) encoding, an XML schema implementation derived from ISO 19135. 2 Conformance Conformance with this Technical Specification shall be checked using all the relevant tests specified in

18、 Annex A and all the relevant tests specified in Annex A of ISO/TS 19139:2007. The framework, concepts, and methodology for testing, and the criteria to be achieved to claim conformance, are specified in ISO 19105. 3 Normative references The following referenced documents are indispensable for the a

19、pplication of this Technical Specification. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. ISO 19135:2005, Geographic information Procedures for item registration ISO/TS 19139:2007, Geogr

20、aphic information Metadata XML schema implementation 4 T erms and definitio ns For the purposes of this document, the following terms and definitions apply. 4.1 namespace collection of names, identified by a URI reference, which are used in XML documents as element names and attribute names NOTE See

21、 Reference 5 in the Bibliography. 4.2 package general purpose mechanism for organizing elements into groups ISO/TS 19103:2005, 4.2.22 5 Abbreviations UML Unified Modelling Language URI Unique Resource Identifier XCT XML Class Type TECHNICAL SPECIFICATION ISO/TS 19135-2:2012(E) ISO 2012 All rights re

22、served 1 ISO/TS 19135-2:2012(E) XML eXtensible Markup Language XSD XML Schema Definition 6 Introduction to the encoding descriptions This Technical Specification defines Geographic ReGister (grg) XML encoding, an XML schema implementation of the register schema defined in Clause 8 of ISO 19135:2005.

23、 This XML schema implementation of ISO 19135 follows the encoding rules stated in ISO/TS 19139:2007, Clause 8. The exceptions and the implementations based on external types are detailed in this clause. This clause uses the UML notation commonly used in ISO geographic information standards and the s

24、pecific notations defined in ISO/TS 19139:2007, 5.4. In the list below, the item on the left describes the common namespace prefix used to describe the elements in the namespace. The second item is a description in English of the namespace prefix, and the item in parentheses is the URI of the actual

25、 namespace. grg Geographic ReGister (http:/www.isotc211.org/2005/grg) gco Geographic COmmon extensible markup language (http:/www.isotc211.org/2005/gco) gmd Geographic MetaData extensible markup language (http:/www.isotc211.org/2005/gmd) 7 XML namespaces Figure 1 below shows the namespace used to im

26、plement ISO 19135 along with its dependencies on the namespaces defined in ISO/TS 19139 used to implement ISO 19115 and the related standards. grg gmd gco ISO 19135 Procedures for item registration ISO 19103 Conceptual schema language ISO 19115 Metadata Figure 1 XML namespaces 8 grg namespace 8.1 Or

27、ganization of the grg namespace This namespace contains the implementation of the register schema of ISO 19135. The root of this namespace is grg.xsd. Figure 2 shows the organization of the grg namespace. 2 ISO 2012 All rights reserved ISO/TS 19135-2:2012(E) grg.xsd register.xsd Figure 2 Organizatio

28、n of grg namespace 8.2 grg.xsd This XML schema includes directly all the implemented concepts of the grg namespace, but it does not contain the declaration of any type. 8.3 register.xsd 8.3.1 Introduction This XML schema implements all the UML classes of the register schema defined in Clause 8 of IS

29、O 19135:2005. The UML classes defined in ISO 19135:2005, 8,2 and 8.7 to 8.24, are implemented in XML schema following the encoding rules defined in Clause 8 of ISO/TS 19139:2007. These classes are: RE_Register, RE_ReferenceSource, RE_RegisterItem, RE_ProposalManagementInformation, RE_AdditionInforma

30、tion, RE_ClarificationInformation, RE_AmendmentInformation, RE_Reference, RE_SubregisterDescription, RE_AlternativeExpression, RE_AlternativeName, RE_Locale, RE_Version, RE_FieldOfApplication, RE_ItemStatus, RE_DecisionStatus, RE_Disposition, RE_AmendmentType and RE_SimilarityToSource. Additionally,

31、 this XML schema contains two customized encodings, described in 8.3.2 and 8.3.3. 8.3.2 RE_RegisterOwner, RE_RegisterManager, and RE_SubmittingOrganization An abstract element grg:AbstractRegisterStakeholder of type grg:AbstractRegisterStakeholder_Type is created to share the two common attributes o

32、f classes RE_RegisterOwner, RE_RegisterManager, RE_SubmittingOrganization defined in ISO 19135:2005, 8.3, 8.4 and 8.5. Their XML Class Type (XCT) derives from this abstract element, as depicted in Figure 3. ISO 2012 All rights reserved 3 ISO/TS 19135-2:2012(E) register.xsd grg:AbstractRegisterStakeh

33、older_Type name : gco:CharacterString_PropertyType contact : gmd:CI_ResponsibleParty_PropertyType grg:RE_RegisterOwner_Type grg:RE_RegisterManager_Type grg:RE_SubmittingOrganization_Type RE_RegisterOwner (from ISO 19135 Procedures for item registration) RE_RegisterManager (from ISO 19135 Procedures

34、for item registration) RE_SubmittingOrganization (from ISO 19135 Procedures for item registration) + name : CharacterString + contact : CI_ResponsibleParty + name : CharacterString + contact : CI_ResponsibleParty + name : CharacterString + contact : CI_ResponsibleParty Figure 3 Implementation of RE_

35、RegisterOwner, RE_RegisterManager and RE_SubmittingOrganization 8.3.3 RE_ItemClass ISO 19135:2005, 8.6.6, states that the Categorization association between RE_RegisterItem and RE_ItemClass shall be navigable from describedItem to itemClass but need not be navigable in the other direction. However,

36、communities implementing ISO 19135 have identified a requirement to navigate from itemClass to describedItem. Since it is not prohibited by ISO 19135, this Technical Specification defines an encoding for describedItem as a role of RE_ItemClass. The XCT of RE_ItemClass contains an XML schema element

37、implementing describedItem, as depicted in Figure 4. register.xsd RE_ItemClass_Type name : gco:CharacterString technicalStandard : gmd:CI_Citation_PropertyType alternativeLanguages 1* : grg:RE_AlternativeName_PropertyType RE_RegisterItem_PropertyType 1* RE_ItemClass (from ISO 19135 Procedures for it

38、em registration) +itemClass +describedItem 1* 1 Categorization + name : CharacterString + technicalStandard : CI_Citation + alternativeLanguages : Set RE_RegisterItem (from ISO 19135 Procedures for item registration) describedItem Figure 4 Implementation of RE_ItemClass 4 ISO 2012 All rights reserve

39、d ISO/TS 19135-2:2012(E) Annex A (normative) Abstract test suite A.1 Introduction This Technical Specification defines an XML schema encoding compliant with ISO/TS 19139. As such, this abstract test suite includes, by reference, the abstract test suite specified in ISO/TS 19139. A.2 Overview of conf

40、ormance test tools Minimum conformance with this Technical Specification requires that geographic register and register item instance (XML) documents can be validated without error against the XML schemas defined by the encoding rules in Clause 8 of ISO/TS 19139:2007 and described in detail in Claus

41、e 8 of this Technical Specification. While many tools are available to test validation of XML instance documents against provided XML schemas, it is important to understand that not all validation tools implement the full W3C XML schema recommendation and not all validation tools interpret the W3C X

42、ML schema recommendation in the same manner. It is recommended that a tool with strict interpretation of XML schema and full support for the W3C XML schema recommendation be used to ensure conformance. A.3 Conformance requirements Constraints XML schema 1.0 does not support the enforcement of certai

43、n types of constraints. For example, co-constraints such as the requirement that a register item with a “notValid” value on the “status” attribute implies a “notEmpy” value for the “dateAccepted” attribute cannot be enforced with XML schema. Document schema definition languages other than XML schema

44、, e.g. Schematron or XSLT 2.0, should be used to implement these constraints. As a result, it is imperative that implementers heed the anchor notes shown in the figures of ISO 19135. Table A.1 shows the affected elements and the anchor notes and annotations. ISO 2012 All rights reserved 5 ISO/TS 191

45、35-2:2012(E) Table A.1 Conformance rules not enforceable with XML schema Affected class Conformance rule RE_Register countOf(version + dateOfLastChange) = 1 RE_RegisterItem status #notValid implies dateAccepted - notEmpty status = #superseded or status = #retired implies dateAmended - notEmpty RE_Re

46、gisterItem if exists - (self.amendmentInformation.amendmentType = #retirement and self.amendmentInformation.disposition = #accepted and self.amendmentInformation.status = #final) then self.status = #retired else if exists - (self.amendmentInformation.amendmentType = #supersession and self.amendmentI

47、nformation.disposition = #accepted and self.amendmentInformation.status = #final) then self.status = #superseded else if exists - (self.additionInformation.disposition = #accepted and self.additionInformation.status = #final) then self.status = #valid else self.status = #notValid endif RE_RegisterIt

48、em specificationSource.similarity #pending implies disposition - notEmpty status #pending implies dateDisposed - notEmpty RE_SubregisterDescription self.itemClass.name = “Subregister” self.itemClass.technicalStandard.CI_Citation.title = “ISO 19135 Geographic information - Procedures for registration

49、 of items of geographic information” self.itemClass.technicalStandard.CI_Citation.alternateTitle = “ISO 19135:2005” self.itemClass.technicalStandard.CI_Citation.date.CI_Date.date = “2005” self.itemClass.technicalStandard.CI_Citation. otherCitationDetails = “Clause 8.14” RE_Version The attribute number shall be represented as a constrained CharacterString that denotes the version. The CharacterString shall be of the form (“#.#a”), where: a) (one or more digits) shall specify the major version d

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1