ISO/IEC TR TECHNICAL REPORT

Similar documents
ISO/IEC INTERNATIONAL STANDARD. Information technology EAN/UCC Application Identifiers and Fact Data Identifiers and Maintenance

ISO/IEC INTERNATIONAL STANDARD. Information technology Document Schema Definition Languages (DSDL) Part 3: Rule-based validation Schematron

ISO/IEC TR TECHNICAL REPORT

ISO/IEC INTERNATIONAL STANDARD. Systems and software engineering Measurement process. Ingénierie des systèmes et du logiciel Processus de mesure

ISO/IEC INTERNATIONAL STANDARD. Information technology Icon symbols and functions for controlling multimedia software applications

ISO INTERNATIONAL STANDARD. Language resource management Feature structures Part 1: Feature structure representation

ISO/IEC INTERNATIONAL STANDARD. Information technology Security techniques Entity authentication

ISO/IEC TR This is a preview - click here to buy the full publication TECHNICAL REPORT. First edition

INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD. Information technology MPEG systems technologies Part 5: Bitstream Syntax Description Language (BSDL)

ISO INTERNATIONAL STANDARD. Information and documentation International Standard Musical Work Code (ISWC)

ISO/IEC INTERNATIONAL STANDARD. Information technology Multimedia Middleware Part 6: Fault management

ISO/IEC INTERNATIONAL STANDARD. Information technology CDIF transfer format Part 3: Encoding ENCODING.1

ISO/TR TECHNICAL REPORT

ISO/IEC INTERNATIONAL STANDARD. Information technology MPEG extensible middleware (MXM) Part 3: MXM reference software

ISO/IEC INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD. Software engineering Product evaluation Part 3: Process for developers

ISO INTERNATIONAL STANDARD. Photography Transmission and reflection densitometers Method for determining performance

ISO/IEC INTERNATIONAL STANDARD. Information technology Security techniques Hash-functions Part 2: Hash-functions using an n-bit block cipher

ISO/IEC INTERNATIONAL STANDARD. Information technology Open distributed processing Reference model: Foundations

ISO/IEC INTERNATIONAL STANDARD. Information technology Guideline for the evaluation and selection of CASE tools

ISO/IEC TR TECHNICAL REPORT. Systems and software engineering Life cycle management Part 1: Guide for life cycle management

ISO/IEC INTERNATIONAL STANDARD. Information technology ASN.1 encoding rules: XML Encoding Rules (XER)

This is a preview - click here to buy the full publication GUIDE 51. Safety aspects Guidelines for their inclusion in standards. Second edition 1999

ISO/TR TECHNICAL REPORT. Determination of uncertainty for volume measurements made using the gravimetric method

INTERNATIONAL STANDARD

ISO AMENDMENT 1 Ergonomic requirements for office work with visual display terminals (VDTs) General introduction

ISO/IEC INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD. Information technology Security techniques Key management Part 4: Mechanisms based on weak secrets

ISO/IEC TR TECHNICAL REPORT. Information technology Biometrics Multimodal and other multibiometric fusion

ISO INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD. Information technology Security techniques Information security management system implementation guidance

ISO 1173 INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD. Information technology Multimedia content description interface Part 1: Systems

ISO/IEC TR TECHNICAL REPORT

ISO/IEC Information technology Icon symbols and functions for controlling multimedia software applications

ISO/IEC INTERNATIONAL STANDARD. Information technology Keyboard layouts for text and office systems Part 2: Alphanumeric section

ISO/IEC INTERNATIONAL STANDARD. Conformity assessment Supplier's declaration of conformity Part 1: General requirements

ISO/IEC INTERNATIONAL STANDARD. Software engineering Software measurement process. Ingénierie du logiciel Méthode de mesure des logiciels

INTERNATIONAL STANDARD

ISO/IEC TR TECHNICAL REPORT

ISO/IEC TR TECHNICAL REPORT. Software engineering Mock up and prototype A categorization of software mock up and prototype models and their use

ISO INTERNATIONAL STANDARD. Health informatics Harmonized data types for information interchange

ISO/IEC INTERNATIONAL STANDARD

ISO/IEC TR TECHNICAL REPORT

ISO/IEC INTERNATIONAL STANDARD

ISO/IEC TR TECHNICAL REPORT

ISO/IEC INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD. Information technology JPEG 2000 image coding system Part 3: Motion JPEG 2000

ISO INTERNATIONAL STANDARD. Statistical interpretation of data Part 7: Median Estimation and confidence intervals

ISO/IEC INTERNATIONAL STANDARD. Information technology Keyboard interaction model Machine-readable keyboard description

ISO/IEC INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD. Information technology Security techniques Modes of operation for an n-bit block cipher

ISO/IEC TR TECHNICAL REPORT

ISO 3901 INTERNATIONAL STANDARD. Information and documentation International Standard Recording Code (ISRC)

