National Institute of Standards and Technology 1 Testing and Validating OAGi NDRs Puja Goyal Salifou Sidi Presented to OAGi April 30 th, 2008.

Slides:



Advertisements
Similar presentations
CDISC Open Source and low-cost Solutions
Advertisements

Developing an XBRL Reporting Architecture Rafael Valero Arce Fujitsu España Services es.fujitsu.com.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
SRDC Ltd. 1. Problem  Solutions  Various standardization efforts ◦ Document models addressing a broad range of requirements vs Industry Specific Document.
Manage Your Requirements with RequisitePro Kim Werner Ajilon Consulting
IS 373—Web Standards Todd Will
Tutorial 1 Developing a Basic Web Page
CS155b: E-Commerce Lecture 10: Feb. 13, 2003 XML and its relationship to B2B commerce Acknowledgements: R. Glushko, A. Gregory, and V. Ramachandran.
Tutorial 8 Sharing, Integrating and Analyzing Data
Preparatory Solvency II Reporting Industry Presentation.
IRS XML Standards & Tax Return Data Strategy For External Discussion June 30, 2010.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
Introduction to XML This material is based heavily on the tutorial by the same name at
Overview of Search Engines
National Coastal Data Development Center A division of the National Oceanographic Data Center Please a list of participants at each location to
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Framework for Model Creation and Generation of Representations DDI Lifecycle Moving Forward.
1 1 Roadmap to an IEPD What do developers need to do?
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Standards for Technology in Automotive Retail STAR Workbench 1.0 Michelle Vidanes & Dave Carver STAR XML Data Architects, Certified Scrum Masters.
National Institute of Standards and Technology Lessons Learned from Encoding the DON NDR March 15, 2006 US/DoC/NIST/MEL/MSID.
Classroom User Training June 29, 2005 Presented by:
EAD: A Technical Introduction Julie Hardesty, Metadata Analyst June 3, 2014.
XP 1 HTML: The Language of the Web A Web page is a text file written in a language called Hypertext Markup Language. A markup language is a language that.
OFC304 Excel 2003 Overview: XML Support Joseph Chirilov Program Manager.
A Tool Kit for Implementing XML Schema Naming and Design Rules OASIS Symposium: The Meaning of Interoperability May 9, 2006 Josh Lubell,
CREATED BY ChanoknanChinnanon PanissaraUsanachote
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
Max Planck Institute for Psycholinguistics Tool development report H. Brugman MPI Nijmegen.
DM_PPT_NP_v01 SESIP_0715_AJ HDF Product Designer Aleksandar Jelenak, H. Joe Lee, Ted Habermann Gerd Heber, John Readey, Joel Plutchak The HDF Group HDF.
1 XML as a preservation strategy Experiences with the DiVA document format Eva Müller, Uwe Klosa Electronic Publishing Centre Uppsala University Library,
XML BIS4430 – unit 10. XML Origins Extensible Markup Language (XML) 1998 Inspired by Standard Generalized Markup Language (SGML) and HTML. SGML defines.
Introduction to MDA (Model Driven Architecture) CYT.
Sheet 1XML Technology in E-Commerce 2001Lecture 1 XML Technology in E-Commerce Lecture 1 WWW, HTML, CSS, XML, Meta-modeling.
Developing a common set of federal NDR’s Mark Crawford Draft April 28, 2005.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1 Quick Tutorial – Part 2 Open Data Web Services for Oracle BPM August, 2013 Forms.
 XML is designed to describe data and to focus on what data is. HTML is designed to display data and to focus on how data looks.  XML is created to structure,
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
Federal XML Naming and Design Rules and Guidelines (NDRG) / XML Schema Guidelines (XSG) – An Overview Ken SallKen Sall, SAIC / KC Morris, NISTKC Morris.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
XML eXtensible Markup Language. Topics  What is XML  An XML example  Why is XML important  XML introduction  XML applications  XML support CSEB.
Manufacturing Systems Integration Division A Development Process for Content Standards KC Morris, Boonserm (Serm) Kulvatunyou, Josh Lubell, and Puja Goyal.
Development Process and Testing Tools for Content Standards OASIS Symposium: The Meaning of Interoperability May 9, 2006 Simon Frechette, NIST.
TUTORIAL Dolphy A. Fernandes Computer Science & Engg. IIT Bombay.
1 Schema Registries Steven Hughes, Lou Reich, Dan Crichton NASA 21 October 2015.
Introduction to ASP.NET T.Ahlam Algharasi. The Visual Studio IDE Start page 2.
Jerry Yun Pan 1, Nigel Banks 2 1 Environmental Sciences Division, Oak Ridge National Laboratory, Oak Ridge, TN Discovery Garden Inc., 118.
1 1 CAM Toolkit for NIEM IEPD Development Phil Letowt – DHS/ICE David Webber – ICE Data Architect.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
MEDIN Standards Workshop Standards / XML / Validation / Transformation / ESRI / Search.
CASE (Computer-Aided Software Engineering) Tools Software that is used to support software process activities. Provides software process support by:- –
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
Leveraging UBL for Developing Justice XML (GJXDM) Reference Documents John Ruegg County of Los Angeles Information Systems Advisory Body GJXDM User Conference.
Tutorial 1 Developing a Basic Web Page. Objectives Learn the history of the Web and HTML Describe HTML standards and specifications Understand HTML elements.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
1 Exchange Network Shared Schema Components. 2 Shared Schema Components Topics: Introduction to Shared Schema Components Purpose/value of using Shared.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Manufacturing Systems Integration Division Development Process and Testing Tools for Content Standards Simon Frechette National Institute of Standards.
Ontologies Reasoning Components Agents Simulations An Overview of Model-Driven Engineering and Architecture Jacques Robin.
Chapter 29. Copyright 2003, Paradigm Publishing Inc. CHAPTER 29 BACKNEXTEND 29-2 LINKS TO OBJECTIVES Attach an XML Schema Attach an XML Schema Load XML.
Briefing and Planning meeting on INSPIRE validator implementation – Discussion 16/12/2015.
1 Model Driven Health Tools Design and Implementation of CDA Templates Dave Carlson Contractor to CHIO
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
Modern Systems Analysis and Design Third Edition
Overview of MDM Site Hub
Modern Systems Analysis and Design Third Edition
Modern Systems Analysis and Design Third Edition
Tutorial 7 – Integrating Access With the Web and With Other Programs
Presentation transcript:

