XML-NDM Schema Issues (From Service Management Perspective) 18 September 2012.

Slides:



Advertisements
Similar presentations
FpML Versioning An AWG Discusion Document. Namespace URIs & Versions An XML parser locates the schema for a document based on its namespace URI To be.
Advertisements

Putting together a METS profile. Questions to ask when setting down the METS path Should you design your own profile? Should you use someone elses off.
Choose and Book Archive New functionality from November 2012.
Chapter 3 – Designing your web pages Dr. Stephanos Mavromoustakos.
1 Hide (Localize) Namespaces versus Expose Namespaces XML Schemas: Best Practices A set of guidelines for designing XML Schemas Created by discussions.
An Introduction to XML Based on the W3C XML Recommendations.
1 24 April 2009 SMWG SMWG Closing Report Colorado Springs, Colorado, USA 24 April 2009.
Microsoft Excel 2003 Illustrated Complete Excel Files and Incorporating Web Information Sharing.
Copyright © Open Applications Group, Inc. All rights reserved 1 OAGi XML Schema User Report June 21, Michael.
XP New Perspectives on XML, 2nd Edition Tutorial 2 1 TUTORIAL 2 WORKING WITH NAMESPACES.
XML File Format Used By LOR2 to Save Sequences The XML format used by LOR2 makes it easier for users to view and edit a sequence file outside of LOR with.
Unit 4 – XML Schema XML - Level I Basic.
Introduction to XML This material is based heavily on the tutorial by the same name at
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Working with Namespaces Combining XML Vocabularies in a Compound Document.
XML 2nd EDITION Tutorial 2 Working With Namespaces.
WORKING WITH NAMESPACES
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
Creating Extensible Content Models XML Schemas: Best Practices A set of guidelines for designing XML Schemas Created by discussions on xml-dev.
Technical Team WITSML SIG Paris 16 May Technical Team Representatives mainly from service companies Energistics (Gary) keep a global issue list.
Developing a common set of federal NDR’s Mark Crawford Draft April 28, 2005.
2010 Fall CCSDS meeting SMWG UK ) 1 Prototype Test Coordination for the SCCS Service Management (B-1) 26th October, 2010 JAXA ASAMA
WebDAV Issues Munich IETF August 11, Property URL encoding At present, spec. allows encoding of the name of a property so it can be appended to.
CSE3201 XML Namespace. 2 What is a namespace? An XML namespace is a collection of element type and attribute names.
NASA Space Network Ground Segment Sustainment (SGSS) Schedule Request SMWG Boulder, CO 31 October – 4 November 2011 John Pietras GST, Inc.
Panel P1J: Navigation Data April 2003 CCSDS P1J FINAL REPORT Spring Meeting, ESA/ESTEC, Netherlands Dates: April 1-4, 2003 Felipe Flores-Amaya NASA/GSFC/Code.
Of 33 lecture 3: xml and xml schema. of 33 XML, RDF, RDF Schema overview XML – simple introduction and XML Schema RDF – basics, language RDF Schema –
Web Architecture: Extensible Language Tim Berners-Lee, Dan Connolly World Wide Web Consortium 元智資工所 系統實驗室 楊錫謦 1999/9/15.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 13 Introduction to Classes.
XCAP Needed Diffs Jonathan Rosenberg Cisco Systems.
XP New Perspectives on XML, 2nd Edition Tutorial 2 1 TUTORIAL 2 WORKING WITH NAMESPACES.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
Tutorial 13 Validating Documents with Schemas
1 Tutorial 12 Working with Namespaces Combining XML Vocabularies in a Compound Document.
XML Engr. Faisal ur Rehman CE-105T Spring Definition XML-EXTENSIBLE MARKUP LANGUAGE: provides a format for describing data. Facilitates the Precise.
The IBM Rational Publishing Engine. Agenda What is it? / What does it do? Creating Templates and using Existing DocExpress (DE) Resources in RPE Creating.
2009 Spring CCSDS meeting ( Colorado Springs,USA ) SMWG 1 Validation Test Coordination for the SCCS Service Management (R-3.4) 20. April 2009 JAXA YAGI.
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.
Trajectory Predictions Data Formats Draft White Book CCSDS CSSM Technical Meetings Pasadena, CA, USA 23 – 27 March 2015 Jessica Reinert NASA/GRC.
1 Compound Documents: Combining XML Vocabularies.
XML Schema Definition (XSD). Definition of a Schema It is a model for describing the structure and content of data The XML Schema was developed as a content.
SEA-1 20 Nov 2014 CCSDS System Engineering Area (SEA): System Architecture WG (SAWG) Restart Peter Shames, SEA AD 20 Nov 2014.
Panel P1J: Navigation Data October 2002 CCSDS P1J Status Report Fall Meeting, Houston, Texas Dates: Oct 1-4, 2002 Felipe Flores-Amaya NASA/GSFC/Code 453/Code.
Copyright © 2004, Keith D Swenson, All Rights Reserved. OASIS Asynchronous Service Access Protocol (ASAP) Tutorial Overview, OASIS ASAP TC May 4, 2004.
Panel P1J: Navigation Data April 2002 CCSDS P1J Status Report Spring Meeting, ESA/ESOC, Darmstadt, Germany Dates: April 8 – 11, 2002 Felipe Flores-Amaya.
Collaborating With Your Health Plan 03/07/05 To paraphrase A. Einstein: We cannot solve today’s problems with the same level of thinking that created them.
DC Architecture WG meeting Wednesday Seminar Room: 5205 (2nd Floor)
September, 2005What IHE Delivers 1 Patient Index and Demographic Implementation Strategies IHE Vendors Workshop 2006 IHE IT Infrastructure Education Rick.
CSA WG Meeting 17 May 2011 Page 1 Berlin, Germany CSA WG Service Agreement Status Prepared by Hugh Kelliher Space ConneXions Limited
1 Options Clearing Corporation Encore Data Distribution Services April 22, 2004.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
PIX/PDQ – Today and Tomorrow Vassil Peytchev Epic.
1 W.Hell (ESA) November 2015 FR Model and Registry Considerations FR Model and Registry Considerations November 2015.
13-17 October 2008 Berlin, Germany ty - 1 Cross Support Architecture WG Closing Plenary Report Fall 2008 Meeting Takahiro Yamada (JAXA/ISAS) 17 October.
1 Extensible Stylesheet Language (XSL) Extensible Stylesheet Language (XSL)
Web Services: Principles & Technology Slide 3.1 Chapter 3 Brief Overview of XML COMP 4302/6302.
Training for developers of X-Road interfaces
Training for developers of X-Road interfaces
Experiences and Status
WORKING WITH NAMESPACES
XML QUESTIONS AND ANSWERS
CCSDS Navigation Working Group
CCSDS P1J Status Report Fall Meeting, Houston, Texas Dates: Oct 1-4, 2002 Felipe Flores-Amaya NASA/GSFC/Code 453/Code Oct 2002 ******************************************************
CCSDS P1J FINAL REPORT Spring Meeting, ESA/ESTEC, Netherlands Dates: April 1-4, 2003 Felipe Flores-Amaya NASA/GSFC/Code 450/Code 572 April 2003.
Namespace Review 21-Nov-18.
Namespace Review 29-Dec-18.
TREx ESC Coordinator Training
Namespace Review 14-Oct-19.
New Perspectives on XML
Presentation transcript:

XML-NDM Schema Issues (From Service Management Perspective) 18 September 2012

2 Agenda  Background  Issue 1: “qualified” vs. “unqualified” elementFormDefault  Issue 2: multiple versions within the same namespace  Follow up

3 Background  The Space Communication Cross Support Service Management (SCCS- SM) Recommended Standard (CCSDS ) imports the XML-NDM schemas for OPMs and OEMs in various Trajectory Prediction messages  The current version of the SCCS-SM schemas imports the Red-1 XML-NDM schemas, because that’s what was available in 2009 when SCCS-SM Blue-1 was published  The Service Management Working Group (SMWG) wants to update the SCCS-SM schemas to import the OPM and OEM schemas corresponding to the XML-NDM Blue Book  However, when the SMWG attempted to put in the latest XML-NDM schemas, we found that a change had been made that seriously complicates the ability to easily import the XML-NDM schemas  This issue applies not only to the SCCS-SM, but to any other organization or standard that needs to incorporate XML-NDM schemas  Also, the XML-NDM schemas violate XML namespace rules in a way that makes them unusable in a multi-version environment

Issue 1: “qualified” vs. “unqualified” elementFormDefault (1 of 2)  The XML-NDM schemas posted on SANA have elementFormDefault = “unqualified”  In order for another set of schemas (such as that for SCCS-SM) to be able to import unqualified schemas, that importing set of schemas must be declared “qualified” to avoid namespace clashes  This causes all tags that are native to that importing set of schemas to have namespace prefixes attached in the instance documents  This was a change from the XML-NDM Red Book schemas, which were declared “qualified” and therefore had their tags prefixed with namespace  NavWG motivation for change  Uniformity in appearance of NDM content in all XML instance documents  Appearance close to that in the KVN ODM messages  Concern for “misleading namespaces”  Using the XML-NDM schemas in their current (unqualified) form would require detailed rework of importing schema sets for every XML-NDM update 4

