TS-0004 Data Representation Proposal Discussion

Slides:



Advertisements
Similar presentations
Access Control Mechanism Discussion
Advertisements

1 Web Data Management XML Schema. 2 In this lecture XML Schemas Elements v. Types Regular expressions Expressive power Resources W3C Draft:
An Introduction to XML Based on the W3C XML Recommendations.
1 XML DTD & XML Schema Monica Farrow G30
CSE 636 Data Integration XML Schema. 2 XML Schemas W3C Recommendation: Generalizes DTDs Uses XML syntax Two documents: structure.
Group:WG3 (PRO) Source:Peter Niblett, IBM, Date: Agenda:PRO#14 TS-0004 Data Representation Proposal Discussion.
Discussion on oneM2M HTTP Binding Interoperability Test Spec.
The importance of the collection pattern for OneM2M architecture Group Name: ARC/PRO Source: Mahdi Ben Alaya, LAAS-CNRS,
Manohar – Why XML is Required Problem: We want to save the data and retrieve it further or to transfer over the network. This.
Method of Converting Resource definitions into XSD Group Name: WG3 (PRO) Source: Shingo Fujimoto, FUJITSU, Meeting Date:
OneM2M-MP Data_Model_Repository Establishing Data Model Repository for oneM2M Group Name: Method and Procedure Sub-commitee Source: WG3 chair.
Group:WG3 (PRO) Source:Peter Niblett, IBM, Date: Agenda:PRO#14 TS-0004 Data Representation Proposal Discussion.
Dr. Azeddine Chikh IS446: Internet Software Development.
Discussion on Time Series Data Group Name: WG2 Source: Qi Yu, Mitch Tseng- Huawei Technologies, Co. LTD. Meeting Date: Work Item :WI-0033.
Announcement Resources ARC Announcement_Issues Group Name: WG2 Source: Barbara Pareglio, NEC Meeting Date: Agenda Item: Input Contribution.
1 CS 430 Database Theory Winter 2005 Lecture 17: Objects, XML, and DBMSs.
IVOA Registry videocon 2004/05/13-14 Gerard Lemson1 Model based schema.
WG 3 Progress Report at TP13 Group Name: oneM2M TP13 Source: Raymond Forbes, LM Ericsson, Meeting Date: to
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 13 Introduction to Classes.
FIMS v1.1 Version numbers in schema Richard Cartwright Quantel July 2013.
Supporting Time Series Data Group Name: WG2 Source: Qi Yu, Mitch Tseng- Huawei Technologies, Co. LTD. Meeting Date: Work Item :WI-0033.
Management of CMDH Policies Group Name: WG5-MAS Source: Wolfgang Granzow, Qualcomm, Meeting Date: Agenda Item: Management.
An OO schema language for XML SOX W3C Note 30 July 1999.
XML – Part III. The Element … This type of element either has the element content or the mixed content (child element and data) The attributes of the.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
Tutorial 13 Validating Documents with Schemas
Customized Resource Types MAS Group Name: MAS + ARC + PRO WGs Source: Wolfgang Granzow, Qualcomm Inc., Meeting Date:
Working with XML Schemas ©NIITeXtensible Markup Language/Lesson 3/Slide 1 of 36 Objectives In this lesson, you will learn to: * Declare attributes in an.
® A Proposed UML Profile For EXPRESS David Price Seattle ISO STEP Meeting October 2004.
XSD: XML Schema Language Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Discussion on XSD implementation conventions (document number PRO R01) Group Name: PRO Source: Wolfgang Granzow, Meeting.
Different planes for the resource structure Group Name: WG5 – MAS and WG2 – ARC Source: Nicolas Damour, Sierra Wireless
Different planes for the resource structure Group Name: WG5 – MAS and WG2 – ARC Source: Nicolas Damour, Sierra Wireless
IEEE Std P1671 (ATML Overview and Architecture) Status and Review Mike Seavey October 2009.
PRO/ARC and TST/PRO joint sessions at TP20 Group Name: oneM2M TP20 Source: Peter Niblett, IBM Meeting Date:
Protocol Issues related to Plugtest Group Name: TST Source: Wolfgang Granzow, Qualcomm Inc., Meeting Date: Agenda.
ARC / PRO questions Source: Peter Niblett, IBM Date:
Using XML Schema to define NETCONF Content Sharon Chisholm Alex Clemm TJ Tjong
Authorization Architecture Discussion Group Name: SEC WG Source: Seongyoon Kim, LG Electronics, Meeting Date: 28 MAY, 2014 Agenda.
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
Advanced Accounting Information Systems Day 34 XBRL Instance Documents and Taxonomies November 13, 2009.
Discussion of open issues for WebSocket binding Group Name: PRO WG Source: Qualcomm Inc., Wolfgang Granzow, Nobu Uchida Meeting Date: PRO#22,
Web Services: Principles & Technology Slide 3.1 Chapter 3 Brief Overview of XML COMP 4302/6302.
TS-0004 guideline for new resource type definition Group Name: PRO WG Source: SeungMyeong JEONG, LG Electronics Meeting Date: Agenda Item: TS.
Joint PRO/ARC session at TP20 Group Name: oneM2M TP20 Source: Peter Niblett, IBM Meeting Date:
[authenticationProfile] <mgmtObj> specialization
oneM2M interop 3 issues and optimizations
AIXM 5 UML to XSD.
CSE Retargeting to AE, IPE, and NoDN Hosted Resources
Service Enabled AE (SAE)
End-to-End Security for Primitives
2nd Interoperability testing issues
XML Examples AIXM 5 RC2.
Experiences and Status
XML Schema for WIRED XML Detector Description Workshop
Proposed design principles for modelling interworked devices
Information Delivery Manuals: Functional Parts
Proximal IoT Interworking solution discussion
oneM2M Versioning Next Steps
Proposals on Test Events
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
Discussion on XSD open issues
UML to XSD.
Relational Algebra 461 The slides for this text are organized into chapters. This lecture covers relational algebra, from Chapter 4. The relational calculus.
3GPP Interworking and use of <schedule> resource
Detailed Release Note Change Re-baseline UMIG XSDs
XML Problems and Solutions
Summary of the MAF and MEF Interface Specification TS-0032
Detailed Release Note Change Re-baseline UMIG XSDs
Implementation of Learning Systems
Presentation transcript:

TS-0004 Data Representation Proposal Discussion Group: WG3 (PRO) Source: Peter Niblett, IBM, peter_niblett@uk.ibm.com Date: 2014-11-09 Agenda: PRO#14

Introduction These slides discuss approaches to resolve the issues raised in PRO-536 and PRO-537 Announced Resources Inheritance of “Universal” and “Common attributes” Management Resources They do not include Representation of Child Resource references The question of Global vs Local element declaration

Announced Resources Announced Resource Types not treated properly in current XML Need discrete enumeration for announced Resource Types (i.e., unique values in resourceType attribute) TS-0001 suggests that the Announced resource type takes the form <xxxxAnnc>, e.g. <ContainerAnnc> No resource-specific XSD (yet) for announced Resource Types Proposal The relevant XSD files will contain Announceable and Announced versions of the resource type We will need new short names for the announced variants The TS-0001 statement about <xxxxAnnc> does not apply The numeric enumeration value for resourceType of <xxxAnnc> will be 1000 more thant the value for the corresponding <xxx>

Attributes Following revisions to TS-0001 we now have Five “Universal attributes” resourceType, parentID, creationTime, lastModifiedTime, labels Three “Common attributes” relating to Announcement announceTo, announcedAttribute, link It appears that only 9 resourceTypes (+ the management ones) are announceable Four other “Common attributes” resourceID, accessControlPolicyIDs, expirationTime, stateTag Exceptions stateTag is only defined for <container>, <contentInstance>, <delivery> and <request> parentID is defined for everything except <CSEBase> resourceID is defined for everything except <AE> and <CSEBase> accessControlPolicyIDs is defined for everything except <accessControlPolicy>, <contentInstance> and <schedule> expirationTime is defined for everything except <CSEBase> and <contentInstance>

Inheritance Model XML Schema allows one complex type to extend another. The extension type inherits all the XML elements / attributes of its parent. Advantages of using this mechanism to represent the universal / common attributes Avoids having to retype the definitions into each resource Illustrates the underlying relationship of the type definitions When you use a tool to generate classes for an OO language (e.g. xjc to generate Java classes from an XSD) the generated classes can reflect the XML inheritance However the exceptions listed on the previous slide make this tricky…

Options Don’t use inheritance at all. Make every Resource Type declare all its attributes (universal, common, resource - specific) Just use inheritance for the 5 universal attributes, and make the Resources declare the common + resource-specific ones Use inheritance for both universal and common attributes. Options to make this work: Move one or more common attributes into resource-specific section (e.g. stateTag since it is only used by 4 attributes) Sacrifice some of the fidelity of the schemas, e.g. permit a resource schemas to include optional attributes that are not shown as present in TS-0001 Push to get further changes to TS-0001 to remove some of the irregularities Make special cases out of some of the resources, e.g. <CSEBase>, <AE>, <accessControlPolicy>, contentInstance> and <schedule> Construct an XML inheritance scheme to work around the irregular structure of the attributes

“Natural” Inheritance model Resource used by <CSEBase> RegularResource used by <delivery> <eventConfig> <execInstance> <m2mServiceSubscriptionProfile> <mgmtCmd> <pollingChannel> <request> <serviceSubscribedNode> <statsCollect> <statsConfig> <subscription> AnnounceableResource used by <accessControlPolicy> <AE> <container> <contentInstance> <group> <locationPolicy> <mgmtObj> specializations <node> <remoteCSE> <schedule> Assumes stateTag is moved to resource-specific Problem resources shown in black Note: order of attributes won’t be the same as in TS-0001

Problems with previous model <CSEBase> has no parentID Proposal: return xsi:nil <accessControlPolicy>, <contentInstance> and <schedule> have no accessControlPolicyIDs Proposal: special case them with a restriction to have maxOccurs = 0 <AE> has no resourceID Proposal: define a resourceID for it in TS-0001 <contentInstance> has no expirationTime Proposal: change TS-0001 to add it

Alternative Inheritance model Assumes stateTag is moved to resource-specific <accessControlPolicy>, <contentInstance> and <schedule> now use the xxxSubordinateResource types

Problems with alternative model <CSEBase> has no parentID Proposal: return xsi:nil <AE> has no resourceID Proposal: define a resourceID for it in TS-0001 <accessControlPolicy> and <schedule> have expirationTime Proposal: change TS-0001 to add it or special case them with a restriction to have maxOccurs = 0

<mgmtObj> Current schema design does not serialize attributes and child resources properly for [specializations] of <mgmtObj> Common attributes are followed by <mgmtObj> attributes and child resources, and then specialization-specific attributes (or so-called [objectAttribute]) This could be fixed by introducing AnnouncebleManagemnt and AnnouncedManagement types [specializations] do not have resourceType=mgmtObj in XSD Each [specialization] is treated as a resource-specific type declaration and has a discrete element name (which is currently equivalent to resourceType) Need resolution of this issue with WG2 and WG5.