ISO/IEC INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD. Information technology Message Handling Systems (MHS): MHS routing

ISO/TR TECHNICAL REPORT. Ergonomics of human-system interaction Usability methods supporting human-centred design

ISO/IEC TR Information technology Security techniques Guidelines for the use and management of Trusted Third Party services

ISO/IEC INTERNATIONAL STANDARD. Information technology Software asset management Part 2: Software identification tag

ISO/IEC TR TECHNICAL REPORT. Information technology Software measurement Functional size measurement Part 4: Reference model

ISO INTERNATIONAL STANDARD. Technical product documentation Lettering Part 4: Diacritical and particular marks for the Latin alphabet

ISO/IEC TR TECHNICAL REPORT. Software engineering Guide for the application of ISO/IEC to project management

ISO/TS TECHNICAL SPECIFICATION

ISO/IEC TR TECHNICAL REPORT. Information technology Procedures for achieving metadata registry (MDR) content consistency Part 1: Data elements

ISO 3085 INTERNATIONAL STANDARD. Iron ores Experimental methods for checking the precision of sampling, sample preparation and measurement

ISO INTERNATIONAL STANDARD. Condition monitoring and diagnostics of machines General guidelines on using performance parameters

ISO/IEC INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD. Information technology Automatic identification and data capture techniques Bar code master test specifications

ISO/IEC TR TECHNICAL REPORT. Information technology Coding of audio-visual objects Part 24: Audio and systems interaction

ISO INTERNATIONAL STANDARD. Ophthalmic optics Contact lenses and contact lens care products Fundamental requirements

ISO/IEC INTERNATIONAL STANDARD

ISO/IEC AMENDMENT

ISO/IEC INTERNATIONAL STANDARD. Information technology ECMAScript for XML (E4X) specification

ISO INTERNATIONAL STANDARD

INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD

ISO 186 INTERNATIONAL STANDARD. Paper and board Sampling to determine average quality

ISO/IEC INTERNATIONAL STANDARD

ISO/IEC INTERNATIONAL STANDARD

INTERNATIONAL STANDARD

Transcription:

TECHNICAL REPORT ISO/IEC TR 22250-1 First edition 2002-02-15 Information technology Document description and processing languages Regular Language Description for XML (RELAX) Part 1: RELAX Core Technologies de l'information Description de documents et langages de traitement Description de langage courant pour XML (RELAX) Partie 1: Noyau RELAX Reference number ISO/IEC TR 22250-1:2002(E) ISO/IEC 2002

PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobe's 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'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 printing. 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. ISO/IEC 2002 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, without permission in writing from either ISO at the address below or ISO's 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 copyright@iso.ch Web www.iso.ch Printed in Switzerland ii ISO/IEC 2002 All rights reserved

Contents Page Foreword...v 1 Scope...1 2 References...1 3 Terms and definitions...2 3.1 XML 1.0...2 3.2 Name Spaces in XML...3 3.3 XML Schema Part 2...3 3.4 XML Information Set...3 3.5 Definitions specific to RELAX Core...3 4 Notations...4 5 Basic concepts...4 5.1 Design principles...4 5.2 Instances, schemas, and meta schemas...4 5.2.1 Instances...4 5.2.2 RELAX schema...5 5.2.3 RELAX meta schema...5 5.3 Modules and frameworks...5 5.4 Islands and instances...5 5.5 Behaviour of the RELAX Core processor...6 5.6 Datatypes...6 5.7 Roles and clauses...7 5.8 Production rules, labels, and hedge models...7 5.8.1 General...7 5.8.2 Element hedge models...8 5.8.3 Mixed hedge models...8 5.8.4 Datatype references...8 5.9 Taxonomy and occurrences of names...8 6 Module Constructs...9 6.1 module...9 6.2 interface...9 6.3 export...10 6.4 tag...10 6.5 attpool...11 6.6 ref with the role attribute...11 6.7 attribute...11 6.8 elementrule...12 6.9 hedgerule...13 6.10 ref with the label attribute...13 6.11 hedgeref...13 6.12 sequence...14 6.13 choice...14 6.14 empty...14 6.15 none...14 6.16 mixed...14 6.17 element...15 6.18 include...15 6.19 div...16 6.20 annotation...16 6.21 documentation...16 ISO/IEC 2002 All rights reserved iii

6.22 appinfo...16 7 Datatypes...17 7.1 General...17 7.2 Built-in datatypes of XML Schema Part 2...17 7.3 Datatypes Specific to RELAX...18 7.3.1 none...18 7.3.2 emptystring...18 7.4 Facets...18 8 Reference model...19 8.1 General...19 8.2 Creation of element hedge models...19 8.3 Expansion of include...19 8.4 Expansion of element...19 8.5 Expansion of module...19 8.6 Expansion of tag embedded in elementrule...20 8.7 Interpretation...20 9 Conformance...21 9.1 General...21 9.2 Conformance levels of RELAX modules...21 9.3 Conformance levels of the RELAX Core processor...21 Annex A DTD for RELAX Core...23 Annex B RELAX Module for RELAX Core...27 Bibliography...36 iv ISO/IEC 2002 All rights reserved

