[MS-XAML]: XAML Object Mapping Specification 2006

  • View
    214

  • Download
    0

Embed Size (px)

Text of [MS-XAML]: XAML Object Mapping Specification 2006

  • 8/14/2019 [MS-XAML]: XAML Object Mapping Specification 2006

    1/87

    [MS-XAML]:

    Xaml Object Mapping Specification 2006

    Intellectual Property Rights Notice for Open Specifications Documentation

    Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, f ileformats, languages, standards as well as overviews of the interaction among each of these technologies.

    Copyrights. This documentation is covered by Microsoft copyrights. Regardless of any other terms thatare contained in the terms of use for the Microsoft website that hosts this documentation, you may make

    copies of it in order to develop implementations of the technologies described in the Open Specifications

    and may distribute portions of it in your implementations using these technologies or your documentation

    as necessary to properly document the implementation. You may also distribute in your implementation,

    with or without modification, any schema, IDLs, or code samples that are included in the documentation.

    This permission also applies to any documents that are referenced in the Open Specifications.

    No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation. Patents. Microsoft has patents that may cover your implementations of the technologies described in the

    Open Specifications. Neither this notice nor Microsoft's delivery of the documentation grants any licenses

    under those or any other Microsoft patents. However, a given Open Specification may be covered by

    Microsoft's Open Specification Promise (available here: http://www.microsoft.com/interop/osp) or the

    Community Promise (available here: http://www.microsoft.com/interop/cp/default.mspx ). If you would prefer a

    written license, or if the technologies described n the Open Specifications are not covered by the Open

    Specifications Promise or Community Promise, as applicable, patent licenses are available by contactingiplg@microsoft.com.

    Trademarks. The names of companies and products contained in this documentation may be covered bytrademarks or similar intellectual property rights. This notice does not grant any licenses under those

    rights.

    Reservation of Rights. All other rights are reserved, and this notice does not grant any rights other thanspecifically described above, whether by implication, estoppel, or otherwise.

    Tools. The Open Specifications do not require the use of Microsoft programming tools or programmingenvironments in order for you to develop an implementation. If you have access to Microsoft programming

  • 8/14/2019 [MS-XAML]: XAML Object Mapping Specification 2006

    2/87

    ii

    [MS-XAML] v1.0

    Xaml Object Mapping Specification 2006

    Copyright 2008 Microsoft Corporation.Release: June 2008

    tools and environments you are free to take advantage of them. Certain Open Specifications are intended

    for use in conjunction with publicly available standard specifications and network programming art, and

    assumes that the reader either is familiar with the aforementioned material or has immediate access to it.

  • 8/14/2019 [MS-XAML]: XAML Object Mapping Specification 2006

    3/87

    iii

    [MS-XAML] v1.0

    Xaml Object Mapping Specification 2006

    Copyright 2008 Microsoft Corporation.Release: June 2008

    Contents

    [MS-XAML]: ....................................................................................................................................... 1

    Xaml Object Mapping Specification 2006 .......................................................................................... 1

    Contents ........................................................................................................................................... 3

    Preface .............................................................................................................................................. 7

    About This Specification .................................................................................................................... 7

    Language Notes ................................................................................................................................ 7

    Section 1. Overview ........................... ....................... ........................... .................... ...................... 8

    1.1 Xaml Vocabularies and the Xaml Schema Information Set ......................... ...................... ... 8

    1.2 Xaml Instances, Xaml Documents and the Xaml Information Set ........................ ................ 9

    1.3 Well-Formed and Valid Xaml Information Sets ......................... ............................. ............. 9

    1.4 The Structure of Information in Xaml ....................... ............................ ................... ........... 9

    1.5 A Note on Notation ........................... .......................... .......................... .......................... . 10

    Section 2. Information Set Type System ...................... ............................ .................... ................. 11

    2.1 Text String ........................ ...................... ............................ ................... .......................... 11

    2.2 XamlName ........................ ...................... ............................ ................... .......................... 11

    2.3 Namespace Uri ............................... ...................... ............................ ................... ............ 12

    2.4 Boolean ............................... ................... ............................ ................... .......................... 12

    2.5 Allowed Location ............................ ...................... ............................ ................... ............ 12

    2.6 XML Namespace Mapping.................................. ............................... ................... ............ 12

    2.7 Set ........................... ....................... ............................ ................... ............................... ... 12

    2.8 Ordered Collection .......................... ...................... ............................ ................... ............ 12

    Section 3. Xaml Schema Information Set ..................... ............................ .................... ................. 14

    3.1 Schema Information Item ....................... ............................ ....................... ...................... 15

    3.1.1. Constraints ........................ ...................... ............................ ...................... ............... 15

    3.1.2. Notes (Non-Normative) ...................... ............................ ....................... ................... 153.2 XamlType Information Item ..................... ........................... ........................ ..................... 16

    3.2.1. Constraints ........................ ...................... ............................ ...................... ............... 18

    3.2.2. Notes (Non-Normative) ...................... ............................ ....................... ................... 19

    3.3 XamlMember Information Item ......................... ............................... ................... ............ 19

    3.3.1. Constraints ........................ ...................... ............................ ...................... ............... 20

    3.3.2. Notes (Non-Normative) ...................... ............................ ....................... ................... 21

  • 8/14/2019 [MS-XAML]: XAML Object Mapping Specification 2006

    4/87

    iv

    [MS-XAML] v1.0

    Xaml Object Mapping Specification 2006

    Copyright 2008 Microsoft Corporation.Release: June 2008

    3.4 Text Syntax Information Item ........................ ............................ ................... .................... 21

    3.4.1. Constraints ........................... ....................... ........................... .................... .............. 22

    3.4.2. Notes (Non-Normative) ......................... ............................ .................... ................... 22

    3.5 Value Syntax Information Item ...................... ............................ ................... .................... 223.5.1. Constraints ........................... ....................... ........................... .................... .............. 23

    3.6 Pattern Syntax Information Item ...................... ............................... ................... .............. 23

    3.6.1. Constraints ........................... ....................... ........................... .................... .............. 23

    3.7 Constructor Information Item ....................... ............................ ................... .................... 23

    3.7.1. Constraints ........................... ....................... ........................... .................... .............. 24

    Section 4. Xaml Information Set ................... ........................... ........................ .......................... ... 25

    4.1 Document Information Item ..................... ........................... ........................ ..................... 25

    4.1.1. Constraints ........................... ....................... ........................... .................... .............. 25

    4.2 Object Node Information Item ......................... ............................... ................... .............. 26

    4.2.1. Constraints ........................... ....................... ...........................