BS ISO IEC 19757-8-2009 Information technology - Document schema definition languages (DSDL) - Document semantics renaming language (DSRL)《信息技术 文献模式定义语言(DSDL) 文献语义重新命名语言(DSRL)》.pdf

上传人:dealItalian200 文档编号:588360 上传时间:2018-12-15 格式:PDF 页数:32 大小:1.37MB
下载 相关 举报
BS ISO IEC 19757-8-2009 Information technology - Document schema definition languages (DSDL) - Document semantics renaming language (DSRL)《信息技术 文献模式定义语言(DSDL) 文献语义重新命名语言(DSRL)》.pdf_第1页
第1页 / 共32页
BS ISO IEC 19757-8-2009 Information technology - Document schema definition languages (DSDL) - Document semantics renaming language (DSRL)《信息技术 文献模式定义语言(DSDL) 文献语义重新命名语言(DSRL)》.pdf_第2页
第2页 / 共32页
BS ISO IEC 19757-8-2009 Information technology - Document schema definition languages (DSDL) - Document semantics renaming language (DSRL)《信息技术 文献模式定义语言(DSDL) 文献语义重新命名语言(DSRL)》.pdf_第3页
第3页 / 共32页
BS ISO IEC 19757-8-2009 Information technology - Document schema definition languages (DSDL) - Document semantics renaming language (DSRL)《信息技术 文献模式定义语言(DSDL) 文献语义重新命名语言(DSRL)》.pdf_第4页
第4页 / 共32页
BS ISO IEC 19757-8-2009 Information technology - Document schema definition languages (DSDL) - Document semantics renaming language (DSRL)《信息技术 文献模式定义语言(DSDL) 文献语义重新命名语言(DSRL)》.pdf_第5页
第5页 / 共32页
亲,该文档总共32页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、BS ISO/IEC19757-8:2008ICS 35.240.30NO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBRITISH STANDARDInformationtechnology Document SchemaDefinition Languages(DSDL)Part 8: Document Semantics RenamingLanguage (DSRL)IncorporatingcorrigendumDecember 2011 National forewordThis Britis

2、h Standard is the UK implementation of ISO/IEC 19757-8:2008 incorporating corrigendum December 2011.The start and finish of text introduced or altered by corrigendum is indicated in the text by tags. Text altered by ISO/IEC corrigendum December 2011 is indicated in the text by .The UK participation

3、in its preparation was entrusted to Technical Committee IST/41, Document description and processing language.A list of organizations represented on this committee can be obtained on request to its secretary.This publication does not purport to include all the necessary provisions of a contract. User

4、s are responsible for its correct application.Compliance with a British Standard cannot confer immunity from legal obligations.BS ISO/IEC 19757-8:2008This British Standard was published under the authority of the Standards Policy and Strategy Committee on 31 January 2009 The British Standards Instit

5、ution 2012Amendments/corrigenda issued since publicationDate Comments 31 January 2012 Implementation of ISO/IEC corrigendum December 2011ISBN 978 0 580 75342 8Reference numberISO/IEC 19757-8:2008(E)ISO/IEC 2008INTERNATIONAL STANDARD ISO/IEC19757-8First edition2008-12-15Information technology Documen

6、t Schema Definition Languages (DSDL) Part 8: Document Semantics Renaming Language (DSRL) Technologies de linformation Langages de dfinition de schma de documents (DSDL) Partie 8: Langage pour renommer une smantique de documents (DSRL) PDF disclaimer This PDF file may contain embedded typefaces. In a

7、ccordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobe

8、s licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for p

9、rinting. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2008 All rights reserved. Unless o

10、therwise 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, without permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyr

11、ight 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 ii BS ISO/IEC 19757-8:2008 ISO/IEC 19757-8:2008 (E) ISO 2011 iiiContents Page Bibliography 20 Foreword. ivIntroduction. v1 Scope 12 Normative re

12、ferences 13 Terms and definitions 24 The role of the Document Semantics Renaming Language 24.1 Namespace. 25 DSRL maps. 36 Mapping user-defined names to schema-defined names 36.1 Reassigning element and attribute names 36.2 Mapping attribute values. 56.3 Default attribute values. 66.4 Mapping elemen

