TC57 Use of XML Schema. Scott Neumann. October 3, 2005

Similar documents
QosPolicyHolder:1 Erratum

Advanced databases and data models: Theme2-1: Efficient storage of XML. Lena Strömbäck. June 17,

XML. Part II DTD (cont.) and XML Schema

Restricting complextypes that have mixed content

Introduction Syntax and Usage XML Databases Java Tutorial XML. November 5, 2008 XML

Pattern/Object Markup Language (POML): A Simple XML Schema for Object Oriented Code Description

Java EE 7: Back-end Server Application Development 4-2

SYNDICATING HIERARCHIES EFFECTIVELY

Intellectual Property Rights Notice for Open Specifications Documentation

CONVERTING CONCEPTUAL MODEL XUML TO XML SCHEMA

[MS-SSISPARAMS-Diff]: Integration Services Project Parameter File Format. Intellectual Property Rights Notice for Open Specifications Documentation

9/17/2010. Today s lecture. Advanced databases and data models: Theme3: Efficient storage of XML. Storage possibilities for XML. XML as a data model

Automated Load Forecast System (ALFS) For RC Interface Specification

Oracle B2B 11g Technical Note. Technical Note: 11g_005 Attachments. Table of Contents

PISOA Interface Specification. Fall 2017 Release

Automated Load Forecast System (ALFS) Interface Specification. Fall 2017 Release

Inside Information Platform Implementation Guide

Customer Market Results Interface (CMRI) For RC Interface Specification. Version: 1.0.0

Grid Resource Specification

CLIENT-SIDE XML SCHEMA VALIDATION

Tutorial: Define Information Model Author: Stefan Suermann

Approaches to using NEMSIS V3 Custom Elements

Oracle Utilities Opower Energy Efficiency Web Portal - Classic Single Sign-On

[MS-ASNOTE]: Exchange ActiveSync: Notes Class Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

Level of Assurance Authentication Context Profiles for SAML 2.0

2006 Martin v. Löwis. Data-centric XML. XML Schema (Part 1)

/// Rapport. / Testdocumentatie nieuwe versie Register producten en dienstverlening (IPDC)

Validation Language. GeoConnections Victoria, BC, Canada

Fall, 2005 CIS 550. Database and Information Systems Homework 5 Solutions

Java and XML. XML documents consist of Elements. Each element will contains other elements and will have Attributes. For example:

Configuring a WMS Feature Source

XML Schema. Mario Alviano A.Y. 2017/2018. University of Calabria, Italy 1 / 28

extensible Markup Language

White Paper. Fabasoft Integration for Novell GroupWise. Fabasoft Folio 2017 R1 Update Rollup 1

Dziennik Ustaw 37 Poz. 125 SCHEMAT GML

BEAWebLogic. Integration. Transforming Data Using XQuery Mapper

<xs:element name="record" type="recordtype" maxoccurs="unbounded" /> </xs:sequence> </xs:complextype>

W3C XML Schemas For Publishing

DOM Interface subset 1/ 2

Configuring Capabilities Manager

Naming & Design Requirements (NDR)

Qualys Cloud Platform v2.x API Release Notes

extensible Markup Language

SDMX self-learning package No. 6 Student book. XML Based Technologies Used in SDMX

Week 5 Aim: Description. Source Code

D-Cinema Packaging Caption and Closed Subtitle

IVOA Support Interfaces: Mandatory Interfaces Version 0.25

CMS SOAP CLIENT SOFTWARE REQUIREMENTS SPECIFICATION

Work/Studies History. Programming XML / XSD. Database

01 INTRODUCTION TO SEMANTIC WEB

PLANNED RESOURCE SCHEDULE DOCUMENT UML MODEL AND SCHEMA

QosPolicyHolder 1.0. For UPnP Version Date: March 10th, 2005

RESOURCE SCHEDULE CONFIRMATION DOCUMENT UML MODEL AND SCHEMA

XML extensible Markup Language

Software Engineering Methods, XML extensible Markup Language. Tutorial Outline. An Example File: Note.xml XML 1

XML Structures. Web Programming. Uta Priss ZELL, Ostfalia University. XML Introduction Syntax: well-formed Semantics: validity Issues