National Institute of Standards and Technology 1 Testing and Validating OAGi NDRs Puja Goyal Salifou Sidi Presented to OAGi April 30 th, 2008

National Institute of Standards and Technology 2 Outline Naming and Design Rules Quality of Design Tool (QOD) OAGi NDR v9.0 Encoding –Testability –Observations –Demo NDR Authoring/Sharing What’s Next

National Institute of Standards and Technology 3 NDR: Naming and Design Rules Rules applied when creating standards for the exchange of information –Any of a series of rules documents since 2003 that restrict XML Schema flexibility –Indicate features which should, may, may not, should not, must, or must not be used.

National Institute of Standards and Technology 4 What’s in an NDR? Naming Rules: –Names (or tags) represent information to be exchanged –Subject names to consistent naming practices for clarity and consistency in an XML schema. Design Rules –Address how information is structured Superstructures: namespaces Microstructures: global vs. local elements

National Institute of Standards and Technology 5 Benefits of Encoding Rules NDRs written in English –Easy to misinterpret –Schema testing and validation not automated Encoded NDRs –Result in better rules Verifies rule is clear Validates rule is being used as intended –Can be computationally enforced –Cycle time from requirements for a schema to production XML is reduced

National Institute of Standards and Technology 6 QOD – Apply rules directly Interface to write Test Requirements (rules) and associate with Test Cases (encoded rules) –Schematron –Java-Expert System Shell (JESS) Automate testing and validation against schema(s) –Displays and stores results from execution against Schematron/JESS Repository to store rules –Easy to reuse –Group rules to create Test Profile