5 Issue 1: “qualified” vs. “unqualified” elementFormDefault (2 of 2)  Best practice for XML schema design  “Make two identical copies of all your schemas, where the copies differ only in the value of elementFormDefault (in one copy set elementFormDefault=“qualified”, in the other copy set elementFormDefault=“unqualified”)”  SMWG requests that NavWG make available both qualified and unqualified sets of the XML-NDM schemas via SANA  Standards/applications that import XML-NDM schemas would need to declare which set of schemas to be used  In order to mitigate concern for misleading namespaces and increase uniformity of appearance across XML documents, each qualified set would be accompanied by a recommended namespace prefix (e.g., “ndm”) when published to SANA  “unqualified” set can be used in applications or standards where maximum similarity to KVN version is most important

Issue 2: multiple versions within the same namespace (1 of 2)  All XML-NDM schemas are under the same namespace  “urn:ccsds:recommendation:navigation:schema:ndmxml”  Within various schema files, multiple types use the same name  “oemType” in both ndmxml-1.0-oem-1.0.xsd and ndmxml-1.0-oem-2.0.xsd files  “opmType” in both the ndmxml-1.0-opm-1.0.xsd and ndmxml-1.0-opm-2.0.xsd files  Version attributes in each type indicates version (“1.0” and “2.0”) but attributes cannot be used to differentiate among type names within the same address space  XML-NDM schema files on SANA include “master” files that include only those files for a specific version number  Use of these master files hides the existence of other types with the same name within the same namespace, but they still exist  No problem if only one (version) set is used in any given application

7 Issue 2: multiple versions within the same namespace (2 of 2)  Current XML-NDM approach does not work in applications where multiple versions must exist concurrently  E.g., an implementation of an institutional system that simultaneously exchanges data with users of different versions SCCS-SM is such a case  Two possible solutions identified  Create a unique namespace for each new version This approach was adopted in the Red Book version of the XML-NAV schemas  Keep one XML-NDM schema namespace, but differentiate the type names E.g., “oemV1Type”, “oemV2Type”  Separate namespaces is conceptually cleaner: every new issue of the standard gets its own namespace  Single namespace may make it easier to generate code from the schema files.  (What are the implications of each approach for the content and structure of the XML-NDM Blue Book?)

Recommended Approach to Resolution  First priority: resolve qualified/unqualified issue  No changes to XML-NDM Blue Book needed if current “unqualified” set is simply replaced by “qualified” set in SANA  Minor (almost editorial) changes to Blue Book might be needed if both “unqualified” and “qualified” sets are posted on SANA  If both qualified and unqualified versions of the schema files are produced, how will they be differentiated in SANA?  Longer term: resolve multiple versions within the same namespace issue  Identify approach: separate namespaces per version vs. include version identification in type names There should probably be some CCSDS-wide approach  Identify and make changes to XML-NDM Blue Book to reflect resolution  Update schemas and repost to SANA Does one simply replace material on SANA, or is there some type of SANA “versioning”? 8