Appendix H XML Quick Reference

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

Custom Data Access with MapObjects Java Edition

GoProCaseSoap.wsdl <?xml version='1.0' encoding='utf-8'?><wsdl:definitions name="goprocasesoapservice"

Capability Advertisement Messages

[MS-TMPLDISC]: Template Discovery Web Service Protocol. Intellectual Property Rights Notice for Open Specifications Documentation

Schemat aplikacyjny GML państwowego systemu odniesień przestrzennych

BBPS API Sepcifications

[MS-ASCAL]: ActiveSync Calendar Class Protocol Specification

The Data Web and PLM Transforming PLM through Web Standards and Technologies

ipams_modules_0_1c.xsd

Configuring Capabilities Manager

Message and Service Definitions

A framework for the implementation of Application Profiles in XML Schemas

11. Documents and Document Models

Big Data Exercises. Fall 2018 Week 8 ETH Zurich. XML validation

[MS-OXWSSYNC]: Mailbox Contents Synchronization Web Service Protocol Specification

XML Schema Element and Attribute Reference

Chapter 3 Brief Overview of XML

TED schemas. Governance and latest updates

BEAWebLogic. Event Server. WebLogic Event Server Reference

HVDC LINK DOCUMENT UML MODEL AND SCHEMA

Apache UIMA Regular Expression Annotator Documentation

Document Metadata: document technical metadata for digital preservation

SCHEDULE DOCUMENT UML MODEL AND SCHEMA

FIPA JXTA Discovery Middleware Specification

IVOA Support Interfaces: Mandatory Interfaces Version 0.3

On why C# s type system needs an extension

Oracle Enterprise Data Quality

Web Computing. Revision Notes

REDISPATCH DOCUMENT UML MODEL AND SCHEMA

Notes. Any feedback/suggestions? IS 651: Distributed Systems

Using Inventory Export Guide

FIPA JXTA Discovery Middleware Specification

Wind Plant Operator Data Guide

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation.

XML / HTTP(s) NETIO M2M API protocols docs

RESERVE ALLOCATION RESULT DOCUMENT UML MODEL AND SCHEMA

Can a language be before the first programming language?

Graph Semantic Based Conceptual Model of Semistructured Data: An Object Oriented Approach

7.1. Redovna datoteka sa slogovima koji se odnose na kupnje i prodaje valuta na tržištu stranih sredstava plaćanja

TS SIGNATURE VALIDATION REPORT

Document Metadata: document technical metadata for digital preservation

XML and Web Services

Transcription:

TC57 Use of XML Schema Scott Neumann October 3, 2005

Introduction The purpose of this presentation is to respond to an action item from the last WG14 meeting regarding the use of XML Schema by WG14 and more broadly within TC57 The audience for this presentation includes WG13, WG14, WG16, WG19 and the CIM User Group This was a discussed at the recent WG19 meeting 2 Proprietary and Confidential

Issues WG14 specifications are defined using XML Schema There are many ways to generate XML Schemas type definitions from the UML model There are many ways to construct a message from XML Schema type definitions The most significant concern is the realization of relationships in XML Note: XML Schema does not eliminate the need for RDF 3 Proprietary and Confidential

Requirements Need to generate XML Schema (XSD) for use in message and WSDL definitions with tools such as XML Spy, XML Authority, etc. Need to generate XML Schemas that are consistent with other standards and industry (e.g. integration) tools End users must be able to view/extend/use the CIM and XML Schemas with tools other than Rational Rose 4 Proprietary and Confidential

Generating CIM Types from MDL Define basic data types using <simpletype> Define classes using <complextype> Use <element>, <sequence>, <extension>, <annotation>, <documentation> tags as needed Use <enumeration> and <restriction> as appropriate Use of <choice>, <all>, <list>, <simplecontent>, <attribute>, <group>, <attributegroup> should be rare (if ever) No need for mixed content Can consider definition of keys within Naming class 5 Proprietary and Confidential