7 QOD – Testing Environment Common Rule Database Schema Compliance Report Schema to Check Rule Input & Test GUI

National Institute of Standards and Technology 8 QOD Tool Overview Test Requirements Page Test Case Page Test Profile Page * Results Page (Updated) * Import an NDR profile (New) * Export a QOD test profile (New)

National Institute of Standards and Technology 9 OAGi NDR v9.0 Encoding Rule Testability Additional observations Demo

National Institute of Standards and Technology 10 Rule Testability Fully Testable –Rule can be encoded without any assumptions Partially Testable –Some assumptions are needed Not Testable –unable to encode the rule

National Institute of Standards and Technology 11 Testability of OAGi Rules

National Institute of Standards and Technology 12 Not Testable Rules – From Our Perspective QOD Limitations –Related to XML instance Lack of clarity Nondeterministic –Lack of information in the OAGi schemas Documentation or Guidance –Supplementary information

National Institute of Standards and Technology 13 Examples: OAGi-76, OAGi-70 - Ambiguous : OAGi-76 : “xsd:notation MUST NOT be used.” –Which notation must not be used? xsd:notation element or xsd:NOTATION type ? - Nondeterministic: OAGi-70 “ Minor version schema MUST incorporate all XML constructs from the immediately preceding major or minor version schema” - No minor version information in OAGi schemas

National Institute of Standards and Technology 14 Additional Observations Overlaps –“Fully Overlapped” Generalization vs. Restriction Generic rule may be removed for same results –“Partially Overlapped” Occasionally can combine rules if same type of schema Links (one rule refers to another) –For testing purposes, all referenced rules have to be included A B Rule A Rule B

National Institute of Standards and Technology 15 Overlaps between rules Example : OAGi-11 “XML element, attribute and type names constructed from dictionary entry names MUST NOT include periods, spaces, or other separators; or characters not allowed by W3C XML 1.0 for XML names.” OAGi-10 “Element, attribute and type names MUST be drawn from the following set: a – z and A – Z.” OAGi-10 is restriction of OAGi-11 OAGi-11 can be deleted from the NDR without affecting the original intention

National Institute of Standards and Technology 16 OAGi Profiles in QOD General Profile –Rules that can be applied to all OAGi schemas BOD Profile –Rules specific to BOD schemas

National Institute of Standards and Technology 17 Demo Overview of the QOD main functionalities (Public vs Private) Demo Test Profile : - Rules related to the BOD - Rules related to the usage of annotation and documentation elements Schema to be tested: - OAGi Developer BOD version 9.0 Full Test Results of the execution of OAGi Developer BOD schemas version 9.0, 9.1 and 9.2 against the rules that we have encoded.

National Institute of Standards and Technology 18 OAGi Developer BOD Testing : Materials Schemas tested - Developer BOD schemas version 9.0 : 434 files - Developer BOD schemas version 9.1 : 434 files - Developer BOD schemas version 9.2 : 494 files Profiles tested - General Profile : 25 rules - BOD Profile : 5 rules

National Institute of Standards and Technology 19 General Profile BOD Profile Total Developer BOD v9.0 errors Developer BOD v9.1 errors Developer BOD v9.2 errors Rule OAGi 90 : 1 error found - GetReceiveItem.xsd Rule OAGi 98 : 6 errors found - ShowCustomerPartyMaster.xsd - ShowPartyMaster.xsd - ShowPayable.xsd - ShowSupplierPartyMaster.xsd - SyncCatalog.xsd - SyncSupplierPartyMaster.xsd Rule OAGi 100 : 6 errors found - GetLocationService.xsd - ShowLocationService.xsd Error details Rule OAGi 98 : 6 errors found - ShowCustomerPartyMaster.xsd - ShowPartyMaster.xsd - ShowPayable.xsd - ShowSupplierPartyMaster.xsd - SyncCatalog.xsd - SyncSupplierPartyMaster.xsd Error details Rule OAGi 31 : 2 errors found - GetReceiveItem.xsd - GetRouting.xsd Rule OAGi 31 : 1 error found - GetRouting.xsd OAGi Developer BOD Testing : Results

