ANNEX I, XML Design Rules and Conventions

ANNEX I, XML Design Rules and Conventions

HANDBOOK ON INDUSTRIAL PROPERTY INFORMATION AND DOCUMENTATION Ref.: Standards - ST.96 page: 3.96.i.1 ST.96 - ANNEX I XML DESIGN RULES AND CONVENTIONS Version 2.2 Revision approved by the XML4IP Task Force of the Committee of WIPO Standards (CWS) on August 17, 2016 Table of Contents ST.96 - ANNEX I .................................................................................................................................................................. 1 1. INTRODUCTION ......................................................................................................................................................... 3 1.1 Overview ............................................................................................................................................................ 3 1.2 Scope ................................................................................................................................................................. 3 1.3 How to use this document .................................................................................................................................. 3 1.4 Document structure ............................................................................................................................................ 3 1.5 Terminology and notation ................................................................................................................................... 3 1.5.1 Key words ............................................................................................................................................... 3 1.5.2 General notations ................................................................................................................................... 4 1.5.3 Rule identifiers ........................................................................................................................................ 4 2. XML DESIGN CONVENTIONS ................................................................................................................................... 4 2.1 General XML design rules .................................................................................................................................. 4 2.2 XML naming conventions ................................................................................................................................... 4 2.2.1 Schema construct naming conventions ................................................................................................... 5 2.2.2 Schema file naming conventions ............................................................................................................ 6 2.3 Modularity strategy ............................................................................................................................................. 7 2.3.1 Schema modules .................................................................................................................................... 7 2.3.2 External schema reference ..................................................................................................................... 7 2.4 Reusability .......................................................................................................................................................... 8 2.5 Namespaces ....................................................................................................................................................... 8 2.5.1 Namespace declaration and qualification ................................................................................................ 8 2.5.2 Namespaces in XML schema ................................................................................................................ 8 2.5.3 Target namespaces ................................................................................................................................ 9 2.5.4 Default namespaces ............................................................................................................................. 10 2.6 Schema versioning ........................................................................................................................................... 10 2.6.1 Major changes and minor changes ....................................................................................................... 10 2.6.1.1 Major versions ........................................................................................................................ 10 2.6.1.2 Minor versions ........................................................................................................................ 11 2.6.2 Schema versioning strategy .................................................................................................................. 11 2.6.2.1 Folder and file naming conventions in schema versioning ..................................................... 11 2.6.2.2 Built-in XML schema version attribute in schema versioning .............................................. 11 2.6.2.3 User-defined st96Version and ipoVersion attributes in schema versioning for XML instances. ............................................................................................................................................. 12 2.7 Transformability with other WIPO XML Standards ............................................................................................ 14 2.8 Industry-standard schemas............................................................................................................................... 14 3. XML SCHEMA CONSTRUCT CONVENTIONS ........................................................................................................ 15 3.1 Types definitions ............................................................................................................................................... 15 3.1.1 Simple types ......................................................................................................................................... 15 3.1.1.1 W3C built-in datatypes ........................................................................................................... 15 3.1.1.2 User-defined datatypes .......................................................................................................... 15 3.1.2 Complex types ...................................................................................................................................... 16 en / 03-96-i Date: September 2016 HANDBOOK ON INDUSTRIAL PROPERTY INFORMATION AND DOCUMENTATION Ref.: Standards - ST.96 page: 3.96.i.2 Annex I, page 2 3.2 Elements and attributes .................................................................................................................................... 16 3.2.1 Element vs. attributes ........................................................................................................................... 16 3.2.2 Elements ............................................................................................................................................... 16 3.2.2.1 Cardinality of elements ........................................................................................................... 16 3.2.2.2 Empty elements ..................................................................................................................... 16 3.2.3 Attributes .............................................................................................................................................. 16 3.2.4 Element and attribute grouping ............................................................................................................. 17 3.3 Extension and restriction .................................................................................................................................. 17 3.3.1 Extension .............................................................................................................................................. 17 3.3.2 Restriction ............................................................................................................................................. 17 3.3.3 Substitution groups ............................................................................................................................... 17 3.4 Identity constraints ............................................................................................................................................ 17 3.5 Schema documentation .................................................................................................................................... 18 3.5.1 Schema construct documentation ......................................................................................................... 18 3.5.2 Schema header documentation ............................................................................................................ 18 4. INSTANCE DESIGN RULES ..................................................................................................................................... 19 4.1 Namespaces in XML instance documents ........................................................................................................ 19 4.1.1 XML instance document validation ....................................................................................................... 19 4.1.2 Namespace declaration and qualification

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    30 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us