ImageVerifierCode 换一换
格式:PDF , 页数:38 ,大小:660.23KB ,
资源ID:436287      下载积分:10000 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝扫码支付 微信扫码支付   
注意:如需开发票,请勿充值!
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【http://www.mydoc123.com/d-436287.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(ANSI INCITS ISO IEC 19757-3-2006 Information technology - Document Schema Definition Languages (DSDL) - Part 3 Rule-based validation - Schematron《信息技术.文献模式定义语言(DSDL).第3部分 基于规则的有效性检.pdf)为本站会员(syndromehi216)主动上传,麦多课文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文库(发送邮件至master@mydoc123.com或直接QQ联系客服),我们立即给予删除!

ANSI INCITS ISO IEC 19757-3-2006 Information technology - Document Schema Definition Languages (DSDL) - Part 3 Rule-based validation - Schematron《信息技术.文献模式定义语言(DSDL).第3部分 基于规则的有效性检.pdf

1、INCITS/ISO/IEC 19757-3:20062008 (ISO/IEC 19757-3:2006, IDT) Information technology Document Schema DefinitionLanguages (DSDL) Part 3: Rule-based validation SchematronINCITS/ISO/IEC 19757-3:20062008(INCITS/ISO/IEC 19757-3:2006, IDT)Copyright American National Standards Institute Provided by IHS under

2、 license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-INCITS/ISO/IEC 19757-3:20062008 ii ITIC 2008 All rights reserved PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or

3、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 Secretariat accepts no liability

4、 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 that the file is suitab

5、le 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. Adopted by INCITS (InterNational Committee for Information Technology Standards) as an American National Standard. Date of ANSI Approval: 7

6、/1/2008 Published by American National Standards Institute, 25 West 43rd Street, New York, New York 10036 Copyright 2008 by Information Technology Industry Council (ITI). All rights reserved. These materials are subject to copyright claims of International Standardization Organization (ISO), Interna

7、tional Electrotechnical Commission (IEC), American National Standards Institute (ANSI), and Information Technology Industry Council (ITI). Not for resale. No part of this publication may be reproduced in any form, including an electronic retrieval system, without the prior written permission of ITI.

8、 All requests pertaining to this standard should be submitted to ITI, 1250 Eye Street NW, Washington, DC 20005. Printed in the United States of America Copyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted withou

9、t license from IHS-,-,-iiiContents Foreword vIntroduction vi1 Scope 12 Normative references 13 Terms and definitions 14 Notation. 34.1 XPath. 34.2 Predicate Logic 35 Syntax. 45.1 Well-formedness 45.2 Namespace. 45.3 Whitespace. 45.4 Core Elements 45.4.1 active element 45.4.2 assert element 45.4.3 ex

10、tends element. 55.4.4 include element. 55.4.5 let element 55.4.6 name element 55.4.7 ns element 55.4.8 param element 65.4.9 pattern element. 65.4.10 phase element 85.4.11 report element 85.4.12 rule element 85.4.13 schema element 85.4.14 value-of element. 95.5 Ancillary Elements and Attributes 95.5.

11、1 diagnostic element. 95.5.2 diagnostics element. 95.5.3 dir element 95.5.4 emph element 95.5.5 flag attribute. 95.5.6 fpi attribute. 105.5.7 icon attribute. 105.5.8 p element 105.5.9 role attribute. 105.5.10 see attribute. 105.5.11 span element 105.5.12 subject attribute. 105.5.13 title element 106

12、 Semantics. 116.1 Validation Function 116.2 Minimal Syntax. 116.3 Schema Semantics 126.4 Query Language Binding 126.5 Order and side-effects. 137 Conformance 147.1 Simple Conformance. 147.2 Full Conformance. 14INCITS/ISO/IEC 19757-3:20062008 ITIC 2008 All rights reservedCopyright American National S

13、tandards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-iv Annex A (normative) RELAX NG schema for Schematron. 15Annex B (normative) Schematron Schema for Additional Constraints 19Annex C (normative) Default Query

14、Language Binding. 21Annex D (informative) Schematron Validation Report Language 22D.1 Description. 22D.2 RELAX NG Compact Syntax Schema. 22D.3 Schematron Schema 23Annex E (informative) Design Requirements. 27Annex F (normative) Use of Schematron as a Vocabulary 28Annex G (informative) Use of Schemat