National Institute of Standards and Technology 20 NDR Sharing Environment Facilitate reuse of rules –Different groups have different requirements but some overlap –Group relevant tests to create customized test profile –Upload new tests to share with others

National Institute of Standards and Technology 21 NDR Authoring Environment Capability to export/import rules –Edit rules offline –Display in multiple ways HTML, XML, PDF, Spreadsheet, DocBook, etc –Customize NDR to fit your needs –Based on NDR Profile Schema Standard structured vocabulary for describing NDR rules Available:

National Institute of Standards and Technology 22 QOD – Authoring and Sharing Common Rule Database Schema Compliance Report Schema to Check Rule Selection Custom NDRs Sharing GUI Rule Input & Test GUI

National Institute of Standards and Technology 23 OAGi NDR Sharing Based on UN/CEFACT 26 totally reusable from UN/CEFACT 59 modifications of UN/CEFACT rules and can be partially reuse 17 rules are unique

National Institute of Standards and Technology 24 NDR Profile Schema Purpose of NDR Schema –Standard set of rules for describing NDR rules –Use of open standards when developing NDRs –Standard structured vocabulary for describing NDR rules Benefits of NDR Schema –Enables exchange of NDR profiles between parties. –Facilitates import/export of NDR rules with QOD. –Can be developed using standard-based tools –Is machine (computer) readable –Multiple presentation methods for human visualization of rules HTML/PDF/Excel, etc.

National Institute of Standards and Technology 25 NDR Profile Authoring Ways to create NDR Profile XML Exchange Documents conforming to the NDR Profile Schema –Export from QOD –XForms creation –Excel Spreadsheet Template XSLT transform from Excel to NDR Profile –Any Validating XML Editor

National Institute of Standards and Technology 26 What’s next Create stand alone system Enhance support for rule sharing by including rule traceability Pursue similar support for developing tests for constraints on instance data Incorporate feedback into our tools!

National Institute of Standards and Technology 27 Discussion Points Authoring/Sharing Environment –Do OAGi members see it useful for their needs? Instance testing Stand alone vs. web based system

National Institute of Standards and Technology 28 Contacts KC Morris, NIST – Simon Frechette, NIST – Josh Lubell, NIST – Puja Goyal, NIST Salifou Sidi, NIST – Betty Harvey, ECC, Inc. -- Websites QOD online Developer’s site for QOD tool and executable rules: XML Tools available from MSID: DAS XSI Working Group:

National Institute of Standards and Technology 29 Welcome page

National Institute of Standards and Technology 30 Testing as Guest

National Institute of Standards and Technology 31 My account

National Institute of Standards and Technology 32 OAGi demo profile

National Institute of Standards and Technology 33 TP results

National Institute of Standards and Technology 34 OAGi 31 results with schema

National Institute of Standards and Technology 35 NDR Authoring Environment Based on XML Schema – NDR ProfileNDR Profile User’s Guide Prototype Authoring and Rendering tools Display NDR Document Edit NDR Profile The Bridge to Testing: QOD Import/ExportQOD Import/Export

National Institute of Standards and Technology 36 Mark-Up of Guidance Check the usage of empty elements Fully-Testable Empty elements MUST NOT be used. [OAGi 90] Error : Empty elements MUST NOT be used. [OAGi 90] Error : Empty elements MUST NOT be used. ]]>

National Institute of Standards and Technology 37 Demonstration of Editing

National Institute of Standards and Technology 38 Editing (cont.)

National Institute of Standards and Technology 39 Demonstration of Rendering: NDR in PDF

National Institute of Standards and Technology 40 NDR in HTML with links to Profile Data and QOD

National Institute of Standards and Technology 41 Profile Depicted as HTML