Improving ODF applications by sharing ODF tests Svante Schubert Software Engineer Sun Microsystems Inc.

Slides:



Advertisements
Similar presentations
Chungnam National University DataBase System Lab
Advertisements

Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
VOFilter & VOTable2XHTML Chenzhou CUI, Yanxia ZHANG China-VO Project National Astronomical Observatory of China.
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
XML: text format Dr Andy Evans. Text-based data formats As data space has become cheaper, people have moved away from binary data formats. Text easier.
W3C XML Schema: what you might not know (and might or might not like!) Noah Mendelsohn Distinguished Engineer IBM Corp. October 10, 2002.
Adaptability of learning objects by appropriate knowledge representation Anastas Misev Institute of Informatics Faculty of Natural Science and Mathematics.
1 COS 425: Database and Information Management Systems XML and information exchange.
© 2010 Microsoft Corporation. All rights reserved. Quality Assurance: Towards Tools for Characterizing and Comparing Digital Documents Natasa Milic-Frayling.
September 15, 2003Houssam Haitof1 XSL Transformation Houssam Haitof.
Sheet 1XML Technology in E-Commerce 2001Lecture 6 XML Technology in E-Commerce Lecture 6 XPointer, XSLT.
Luc Audrain Hachette Livre Head of digitalization
Nov China-VO 架起 VO 与桌面应用的桥梁 崔辰州 China-VO Project 中科院国家天文台 The Chinese V IRTUAL O BSERVATORY.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
Scientific Markup Languages Birds of a Feather A 10-Minute Introduction to XML Timothy W. Cole Mathematics Librarian & Professor of.
XML for E-commerce III Helena Ahonen-Myka. In this part... n Transforming XML n Traversing XML n Web publishing frameworks.
OpenDocument Steve Adebayo April 1, Learning Objectives OpenDocument Format Zip Archive Downloading OpenOffice Transform OpenOffice Document.
CISC 3140 (CIS 20.2) Design & Implementation of Software Application II Instructor : M. Meyer Address: Course Page:
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
1 Introduction to XML Schemas using eXcelon Stylus Studio XML schema language is a standard for specifying the structure of XML documents Uses the same.
Processing of structured documents Spring 2002, Part 2 Helena Ahonen-Myka.
Copyright © IBM Corp., All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license. OpenDocument Format.
Personal productivity SW: 1  Google Apps net suite  Apache OpenOffice  Microsoft Office  Simple Integration of documents.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Introduction to Android (Part.
Accessing Data Using XML CHAPTER NINE Matakuliah: T0063 – Pemrograman Visual Tahun: 2009.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
MEDIN Standards Workshop Standards / XML / Validation / Transformation / ESRI / Search.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
MEDIN Standards Workshop Standards / XML / Validation / Transformation / ESRI / Search.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
The File menu from Word 2003 has been replaced with the Microsoft Office Button. This button contains the basic commands such as Open, Save, Print,
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
XML Schema – XSLT Week 8 Web site:
XML Databases Presented By: Pardeep MT15042 Anurag Goel MT15006.
WebODF Jos van den Oever Sponsored by:. Overview  How to use WebODF on your website  How WebODF came to be  ODF and how to put it in HTML  Writing.
Important Note If you have any questions regarding the content of this presentation, please contact a member of the OASIS OpenDocument Format Adoption.
The new ODF 1.2 Metadata Framework Svante Schubert Software Engineer Sun Microsystems Inc.
© 2007 IBM Corporation 1 Proposal: Improvement of Business Graphics Accessibility in ODF 1.2 “Data model attachment to graphics” Chieko Asakawa, Hironobu.
1 Workshop - ODFDOM Lars Behrmann Frank Meies Svante Schubert Sun Microsystems, Hamburg 1.
An OpenDocument Developers Kit (ODDK) What do we need to make Application Developers Productive with ODF? Rob Weir IBM
© 2007 IBM Corporation ODF Programmability – What we need & What we have Robert Weir Software Architect IBM Software Group
Mapping ODF to HTML WebODF online and offline office.

Merge-enabled Change Tracking Freelancer.
OpenDocument Format (ODF - ISO/IEC 26300) !!! D R A F T !!!
XML Based Filters ● Svante Schubert – Co-Lead XML OpenOffice.org – StarOffice/OpenOffice.org ● Sun Microsystems.
10 Questions and Answers about.
OASIS ODF 1.2 Rob Weir Co-Chair, OASIS ODF TC
OpenDocument Format (ISO/IEC 26300) !!! D R A F T !!!
Identify internal hardware devices (e. g
Alternative to Microsoft Office
ODF API - ODFDOM Svante Schubert Software Engineer
Unit 4 Representing Web Data: XML
Data Virtualization Tutorial: XSLT and Streaming Transformations
XML QUESTIONS AND ANSWERS
Collaborative Editing on ODF Documents
ODF Support in KWord 2 Girish Ramakrishnan
XML in Web Technologies
Open Document Format (ODF)
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
Database Processing with XML
Chapter 7 Representing Web Data: XML
A Comparative Study for Open Document Formats
Session 2: Metadata and Catalogues
XML Outline 1 XML 2 DTD.
Presents: Rally To Java Conversion Suite
Learning the Basics of Microsoft Word 2010 for Microsoft Windows
Quick Introduction to DFDL
Presentation transcript:

Improving ODF applications by sharing ODF tests Svante Schubert Software Engineer Sun Microsystems Inc.

2 Why am I here? Would like to discuss ODF Testing based on experience.. > Member of Sun Microsystems StarOffice / OpenOffice.org team since 1999 > Co-Lead OpenOffice.org XML Project > Co-Lead ODF Toolkit Project > Member of the OASIS OpenDocument Format (ODF) TC > Observer of OASIS Open Document Format Interoperability and Conformance (OIC)

Do you know ODF? The OASIS / ISO standard for office documents (2005/06) The document format of many office applications

Do you know ODF? Origin from OpenOffice.org's default format A zipped package of XML and related files (image, sound, user files)

ODF Basics - Package & Files ISO standardized default content (as shown, but NOT Picture folder) Manifest as an Inventory / “table of content” Any user content...

ODF Basics - Three Parts of ODF XML schema for office applications and it semantics. 2. OpenDocument formula language 3. OpenDocument package format

The Vision of ODF Testing Downloadable Test Documents for ODF Applications > Server with Test Docs for every ODF feature > Test Docs covers all ODF features > Hierarchy of Test documents (binary feature Tree) –Root document has all features –Every Document has two child documents (each has half of features) > Distributed Versioning System (e.g. Mercurial) Downloadable Test Framework (e.g. TestNG) > Tools for ODF compare, ODF XML Validator, etc. > Definition & Referenzimplementation of Tests

Puzzles of our Vision What is an ODF Application? Shall all ODF Application act the same? What is an ODF Feature? How to compare two ODF documents?

What is an ODF Application? Defined by Conformance to the ODF specification > Conforming OpenDocument Documents (e.g. require one of those: content.xml, styles.xml, settings.xml, meta.xml) > Conforming OpenDocument Generator (creates at least one conformant OD document) > Conforming OpenDocument Processor > (parse and process OD documents) Based on

Shall all ODF Application act the same? Different Requirements demand different subsets > Hardware: (e.g. mobile phones, printer) > Software: (webbrowser) > Scenario: (long-term archiving: leaving out unsuited features) Requirements lead to ODF Profiles (part of OIC charta) > Different Profiles have different Conformance Tests

What is an ODF feature? > Overall similar understanding, hard to specify > Feature might be a Table in ODF > Sub-/Atomic features can be repeated column If not specified how to list ODF features? > Pragmatic Approaches: –Chapters of ODF 1.1 specification –Map GUI of an ODF App to Feature (menue of OOo) We need one test document per feature > How can create documents automatically?

How to compare two ODF documents? Text compare does not work on XML documents > Logical logically equivalent files vary in representation (e.g. Namespace on any ancestor or prefix can be arbitrary) > One Solution: Canonicalization (c14n) (bring XML file to the one defined version) ODF documents add new logic equivalence > ID of most inner document relation may vary (e.g. Automatic Style name, Form / Control binding) > Nesting of text:span may vary as long as same styles are applied (example follow...) c14n :

How to compare two ODF documents? green red green green red green

How to compare two ODF documents? Graphical Document Comparance using a Trick: 1) Print Document to PostScript (PS) 2)Transform PS to a Graphical Bitmap File 3)Compare Graphic File with Reference Bitmap Sources available under -

Graphical Document Comparance ReferenceCurrent documentDifference ODF App AODF App B

Information & Acknowledgement ODF Toolkit - e.g. ODF Validatorhttp://odftoolkit.org Based on work of the ODF Interoperability and Conformance (OIC) TC open.org/committees/oic/charter.php open.org/committees/oic/charter.php Thanks to David Marston (IBM Research) for sharing his knowledge on designing and defining conformance testing (XSLT, XPath, XQuery)

Thank you – Questions & Answers Svante Schubert