SANS 19757-2-2010 Information technology - Document Schema Definition Language (DSDL) Part 2 Regular-grammar-based validation - RELAX NG《信息技术 文献模式定义语言(DSDL) 第2部分:基于规则-语法的有效性检验》.pdf
《SANS 19757-2-2010 Information technology - Document Schema Definition Language (DSDL) Part 2 Regular-grammar-based validation - RELAX NG《信息技术 文献模式定义语言(DSDL) 第2部分:基于规则-语法的有效性检验》.pdf》由会员分享,可在线阅读,更多相关《SANS 19757-2-2010 Information technology - Document Schema Definition Language (DSDL) Part 2 Regular-grammar-based validation - RELAX NG《信息技术 文献模式定义语言(DSDL) 第2部分:基于规则-语法的有效性检验》.pdf(54页珍藏版)》请在麦多课文档分享上搜索。
1、 Collection of SANS standards in electronic format (PDF) 1. Copyright This standard is available to staff members of companies that have subscribed to the complete collection of SANS standards in accordance with a formal copyright agreement. This document may reside on a CENTRAL FILE SERVER or INTRA
2、NET SYSTEM only. Unless specific permission has been granted, this document MAY NOT be sent or given to staff members from other companies or organizations. Doing so would constitute a VIOLATION of SABS copyright rules. 2. Indemnity The South African Bureau of Standards accepts no liability for any
3、damage whatsoever than may result from the use of this material or the information contain therein, irrespective of the cause and quantum thereof. ISBN 978-0-626-23729-5 SANS 19757-2:2010Edition 1 ISO/IEC 19757-2:2008Edition 2 SOUTH AFRICAN NATIONAL STANDARD Information technology Document Schema De
4、finition Language (DSDL) Part 2: Regular-grammar-based validation RELAX NG This national standard is the identical implementation of ISO/IEC 19757-2:2008, and is adopted with the permission of the International Organization for Standardization and the International Electrotechnical Commission. Publi
5、shed by SABS Standards Division 1 Dr Lategan Road Groenkloof Private Bag X191 Pretoria 0001Tel: +27 12 428 7911 Fax: +27 12 344 1568 www.sabs.co.za SABS SANS 19757-2:2010 Edition 1 ISO/IEC 19757-2:2008 Edition 2 Table of changes Change No. Date Scope National foreword This South African standard was
6、 approved by National Committee SABS SC 71L, Information technology Document description and processing language, in accordance with procedures of the SABS Standards Division, in compliance with annex 3 of the WTO/TBT agreement. This SANS document was published in March 2010. Reference numberISO/IEC
7、 19757-2:2008(E)ISO/IEC 2008INTERNATIONAL STANDARD ISO/IEC19757-2Second edition2008-12-15Information technology Document Schema Definition Language (DSDL) Part 2: Regular-grammar-based validation RELAX NG Technologies de linformation Langage de dfinition de schma de documents (DSDL) Partie 2: Valida
8、tion de grammaire oriente courante RELAX NG SANS 19757-2:2010This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .ISO/IEC 19757-2:2008(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this
9、 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 Adobes licensing policy. The ISO Central Secretar
10、iat 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 printing. Every care has been taken to ensure
11、 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 otherwise specified, no part of this publicat
12、ion 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 copyright office Case postale 56 CH-1211 Geneva 2
13、0 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO/IEC 2008 All rights reservedSANS 19757-2:2010This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .Contents PageForeword. iiiIntr
14、oduction iv1 Scope 12 Normative references 13 Terms and definitions 14 Notation. 44.1 EBNF. 44.2 Inference rules 44.2.1 Variables. 44.2.2 Propositions. 54.2.3 Expressions 65 Data model 76 Full syntax 87 Simplification 97.1 General 97.2 Annotations 97.3 Whitespace. 97.4 datatypeLibrary attribute. 97.
15、5 type attribute of value element 107.6 href attribute. 107.7 externalRef element. 107.8 include element. 107.9 name attribute of element and attribute elements 117.10 ns attribute. 117.11 QNames 117.12 div element 117.13 Number of child elements. 117.14 mixed element 127.15 optional element. 127.16
16、 zeroOrMore element. 127.17 Constraints. 127.18 combine attribute. 137.19 grammar element. 137.20 define and ref elements. 137.21 notAllowed element. 147.22 empty element 148 Simple syntax. 149 Semantics. 159.1 Inference rules 159.2 Name classes. 159.3 Patterns. 169.3.1 choice pattern. 169.3.2 group
17、 pattern. 169.3.3 empty pattern. 169.3.4 text pattern. 169.3.5 oneOrMore pattern 179.3.6 interleave pattern 179.3.7 element and attribute pattern. 179.3.8 data and value pattern 189.3.9 Built-in datatype library. 189.3.10 list pattern. 199.4 Validity. 19 ISO/IEC 2008 All rights reservedISO/IEC 19757
18、-2:2008(E)iiiSANS 19757-2:2010This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .10 Restrictions 1910.1 General 1910.2 Prohibited paths. 1910.2.1 General 1910.2.2 attribute pattern 2010.2.3 oneOrMore pattern 2010.2.4 list pattern. 2010.2.5 excep
19、t element in data pattern. 2010.2.6 start element 2110.3 String sequences. 2110.4 Restrictions on attributes 2310.5 Restrictions on interleave 2311 Conformance 23Annex A (normative) RELAX NG schema for RELAX NG. 24Annex B (informative) Examples. 30B.1 Data model 30B.2 Full syntax example. 31B.3 Simp
20、le syntax example 31B.4 Validation example. 32Annex C (normative) RELAX NG Compact syntax 34C.1 Introduction 34C.2 Syntax. 34C.3 Lexical structure 36C.4 Declarations 37C.5 Annotations 39C.5.1 Support for annotations 39C.5.2 Initial annotations 39C.5.3 Documentation shorthand 39C.5.4 Following annota
21、tions. 40C.5.5 Grammar annotations 40C.6 Conformance 40C.6.1 Types of conformance. 40C.6.2 Validator 41C.6.3 Structure preserving translator 41C.6.4 Non-structure preserving translator 41C.7 Media type registration template for the RELAX NG Compact Syntax. 41Bibliography 43 ISO/IEC 2008 All rights r
22、eservedISO/IEC 19757-2:2008(E)ivSANS 19757-2:2010This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .ForewordISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) formthe specialized syst
23、em for worldwide standardization. National bodies that are members of ISO or IEC participate inthe development of International Standards through technical committees established by the respective organizationto deal with particular fields of technical activity. ISO and IEC technical committees coll
24、aborate in fields of mutualinterest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, alsotake part in the work. In the field of information technology, ISO and IEC have established a joint technical committee,ISO/IEC JTC 1.International Standards ar
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- SANS1975722010INFORMATIONTECHNOLOGYDOCUMENTSCHEMADEFINITIONLANGUAGEDSDLPART2REGULARGRAMMARBASEDVALIDATIONRELAXNG

链接地址:http://www.mydoc123.com/p-1029939.html