15、ron for Multi-Lingual Schemas. 29Bibliography 30INCITS/ISO/IEC 19757-3:20062008 ITIC 2008 All rights reservedCopyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-vForeword ISO (the I

16、nternational Organization for Standardization) and IEC (the International Electrotechnical 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 esta

17、blished by the respective organization to deal with particular fields of technical activity. 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 th

18、e field of information technology, ISO and IEC have established a joint technical committee, 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.

19、Draft International Standards adopted by the joint technical committee are circulated to 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 t

20、his document may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. ISO/IEC 19757-3 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 34, Document description and processing language

21、s. ISO/IEC 19757 consists of the following parts, under the general title Information technology 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 Lan

22、guage NVDL The following parts are under preparation: Part 5: Datatypes Part 6: Path-based integrity constraints Part 7: Character repertoire description language CRDL Part 8: Document schema renaming language DSRL Part 9: Datatype- and namespace-aware DTDs Part 10: Validation management INCITS/ISO/

23、IEC 19757-3:20062008 ITIC 2008 All rights reservedCopyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-vi Introduction ISO/IEC 19757 defines a set of Document Schema Definition Langu

24、ages (DSDL) that can be used to specify one ormore validation processes performed against Extensible Markup Language (XML) or Standard Generalized MarkupLanguage (SGML) documents. (XML is an application profile SGML, ISO 8879:1986.)A document model is an expression of the constraints to be placed on

25、 the structure and content of documents to bevalidated with the model. A number of technologies have been developed through various formal and informal consortiasince the development of Document Type Definitions (DTD) as part of ISO 8879, notably by the World Wide WebConsortium (W3C) and the Organiz

26、ation for the Advancement of Structured Information 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 reli

27、eves the potentiallymany applications acting on 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 of how the features and functionality availab

28、le in other technologies might enhance validation objectives.The main objective of ISO/IEC 19757 is to bring together different validation-related tasks and expressions to form asingle extensible framework that allows technologies to work in series or in parallel to produce a single or a set ofvalid

29、ation results. The extensibility of DSDL accommodates 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 sin

30、gle XML document sometimes prevents existingdocument 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

31、 integrated under a well-defined validation policy.The structure of this part of ISO/IEC 19757 is as follows. Clause 5 describes the syntax of an ISO Schematron schema.Clause 6 describes the semantics of a correct ISO Schematron schema; the semantics specify when a document isvalid with respect to a

32、n ISO Schematron schema. Clause 7 describes conformance requirements for implementationsof ISO Schematron validators. Annex A is a normative annex providing the ISO/IEC 19757-2 (RELAX NG) schemafor ISO Schematron. Annex B is a normative annex providing the ISO Schematron schema for constraints in IS

33、OSchematron that cannot be expressed by the schema of Annex A. Annex C is a normative annex providing the defaultquery language binding to XSLT. Annex D is an informative annex providing a ISO/IEC 19757-2 (RELAX NGcompact syntax) schema and corresponding ISO Schematron schema for a simple XML langua

34、ge SchematronValidation Report Language. Annex E is an informative annex providing motivating design requirements for ISOSchematron. Annex F is a normative annex allowing certain Schematron elements to be used in externalvocabularies. Annex G is an informative annex with a simple example of a multi-

35、lingual schema.Considered as a document type, a Schematron schema contains natural-language assertions concerning a set ofdocuments, marked up with various elements and attributes for testing these natural-language assertions, and forsimplifying and grouping assertions.Considered theoretically, a Sc

36、hematron schema reduces to a non-chaining rule system whose terms are Booleanfunctions invoking an external query language on the instance and other visible XML documents, with syntacticfeatures to reduce specification size and to allow efficient implementation.Considered analytically, Schematron ha

37、s two characteristic high-level abstractions: the pattern and the phase. Theseallow the representation of non-regular, non-sequential constraints that ISO/IEC 19757-2 cannot specify, and various dynamic or contingent constraints.This part of ISO/IEC 19757 is based on the Schematron1assertion languag

38、e. The let element is based on XCSL2.Other features arise from the half-dozen early Open Source implementations of Schematron in diverse programminglanguages and from discussions in electronic forums by Schematron users and implementers.INCITS/ISO/IEC 19757-3:20062008 ITIC 2008 All rights reservedCo

39、pyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-AMERICAN NATIONAL STANDARD INCITS/ISO/IEC 19757-3:200620081Information technology Document Schema Definition Languages (DSDL) Part

40、3: Rule-based validation Schematron 1 ScopeThis part of ISO/IEC 19757 specifies Schematron, a schema language for XML. This part of ISO/IEC 19757 establishesrequirements for Schematron schemas and specifies when an XML document matches the patterns specified by aSchematron schema.2 Normative referen

41、cesThe 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 anyamendments) applies.NOTE Each of the following documents has a unique

42、 identifier that is used to cite the document in the text. The unique identifier consists of the part of the reference up to the first comma.W3C XML 1.0, Extensible Markup Language (XML) 1.0 (Third Edition), W3C Recommendation, 04 February 2004XPath, XML Path Language (XPath) Version 1.0, W3C Recomm

43、endation, 16 November 1999XSLT, XSL Transformations (XSLT) Version 1.0, W3C Recommendation, 16 November 19993 Terms and definitionsFor the purposes of this document, the following terms and definitions apply.3.1 abstract patternpattern in a rule that has been parameterized to enable reuse3.2 abstrac

44、t rulecollection of assertions which can be included in other rules but which does not fire itself3.3 active patternpattern belonging to the active phase3.4 active phaseone particular phase, whose patterns are used for validation3.5 assertionnatural-language assertion with corresponding assertion te

45、st and ancillary attributes: assertions are marked upwith assert and report elements ITIC 2008 All rights reservedCopyright American National Standards Institute Provided by IHS under license with ANSI Not for ResaleNo reproduction or networking permitted without license from IHS-,-,-3.6 assertion t

46、estassertion modelled or implemented by a Boolean query; an assertion test “succeeds“ or “fails“3.7 correct schemaschema that satisfies all the requirements of this part of ISO/IEC 197573.8 diagnosticnamed natural language statements providing information to end-users of validators concerning the ex

47、pected andactual values together with repair hints3.9 elaborated rule context expressionsingle rule context expression which explicitly disallows items selected by lexically previous rule contexts in the samepattern3.10 good schemacorrect schema with queries which terminate and do not add constraint

48、s to those of the natural-language assertions.NOTE It may not be possible to compute that a schema is good.3.11 implementationimplementation of a Schematron validator3.12 nametoken with no whitespace characters3.13 natural-language assertionnatural-language statement expressing some part of a pattern; a natural-language assertion is “met“ or “unmet“3.14 patternnamed structure in instances specified in a schema by a lexically-ordered collection of rules3.15 phasenamed, unordered collection of patterns; patterns may belong to more than one phase; two names, #ALL and#DEFAULT, are reserved w

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