13、t content 66.5 Default content. 66.6 Renaming processing instruction targets. 76.7 Mapping entity references. 77 Declaring entities. 88 Conformance 9Annex A (normative) Validation of declarative document architectures 10A.1 RELAX NG XML Schema for Validating DSRL 10A.2 RELAX NG Compact Schema for Va

14、lidating DSRL maps 15A.3 Schematron Rules for Validating DSRL. 16Annex B (informative) Using DSRL to Transform Document Instances. 17BS ISO/IEC 19757-8:2008 ISO/IEC 19757-8:2008 (E) ISO 2011 iv Foreword ISO (the International Organization for Standardization) and IEC (the International Electrotechni

15、cal Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical acti

16、vity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical commi

17、ttee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated t

18、o national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held respons

19、ible for identifying any or all such patent rights. ISO/IEC 19757-8 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 34, Document description and processing languages. ISO/IEC 19757 consists of the following parts, under the general title Information t

20、echnology Document Schema Definition Languages (DSDL): Part 1: Overview Part 2: Regular-grammar-based validation RELAX NG Part 3: Rule-based validation Schematron Part 4: Namespace-based Validation Dispatching Language (NVDL) Part 7: Character Repertoire Description Language (CRDL) Part 8: Document

21、Semantics Renaming Language (DSRL) Part 9: Namespace and datatype declaration in Document Type Definitions (DTDs) BS ISO/IEC 19757-8:2008 ISO/IEC 19757-8:2008 (E) ISO 2011 vIntroduction ISO/IEC 19757 defines a set of Document Schema Definition Languages (DSDL) that can be used to specify one ormore

22、validation processes performed against Extensible Markup Language (XML) or Standard Generalized MarkupLanguage (SGML) documents. (XML is an application profile of SGML, ISO 8879:1986.)A document model is an expression of the constraints to be placed on the structure and content of documents to beval

23、idated with the model. A number of technologies have been developed through various formal and informal consortiasince the development of Document Type Definitions (DTDs) as part of ISO 8879, notably by the World Wide WebConsortium (W3C) and the Organization for the Advancement of Structured Informa

24、tion Standards (OASIS). A numberof validation technologies are standardized in DSDL to complement those already available as standards or fromindustry.To validate that a structured document conforms to specified constraints in structure and content relieves the potentiallymany applications acting on

25、 the document from having to duplicate the task of confirming that such requirementshave been met. Historically, such tasks and expressions have been developed and utilized in isolation, withoutconsideration for how the features and functionality available in other technologies might enhance validat

26、ion objectives.The primary objective of ISO/IEC 19757 is to bring together different validation-related tasks and expressions to forma single extensible framework that allows technologies to work in series or in parallel to produce a single or a set ofvalidation results. The extensibility of DSDL ac

27、commodates validation technologies not yet designed or specified.In the past, different design and use criteria have led users to choose different validation technologies for differentportions of their information. Bringing together information within a single XML document sometimes prevents existin

28、gdocument models from being used to validate sections of data. By providing an integrated suite of constraint descriptionlanguages that can be applied to different subsets of a single XML document, ISO/IEC 19757 allows different validationtechnologies to be integrated under a well-defined validation

29、 policy.ISO/IEC 19757 integrates constraint description technologies into a suite that provides user control of names, order and repeatability of information objects (elements), allows users to identify restrictions on the co-concurrence of elements and/or element contents, allows specific subsets o

30、f structured documents to be validated, allows restrictions to be placed on the contents of specific elements, including restrictions based on the contentof other elements in the same document, allows the character set that can be used within specific elements to be managed, based on the application

31、 ofthe ISO/IEC 10646 Universal Multiple-Octet Coded Character Set (UCS), allows default values to be assigned to element content and attribute values, allows SGML to be used to declare document structure constraints that extend DTDs to include functions suchas namespace-controlled validation and dat

32、atypes.BS ISO/IEC 19757-8:2008 ISO/IEC 19757-8:2008 (E) ISO 2011 BS ISO/IEC 19757-8:2008 ISO/IEC 19757-8:2008 (E) ISO 2011 INTERNATIONAL STANDARD1Information technology Document Schema Definition Languages (DSDL) Part 8: Document Semantics Renaming Language (DSRL) 1 Scope 2 Normative references The

33、following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. IRI, IETF RFC 3987, Internationalized Resource Identi

34、fiers (IRIs), Internet Standards Track Specification, January 2005, http:/www.ietf.org/rfc/rfc3987.txt ISO/IEC 19757-2:2003, Information technology Document Schema Definition Language (DSDL) Part 2: Regular-grammar-based validation RELAX NG ISO/IEC 19757-2:2003/Amd.1:2006, Information technology Doc

35、ument Schema Definition Language (DSDL) Part 2: Regular-grammar-based validation RELAX NG Amendment 1: Compact Syntax ISO/IEC 19757-3:2006, Information technology Document Schema Definition Languages (DSDL) Part 3: Rule-based validation Schematron ISO 8879:1986, Information processing Text and offic

36、e systems Standard Generalized Markup Language (SGML) XML, Extensible Markup Language (XML) 1.0 (Fourth Edition), W3C Recommendation, 16 August 2006, http:/www.w3.org/TR/2006/REC-xml-20060816 XML-Infoset, XML Information Set (Second Edition), W3C Recommendation, 4 February 2004, http:/www.w3.org/TR/

37、2004/REC-xml-infoset-20040204 XML-Names, Namespaces in XML 1.0 (Second Edition), W3C Recommendation, 16 August 2006, http:/www.w3.org/TR/2006/REC-xml-names-20060816 XML Schema, XML Schema Part 1: Structures Second Edition, W3C Recommendation, 28 October 2004, http:/www.w3.org/TR/2004/REC-xmlschema-1

38、-20041028/ XSD, XML Schema Part 2: Datatypes Second Edition, W3C Recommendation, 28 October 2004, http:/www.w3.org/TR/2004/REC-xmlschema-2-20041028/ XSLT , XSL Transformations (XSLT) Version 2.0, W3C Recommendation, 23 January 2007, http:/www.w3.org/TR/2007/REC-xslt20-20070123/ This part of ISO/IEC

39、19757 specifies a mechanism that allows users to assign locally meaningful names to XML elements, attributes, entities and processing instructions, without having to completely rewrite the DTD or schema against which they are to be validated. In addition, this part of ISO/IEC 19757 provides an XML-b

40、ased format for declaring the replacement text for entity references and provides a mechanism that allows users to define default values for both element content and attribute values. NOTE Each of the following documents that is not an International Standard has a unique identifier that is used to c

41、itethe document in the text. The unique identifier consists of the part of the reference up to the first comma. ISO/IEC 19757-8:2008 (E) ISO 2011BS ISO/IEC 19757-8:2008 2 3 Terms and definitionsFor the purposes of this document, the terms and definitions given in ISO/IEC 19757-2, ISO/IEC 19757-3 and

42、 the following apply.3.1DSRL mapset of rules that is used to map a document instance to a document model defined by one or more schemas3.2entityISO 8879:1986 general entity that can be referenced using an XML entity reference3.3entity nodenode in a Document Object Model that identifies an entity and

43、, where appropriate, contains details of its replacementtext3.4IRIInternationalized Resource Identifiers as defined in IETF RFC 39873.5SGMLStandard Generalized Markup Language defined in ISO 8879:19864 The role of the Document Semantics Renaming LanguageThe Document Semantics Renaming Language (DSRL

44、) provides a mechanism for declaring how an application canmap locally meaningful element, attribute, entity and processing instruction names to the names assigned to equivalentXML elements, attributes, entities and processing instructions within a document model without having to completelyrewrite

45、the DTD or schema to which they are required to conform.In addition, DSRL provides an XML-based format for declaring the replacement text for entity references and providesa mechanism that allows users to define default values for both element content and attribute values. To allow forschemas that d

46、o not support the use of attributes, DSRL also allows users to convert attribute values to elementcontent.4.1 NamespaceElements and attributes that conform to this Part of DSDL shall have an XML namespace definition (as defined inXML-Names) whose associated resource identifier (IRI) is:http:/purl.oc

47、lc.org/dsdl/dsrlIn this Part the prefix dsrl: is used to identify points at which this IRI defines the namespace.Other namespaces required to group elements and attributes into processable units can be assigned as required forvalidation.Text deleted BS ISO/IEC 19757-8:2008 ISO/IEC 19757-8:2008 (E) I

48、SO 2011 3.Two optional attributes can be associated with this element: targetNamespace may be used to record the IRI assigned as the target namespace for the validating schema; targetSchemaLocation may be used to record the IRI assigned to the schema to be used to validate themapped document instances.The targetNamespace

展开阅读全文
相关资源
  • BS ISO IEC 29150-2011 Information technology Security techniques Signcryption《信息技术 安全技术 签密》.pdfBS ISO IEC 29150-2011 Information technology Security techniques Signcryption《信息技术 安全技术 签密》.pdf
  • BS ISO IEC 15408-1-2009 Information technology - Security techniques - Evaluation criteria for IT Security - Introduction and general model《信息技术 安全技术 IT安全评价准则 一.pdfBS ISO IEC 15408-1-2009 Information technology - Security techniques - Evaluation criteria for IT Security - Introduction and general model《信息技术 安全技术 IT安全评价准则 一.pdf
  • BS ISO 7295-1988+A1-2014 Tyre valves for aircraft Interchangeability dimensions《飞机轮胎汽门嘴 互换性尺寸》.pdfBS ISO 7295-1988+A1-2014 Tyre valves for aircraft Interchangeability dimensions《飞机轮胎汽门嘴 互换性尺寸》.pdf
  • BS ISO 15118-1-2013 Road vehicles Vehicle to grid communication interface General information and use-case definition《道路车辆 车辆到电力通讯接口 通用信息和使用案例定义》.pdfBS ISO 15118-1-2013 Road vehicles Vehicle to grid communication interface General information and use-case definition《道路车辆 车辆到电力通讯接口 通用信息和使用案例定义》.pdf
  • BS ISO 13765-2-2004 Refractory mortars - Determination of consistency using the reciprocating flow table method《耐熔灰浆 使用往复流动表法测定一致性》.pdfBS ISO 13765-2-2004 Refractory mortars - Determination of consistency using the reciprocating flow table method《耐熔灰浆 使用往复流动表法测定一致性》.pdf
  • BS ISO 10998-2008+A1-2014 Agricultural tractors Requirements for steering《农业拖拉机 操纵要求》.pdfBS ISO 10998-2008+A1-2014 Agricultural tractors Requirements for steering《农业拖拉机 操纵要求》.pdf
  • BS Z 9-1998 Space data and information transfer systems - Advanced orbiting systems - Networks and data links - Architectural specification《空间数据和信息传输系统 高级轨道系统 网络和数据链接 结构规范》.pdfBS Z 9-1998 Space data and information transfer systems - Advanced orbiting systems - Networks and data links - Architectural specification《空间数据和信息传输系统 高级轨道系统 网络和数据链接 结构规范》.pdf
  • BS Z 7-1998 Space data and information transfer systems - ASCII encoded English《空间数据和信息传输系统 ASCII 编码英语》.pdfBS Z 7-1998 Space data and information transfer systems - ASCII encoded English《空间数据和信息传输系统 ASCII 编码英语》.pdf
  • BS Z 5-1997 Space data and information transfer systems - Standard formatted data units - Control authority procedures《航天数据和信息发送系统 标准格式数据单元 控制授权程序》.pdfBS Z 5-1997 Space data and information transfer systems - Standard formatted data units - Control authority procedures《航天数据和信息发送系统 标准格式数据单元 控制授权程序》.pdf
  • BS Z 4-1997 Space data and information transfer systems - Standard formatted data units - Structure and construction rules《航天数据和信息传输系统 标准格式数据单元 结构和构造规则》.pdfBS Z 4-1997 Space data and information transfer systems - Standard formatted data units - Structure and construction rules《航天数据和信息传输系统 标准格式数据单元 结构和构造规则》.pdf
  • 猜你喜欢
    相关搜索

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

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