WebCGM vs SVG: Applicability for Technical Graphics Lofton Henderson Dieter Weidenbrück.

Slides:



Advertisements
Similar presentations
Validation of a CGM Graphic Against the Web CGM Profile
Advertisements

WebCGM Interoperability for industrial- strength CGM graphics John C. Gebhardt.
WebCGM and SVG: a comparison (Dieter Weidenbruck, CGM Open) Lofton Henderson, CGM Open Chris Lilley, W3C.
XML Europe 2002 Barcelona, May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.
Graphical Hotspot Definition A Common ATA/AECMA Approach Spec April 1999 / Page Graphical.
06 May 2003Stylable CGM XML Europe 2003, London Stylable CGM Dave Cruikshank The Boeing Company Lofton Henderson Henderson Consulting.
XPointer and HTTP Range A possible design for a scalable and extensible RDF Data Access protocol. Bryan Thompson draft Presented to the RDF.
1 © Netskills Quality Internet Training, University of Newcastle Structure, Presentation and Navigation © Netskills, Quality.
Applications of XSLT. generating Word documents WordML provides formatting and content elements Word 2003 can read WordML files XSLT can be used to transform.
February Harvesting RDF metadata Building digital library portals with harvested metadata workshop EU-DL All Projects concertation meeting DELOS.
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
What is XML? a meta language that allows you to create and format your own document markups a method for putting structured data into a text file; these.
HTML5 Overview HOANGPT2. 1. General 2. New Elements List 3.
Dr. Alexandra I. Cristea XHTML.
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.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
1 Cascading Style Sheets Continued Different kinds of selectors in a style sheet –Simple- Pseudo-Class –Contextual- Pseudo-Element –Class Image Styles.
XML Technology in E-Commerce
XML 6.7 XForms 6. Motivation HTML forms deliver the interactive WWW Forms are what make electronic transactions possible HTML forms are long overdue for.
M. Honkala, A. Vainio XForms & SVG MITA Seminar, HUT SVG Introduction Features Benefits Simple Example Standardization Mobile Environment Current.
© Nova / Grassioulet 5-6 mai 2002 TECFA staf2x S V G glossary Scalable Vector Graphics.
School of Computer Science & Information Technology G6DPMM - Lecture 18 Synchronized Multimedia Integration Language (SMIL)
Introduction to SVG & Batik Presented by Shang-Ming Huang.
HTML, XML, PDF Pros and Cons.
ESRM 250 & CFR 520: Introduction to GIS © Phil Hurvitz, KEEP THIS TEXT BOX this slide includes some ESRI fonts. when you save this presentation,
Sheet 1XML Technology in E-Commerce 2001Lecture 6 XML Technology in E-Commerce Lecture 6 XPointer, XSLT.
Chapter 11-Multimedia Authoring Tools. Overview Introduction to multimedia authoring tools. Types of authoring tools. Cross-platform authoring notes.
Metadata Standards and Applications 5. Applying Metadata Standards: Application Profiles.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
XML and XSL Institutional Web Management 2001: Organising Chaos.
Profiling Metadata Specifications David Massart, EUN Budapest, Hungary – Nov. 2, 2009.
November 1, 2006IU DLP Brown Bag : Fall Data Integrity and Document- centric XML Using Schematron for Managing Text Collections Dazhi Jiao, Tamara.
1 Tutorial 13 Validating Documents with DTDs Working with Document Type Definitions.
© ITEDO Software 2001 From 3D CAD to Web catalogs Dieter Weidenbrück.
© ITEDO Software 2004 S1000D and CGM Dieter Weidenbrueck Paris July 21, 2004.
Chapter 8 Introduction to HTML and Applets Fundamentals of Java.
XP Tutorial 9 1 Working with XHTML. XP SGML 2 Standard Generalized Markup Language (SGML) A standard for specifying markup languages. Large, complex standard.
What Agencies Should Know About PDF/A-1 April 6, 2006 Mark Giguere
Declaratively Producing Data Mash-ups Sudarshan Murthy 1, David Maier 2 1 Applied Research, Wipro Technologies 2 Department of Computer Science, Portland.
SVG for Designers Tom Hoferek. Objectives Introduce SVG Illustrate its capabilities Demonstrate SVG in action Speculate, discuss, answer questions.
1 Scalable Vector Graphics (SVG). 2 SVG SVG is an application language of XML. “SVG is a language for describing two- dimensional graphics in XML. SVG.
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
January 2005MERLOT Reusable Learning Design Guidelines OVERVIEW FOR MERLOT Copyright 2005 Reusable Learning This work is licensed under a Attribution-NoDerivs-NonCommercial.
Cascading Style Sheets Robin Burke ECT 360. Outline Midterm CSS CSS selection Positioning SVG Final project.
XML and Its Applications Ben Y. Zhao, CS294-7 Spring 1999.
HTML part 2. HTML File Formats HTML 3.2 HTML 5.0 HTML Transitional HTML Frameset HTML Strict XHTML 1.0 Transitional XHTML 1.0 Frameset.
Reading Flash. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also choose some.
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 –
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
The Web Wizard’s Guide To DHTML and CSS Chapter 8 Putting It All Together and Moving Forward.
SVG technology SVG technology is what we want? is what we want? Jaehoon Woo KNU Real-Time Systems Lab. KNU Real-Time Systems Lab.
XML Notes taken from w3schools. What is XML? XML stands for EXtensible Markup Language. XML was designed to store and transport data. XML was designed.
Part – 3 : HTML 5 SVG Tag. † SVG stands for Scalable Vector Graphics. † SVG is used to define vector-based graphics for the Web. † SVG defines the graphics.
1 Survey of Profiles from Other Domains XMSF Profile SG 13 January 2004 Curt Blais and NPS MV3250 (Introduction to XML, 1st Quarter 2005) Katherine L.
Geospatial metadata Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Creating a Flash Web Site
Objective % Select and utilize tools to design and develop websites.
Getting Started with CSS
XML Related Technologies
Suggestions for the next ODF version WebODF
Chapter 4: Scalable Vector Graphics (SVG)
XML QUESTIONS AND ANSWERS
Overview of CGM CGM is a binary vector graphics format.
CHAPTER 8 Multimedia Authoring Tools
Objective % Select and utilize tools to design and develop websites.
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Interoperability for industrial-strength CGM graphics John C. Gebhardt
Tutorial 3 Working with Cascading Style Sheets
HTML5 - 2 Forms, Frames, Graphics.
Presentation transcript:

WebCGM vs SVG: Applicability for Technical Graphics Lofton Henderson Dieter Weidenbrück

WebCGM focus & target long evolution from CGM:1987 simple graphical functionality –vector+raster, binary, standalone specific intelligent content for –hyperlinking, search, query –structuring and HTML/XML integration stringent interoperability framework Target: Web-based technical graphics

SVG focus & target Since September 2001 Very rich vector+raster graphical model –comparable to best proprietary graphic arts XML language, XML-family integrated –DOM, CSS, SMIL, Xlink, Xpointer, RDF, … Highly extensible and customizable Focus: creative graphics & design, high- quality, dynamic Web pages, …

W3C Positioning W3C scalable graphics requirements –WebCGM: partial; SVG: full W3C Graphics Activity Statement –Two different markets for vector graphics Presentations by Lilley-Weidenbrück –SVG: high end creative graphics, general Web use –WebCGM: technical graphics & Web techdoc Each to its own purpose Coexist and complement

Technical Graphics Requirements Complex geometry with modest graphical requirements Precision Text –low typographical requirements –precision Metadata requirements – modest but very specific Reliability Reusability and longevity Interoperability

Important differences Object linking DOM, Event model Animation Styling Encoding and File sizes Embedded raster images

Object linking Required: navigation from text to an object and highlighting Example

Object linking in WebCGM possible using URI fragment –addressing by unique ID or non-unique name –addressing of all objects with same name –object behaviors: view_context and highlight …/abc.cgm#name(myObj1,view_context) implemented by all viewers

Object linking in SVG linking to object using its ID not possible to address objects using a common name except for groups results in establishing the view of the parent svg element unless a view element has been specified highlighting using the view target no implementations of this seen so far

Out-of-line Links Objects dont carry a link on them, all linking is handled outside of the graphics file WebCGM: –one event handler for all objects (not fully standardized yet) –straightforward implementation SVG: –Objects are clickable only if there is a link attached to them –Alternative: assign an event handler to each object on the illustration – impractical for large scale projects with thousands of objects –Alternative 2: lots of scripting on the outside