Foreword ISO (the International 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 established 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 the 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 3. The main task of the joint technical committee is to prepare International Standards. 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. In exceptional circumstances, the joint technical committee may propose the publication of a Technical Report of one of the following types: type 1, when the required support cannot be obtained for the publication of an International Standard, despite repeated efforts; type 2, when the subject is still under technical development or where for any other reason there is the future but not immediate possibility of an agreement on an International Standard; type 3, when the joint technical committee has collected data of a different kind from that which is normally published as an International Standard ( state of the art, for example). Technical Reports of types 1 and 2 are subject to review within three years of publication, to decide whether they can be transformed into International Standards. Technical Reports of type 3 do not necessarily have to be reviewed until the data they provide are considered to be no longer valid or useful. Attention is drawn to the possibility that some of the elements of this part of ISO/IEC TR 22250 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 TR 22250-1, which is a Technical Report of type 3, was prepared by JISC (as JIS/TR X 0029) and was adopted, under a special fast-track procedure, by Joint Technical Committee ISO/IEC JTC 1, Information technology, in parallel with its approval by national bodies of ISO and IEC. ISO/IEC TR 22250 consists of the following parts, under the general title Information technology Document description and processing languages Regular Language Description for XML (RELAX): Part 1: RELAX Core Part 2: RELAX Namespace ISO/IEC 2002 All rights reserved v

TECHNICAL REPORT ISO/IEC TR 22250-1:2002(E) Information technology Document description and processing languages Regular Language Description for XML (RELAX) Part 1: RELAX Core 1 Scope This Technical Report gives mechanisms for formally specifying the syntax of XML-based languages. For example, the syntax of XHTML 1.0 can be specified in RELAX. Compared with DTDs, RELAX provides the following advantages: - Specification in RELAX uses XML instance (i.e., document) syntax, - RELAX provides rich datatypes, and - RELAX is namespace-aware. The RELAX specification consists of two parts, RELAX Core and RELAX Namespace. This part of the Technical Report gives RELAX Core, which may be used to describe markup languages containing a single XML namespace. Part 2 of this Technical Report gives RELAX Namespace, which may be used to describe markup languages containing more than a single XML namespace, consisting of more than one RELAX Core document. Given a sequence of elements, a software module called the RELAX Core processor compares it against a specification in RELAX Core and reports the result. The RELAX Core processor can be directly invoked by the user, and can also be invoked by another software module called the RELAX Namespace processor. RELAX may be used in conjunction with DTDs. In particular, notations and entities declared by DTDs can be constrained by RELAX. This part of the Technical Report also gives a subset of RELAX Core, which is restricted to DTD features plus datatypes. This subset is very easy to implement, and with the exception of datatype information, conversion between this subset and XML DTDs results in no information loss. NOTE 1 Since XML is a subset of WebSGML (TC2 of ISO 8879), RELAX is applicable to SGML. NOTE 2 A successor of RELAX Core is being developed at the RELAX NG TC of OASIS. 2 References ISO 8879:1986, Information processing Text and office systems Standard Generalized Markup Language (SGML) ISO 8879:1986/Cor 2:1999, Information processing Text and office systems Standard Generalized Markup Language (SGML) Technical Corrigendum 2 ISO/IEC 2002 All rights reserved 1

W3C (World Wide Web Consortium), Extensible Markup Language (XML) 1.0 (Second Edition), W3C Recommendation, http://www.w3.org/tr/rec-xml, 2000 W3C (World Wide Web Consortium), Name Spaces in XML, W3C Recommendation, http://www.w3.org/tr/recxml-names, 1999 W3C (World Wide Web Consortium), XML Information Set, W3C Proposed Recommendation, http://www.w3.org/tr/xml-infoset, 2001 W3C (World Wide Web Consortium), XML Schema Part 2, W3C Recommendation, http://www.w3.org/tr/xmlschema-2, 2001 IETF (Internet Engineering Task Force). RFC2396: Uniform Resource Identifiers (URI): Generic Syntax, 1998. 3 Terms and definitions 3.1 XML 1.0 For the purposes of this part of the Technical Report, the following terms and definitions given in XML 1.0 apply. a) start tag b) end tag c) empty-element tag d) attribute e) attribute name f) content g) content model h) attribute-list declaration i) DTD j) XML processor k) validity l) validating processor m) non-validating processor n) whitespace o) child p) parameter entity q) match NOTE 3 On top of those meanings given in XML 1.0, match has another meaning (see 5.8). 2 ISO/IEC 2002 All rights reserved