Approach to Message Creation When defining a message, select only those relationships that are appropriate for the message as opposed to pulling in all relationships by default Use hierarchical containment for relationships in XML schemas, where child objects would be nested under parent objects Where many to many relationships are needed (should be rare when defining messages), can chose to use key/keyref or XLink Note: This approach has been approved by WG19 6 Proprietary and Confidential

Hierarchical Containment <?xml version="1.0" encoding="utf-8"?> <family xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:nonamespaceschemalocation="c:\documents and Settings\san\My Documents\work\IEC\family.xsd"> <parent> <name>scott</name> </parent> <parent> <name>mary</name> </parent> <child> <name>melissa</name> <birthdate>3/26/1992</birthdate> <sex>f</sex> </child> <child> <name>emily</name> <birthdate>9/10/1996</birthdate> <sex>f</sex> </child> <dog> <name>rosie</name> <breed>schnoodle</breed> </dog> </family> 7 Proprietary and Confidential

Hierarchical Containment <?xml version="1.0" encoding="utf-8"?> <family xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:nonamespaceschemalocation="c:\documents and Settings\san\My Documents\work\IEC\family.xsd"> <parent> <name>scott</name> </parent> <parent> <name>mary</name> </parent> <child> <name>melissa</name> <birthdate>3/26/1992</birthdate> <sex>f</sex> <teacher> <name>reischman</name> <grade>8</grade> <subject>science</subject> </teacher> <teacher> <name>jones</name> <grade>8</grade> <subject>math</subject> </teacher> </child> <child> <name>emily</name> <birthdate>9/10/1996</birthdate> <sex>f</sex> <teacher> <name>ward</name> <grade>3</grade> </teacher> </child> <dog> <name>rosie</name> <breed>schnoodle</breed> </dog> </family> 8 Proprietary and Confidential

XML Example (XML Spy) 9 Proprietary and Confidential

Example XML Schema <?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" elementformdefault="qualified" attributeformdefault="unqualified"> <xs:complextype name="parenttype"> <xs:sequence> <xs:element name="name"/> </xs:sequence> </xs:complextype> <xs:complextype name="childtype"> <xs:sequence> <xs:element name="name"/> <xs:element name="birthdate"/> <xs:element name="sex"/> <xs:element ref="teacher" minoccurs="0" maxoccurs="unbounded"/> </xs:sequence> </xs:complextype> <xs:complextype name="familytype"> <xs:sequence> <xs:element ref="parent" maxoccurs="2"/> <xs:element ref="child" maxoccurs="unbounded"/> <xs:element ref="dog" minoccurs="0" maxoccurs="unbounded"/> </xs:sequence> </xs:complextype> <xs:complextype name="dogtype"> <xs:sequence> <xs:element name="name"/> <xs:element name="breed"/> </xs:sequence> </xs:complextype> <xs:element name="child" type="childtype"/> <xs:element name="parent" type="parenttype"/> <xs:element name="dog" type="dogtype"/> <xs:element name="family" type="familytype"/> <xs:complextype name="teachertype"> <xs:sequence> <xs:element name="name"/> <xs:element name="grade"/> <xs:element name="subject"/> </xs:sequence> </xs:complextype> <xs:element name="teacher" type="teachertype"/> </xs:schema> 10 Proprietary and Confidential

Example Message Definition 11 Proprietary and Confidential

Example Message XML <?xml version="1.0" encoding="utf-8"?> <Message xmlns="msg" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="msg C:\DOCUME~1\san\MYDOCU~1\work\IEC\ExMessage.xsd"> <MessageHeader> <Verb>create</Verb> <Noun>ClassAssignment</Noun> <Revision>001</Revision> </MessageHeader> <MessagePayload> <ClassAssignment> <child> <name>melissa Neumann</name> </child> <teacher> <name>mrs. Warren</name> <grade>8</grade> <subject>history</subject> </teacher> </ClassAssignment> </MessagePayload> </Message> 12 Proprietary and Confidential

Next Steps Remove all references to XML schema message approach from parts 3-10 of 61968 (need an MCR for part 3) Describe definition of messages in 61968-1 as an MCR Need to be sure that sufficient documentation is available for all vendors that would be participating in interoperability testing 13 Proprietary and Confidential