DOM and Event Model WebCGM: –Under construction, nothing available right now SVG: –Fully developed, very powerful

Animation WebCGM: –Not planned SVG: –The only choice for standards-based animation

Styling WebCGM: –Under construction (CSS) for dynamic changes at runtime SVG: –Fully developed, part of requirement list

Encoding and File Sizes WebCGM –binary format –Text encoding available –XML encoding under discussion SVG –XML encoding, human readable but large (8-10 times bigger than a binary file) –Alternative: SVGZ, gzipped version of the file that is small but no longer human readable

Embedded raster images Major requirement in Technical Illustration WebCGM –Embedding with run-length, G3, G4, JPEG, PNG compression –No separate file necessary SVG –Embedding possible using the image element –Raster content resides in second file (external reference) or is included in base64 encoded form

Embedded raster images Example: FormatCompressionFile sizeSecond file WebCGMG4 compression65 KB- SVG with refJPEG1 KB1,282 KB SVG with refPNG1 KB150 KB SVGIncluded1,732 KB- SVGzIncluded990 KB-

Interoperability – a fable Once upon a time … a brilliant star called CGM Enthusiastically acclaimed, 250 products, buzz Virtuous and technically excellent But a dark shadow came over the land… –Incomplete implementations –Incorrect implementations –Private functional extensions No one understood each other anymore Many years of hard discipline to struggle back to the light

Interoperability framework Extensions Resource limits Language flavors and profiles Predictability of text model Completeness of implementations Test suites Maturity and stability

Extensibility #1 on the axis of interoperability evils –Private functions –Optionality & discretionary features –Implementation dependent behaviors SVG –Foreign namespace extensions, fonts, optionality,… –No constraints on usage, no mitigation requirements (What is the X in XML?!) WebCGM –GDP, ESCAPE; private fonts; linetype, markers,… –WebCGM: prohibited! Incl. comments (AD) !!!

Resource constraints WebCGM: everything has limits Raster size & formats, polygon vertexes, fonts,.. SVG: nothing limited 9.7GB raster valid, any raster format, segment filled polybezier, … Specify maxima for generators Which are sufficient minima for viewers

Text predictability WebCGM: –limited fonts plus boxed text model, –low typographic sophistication, –high fidelity & predictability. SVG: –typographically rich, –CSS font matching, –potential low fidelity & predictability, –… unless you embed font/glyph definitions.

Implementation completeness A look at the situation SVG: a look at Impl Status Matrix WebCGM: good (… data coming) The difference: size and complexity (& maturity) SVG >> CGM:1999 >> WebCGM WebCGM tosses: adv. color controls, text-on-path, conics, NURBS, segments, bundles, clip/shield Selectively: Tiny > WebCGM & Tiny < WebCGM Is this a problem? Yes, unless your sector can sole-source – 1 vendor 98% complete is not good enough (for tech. gfx.)

Language flavors and profiles Implementation fragmentation into flavors: –Subset implementations, resource limits –Extensions, discretion & optionality WebCGM profile –Unambiguous uniform requirements –No-loopholes strict conformance policy SVG basic and tiny profiles –Nested functional subsets (levels) –No constraints on extensions, optionality, resources... –Loose conformance framework

Test suites The value of test suites (TS): Measure implementation correctness Assess implementation completeness Feedback to standard! SVG Excellent basic TS from early (Candidate Rec) Any new function proposal must have test(s) CGM/WebCGM Nothing for first 8 years. Excellent basic TS now.

Maturity and stability CGM base CGM: 15+ years; WebCGM profile: 4+ Virtually zero errata Small but committed vendor group SVG Youthful (2+ yrs): errata, interpretations,... Interoperability framework too loose to stop flavors fragmentation. Effective use of TS for ad-hoc interop fix-ups Energy & effort from several large implementers

Conclusions Technical issues –e.g. embedding of raster files Linking and navigation issues –e.g. link between callout and parts list entry Re-usability –Archive and Revisions Interoperability issues –Identical results across implementations

Conclusions SVG has a great potential and great functionality It should be used what it has been written for – creative graphics For technical graphics, we prefer WebCGM for its –Specificity –Stability & Maturity –Reliability

Q and A g