ISO/IEC INTERNATIONAL STANDARD 19757-2 Second edition 2008-12-15 Information technology Document Schema Definition Language (DSDL) - Part 2: Regular-grammar-based validation - RELAX NG Technologies de I'information - Langage de définition de schéma de documents (DSDL)- Partie 2: Validation de grammaire orientée courante RELAX NG Reference number ISO/IEC 19757-2:2008(E) IEC @ISO/IEC2008 HS under I without license from IHS Not for Resale ISO/IEC 19757-2:2008(E) 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 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 COPYRIGHTPROTECTEDDOCUMENT @ ISO/IEC2008 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, 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 [email protected] Web www.iso.org Published in Switzerland @ ISO/IEC 2008 - All rights reserved I without license from IHS Not for Resale ISO/IEC 19757-2:2008(E) Contents Page Introduction... iv 1 Scope.... 2 Normative references.. 3 4 Notation. 4.1 EBNF... 4.2 Inference rules.. 4.2.1 4.2.2 4.2.3 Expressions. 5 Data model.. 、 Full syntax 8 7 Simplification. 9 7.1 General. 9 7.2 Annotations.... 9 7.3 Whitespace.. 9 7.4 datatypeLibrary attribute.. 7.5 type attribute of value element.. 10 7.6 10 7.7 externalRef element.. 10 7.8 include element... 7.9 name attribute of element and attribute elements. 11 7.10 ns attribute...... 11 7.11 QNames... 7.12 div element. 11 7.13 11 7.14 mixed element... 12 7.15 optional element.. 12 7.16 zeroOrMore element 12 7.17 12 7.18 combine attribute. 13 7.19 grammar element... 13 7.20 define and ref elements................................ 13 7.21 notAllowed element......... 14 7.22 empty element.. 14 8 Simple syntax. 14 9 Semantics.. 15 9.1 Inference rules.. 15 9.2 Name classes..... 15 9.3 Patterns... 16 9.3.1 choice pattern.. 16 9.3.2 group pattern.... 16 9.3.3 empty pattern.... 16 9.3.4 text pattern. 16 9.3.5 oneorMore pattern. 17 9.3.6 17 9.3.7 element and attribute pattern.... 17 9.3.8 data and value pattern...... 18 9.3.9 Built-in datatype library.... 18 9.3.10 list pattern....... 19 9.4 Validity. 19 @ ISO/IEC 2008-All riahts reserved ili by IHS under license with IS thout license from IHS Not for Resale
ISO IEC 19757-2 2008 Information technology — Document Schema Definition Langu