Can schemas help SVG interwork with other markup vocabularies? MURATA Makoto (FAMILY Given) International University of Japan XHTML XForms SVG XML Events.

Slides:



Advertisements
Similar presentations
1 How to Specify Validation Information Roger L. Costello 27 December, 2008.
Advertisements

LIS650lecture 1 XHTML 1.0 strict Thomas Krichel
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.
17 Apr 2002 XML Syntax: DTDs Andy Clark. Validation of XML Documents XML documents must be well-formed XML documents may be valid – Validation verifies.
Data-centric XML Other Schema Languages Montag, 5. Juli 2010.
XML Craig Stewart Dr. Alexandra I. Cristea
Dr. Alexandra I. Cristea XHTML.
XML/EDI Overview West Chester Electronic Commerce Resource Center (ECRC)
Ideas to Layout Beginning web layout using Cascading Style Sheets (CSS). Basic ideas, practices, tools and resources for designing a tableless web site.
17 Apr 2002 XML Namespaces Andy Clark. The Problem Documents use different vocabularies – Example 1: CD music collection – Example 2: online order transaction.
Web Technologies By Andreas Vetter and Yong Soo Deutschle.
ISO DSDL ISO – Document Schema Definition Languages (DSDL) Martin Bryan Convenor, JTC1/SC18 WG1.
HTML/XML XHTML Authoring. Creating Tables  Table: An arrangement of horizontal rows and vertical columns. The intersection of a row and a column is called.
 Fundamentals of Web Design.  Describe the history and theory of XHTML  Understand the rules for creating valid XHTML documents  Apply a DTD to an.
An Introduction to XML Based on the W3C XML Recommendations.
History Leading to XHTML
XML for Information Management – Day 2 Airi Salminen University of Erlangen-Nuremberg Computational Linguistics Instructor: Professor Airi Salminen
Tutorial 9 Working with XHTML
1 Overview XML crash course –HTML vs. XML –pure XML data model (XML = linear syntax for trees) XML Schema Rubin Landau, Bertram Ludaescher, Richard Marciano,
Lecture 14 XML Validation. a simple element containing text attribute; attributes provide additional information about an element and consist of a name.
XML A brief introduction ---by Yongzhu Li. XML --- a brief introduction 2 CSI668 Topics in System Architecture SUNY Albany Computer Science Department.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic XML.
Creating a Well-Formed Valid Document. 2 Objectives Introducing XHTML Creating a Well-Formed Document Creating a Valid Document Creating an XHTML Document.
Computer Sciences Department
17 Apr 2002 XML Schema Andy Clark. What is it? A grammar definition language – Like DTDs but better Uses XML syntax – Defined by W3C Primary features.
XML at Work John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: (x2073)
Lecture 15 XML Validation. a simple element containing text attribute; attributes provide additional information about an element and consist of a name.
Working with XHTML Creating a Well-Formed Valid Document.
Scientific Markup Languages Birds of a Feather A 10-Minute Introduction to XML Timothy W. Cole Mathematics Librarian & Professor of.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
XML The Overview. Three Key Questions What is XML? What Problems does it solve? Where and how is it used?
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
An Introduction to XML Presented by Scott Nemec at the UniForum Chicago meeting on 7/25/2006.
XML BIS4430 – unit 10. XML Origins Extensible Markup Language (XML) 1998 Inspired by Standard Generalized Markup Language (SGML) and HTML. SGML defines.
3 XHTML.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
XML - Why: The HTML-Dilemma HTML, SGML, XML - How: Syntax, Concept, Language Elements Basics Well-formed XML-Documents (without DTD) Valid XML-Documents.
© Disruptive Innovations Etna a wysiwyg XML RELAXNG- and Gecko-based editor.
November 1, 2006IU DLP Brown Bag : Fall Data Integrity and Document- centric XML Using Schematron for Managing Text Collections Dazhi Jiao, Tamara.
Semantic Web World Wide Web Consortium Keio University/Environmental Information Tatsuya Hagino.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
Presented by Nassib Awad
XP Tutorial 9 1 Working with XHTML. XP SGML 2 Standard Generalized Markup Language (SGML) A standard for specifying markup languages. Large, complex standard.
XML – An Introduction Structured Data Mark-up James McCartney CSCE 590, Cluster and Grid Computing.
SDPL 2005Notes 2.5: XML Schemas1 2.5 XML Schemas n Short introduction to XML Schema –W3C Recommendation, 1 st Ed. May, 2001; 2 nd Ed. Oct, 2004: »XML Schema.
ISO Standards Update 2001 James David Mason Chairman, ISO/IEC JTC1/SC34 Y-12 National Security Complex (USDOE)
XML Lauren Pisciotta Zackary Zweber. History Extensive Markup Language was developed in 1996 by an 11 member group with James Clark as the leader Interestingly.
An Introduction to XML Paul Donohue May 8th 2002 Hotel Senator Zürich.
Schematron Tim Bornholtz. Schema languages Many people turn to schema languages when they want to be sure that an XML instance follows certain rules –DTD.
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.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
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 –
Representing Netconf Data Models using Document Schema Definition Languages (DSDL) Rohan Mahy Sharon Chisholm Lada Lhotka IETF 72 - Dublin.
DSDL
Copyright 2004 John Cowan 1 Infinite Diversity in Infinite Combinations why one schema language is not enough John Cowan.
XML Validation. a simple element containing text attribute; attributes provide additional information about an element and consist of a name value pair;
Introduction to Informatics - Fall 02 I.What is XML? XML and HTML Where does it fit in with other markup languages? II. How does it work? Your own private.
Using DSDL plus annotations for Netconf (+) data modeling Rohan Mahy draft-mahy-canmod-dsdl-01.
XML The Overview. Three Key Questions What is XML? What Problems does it solve? Where and how is it used?
Tutorial 9 Working with XHTML. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Describe the history and theory of XHTML.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
1 Introduction to XML Babak Esfandiari. 2 What is XML? introduced by W3C in 98 Stands for eXtensible Markup Language it is more general than HTML, but.
Kynn Bartlett 11 April 2001 STC San Diego The HTML Writers Guild Copyright © 2001 XML, XHTML, XSLT, and other X-named specifications.
Infinite Diversity in Infinite Combinations
Representation and Markup
Java XML IS
XML in Web Technologies
Cascading Style Sheets
Cascading Style Sheets III B. Com (Paper - VI) & III B
Presentation transcript:

Can schemas help SVG interwork with other markup vocabularies? MURATA Makoto (FAMILY Given) International University of Japan XHTML XForms SVG XML Events

Markup vocabularies mentioned in SVG specs XHTML MathML sXBL (formerly RCC) XForms XML Events SMIL XLink RDF user-defined vocabularies

An example: XHTML + SVG + MathML

XML source Complex Compound Document div.attention{ font-size:small;color:red; } div.mathml_graph {background:white;border:gray solid 1px;float:right; width:5cm;margin:5px;text-align:center;} div.mathml_main {margin:50px} Complex Compound Document Various Vocabularies are packed in XHTML. SVG

SVG and sXBL <svg:svg xmlns:svg=" version="1.2" xmlns:xbl=" Red text.

Schemas and Schema Languages Schemas A formal description of the syntax of a markup vocabulary Schema languages DTD W3C XML Schema RELAX NG

Three reasons for using schemas To provide rigorous, concise, and human- readable description of a markup vocabulary. To determine whether an XML document is indeed written in that markup vocabulary [validation ]. To easily build application programs dedicated to that markup vocabulary [data binding ].

Schemas for non-monolithic documents We have an RNG schema for SVG2. We have an RNG schema for sXBL. Then, is it easy to create a schema for the combination of SVG2 and sXBL? Not really XHTML2 + XForms+ SVG + XML Events + sXBL + SMIL is hoplessly difficult.

Nobody knows everything. SVG XForms XHTML2 sXBL

Requirements on validation#1 It should be possible to combine schemas representing vocabularies easily. It should be possible to divide non- monolithic documents into pieces and then validate each piece against one of the schemas. (divide-and-validate)

Do existing schema languages meet these requirements? No, you have to understand all schemas very well and change them. No, you have to validate the entire document against the combination of all schemas. W3C XML Schema RELAX NG

Requirements on validation#2 It should be possible to use different schema languages for different vocabularies Validators for many schema languages should work together.

Do existing schema languages meet these requirements? No, you are forced to use one schema language No, you have to use one validator. W3C XML Schema RELAX NG

Namespace-based Validation Dispatching Language ISO/IEC JTC1 SC34 CD

Idea Schema authoring by combining subschemas Each subschema is concerned with one (or a few) namespaces. Different subschemas may be written in different schema languages. Validation (Divide-and-validate) Divide a non-monolithic document into validation candidates. Different validation candidates are dispatched to different validators.

Syntax Simply put, (namespace, schema) pairs

Processing model schema Non-monolithic document Validation candidate validator DSDL-NVDL engine DSDL-NVDL schema

Dividing non-monolithic documents into pieces

Implementation overview Validator 1 Validator 2 Validator 3 SAX events … NVDL engine

SVG and sXBL <svg:svg xmlns:svg=" version="1.2" xmlns:xbl=" Red text.

SVG only <svg:svg xmlns:svg=" version="1.2" xmlns:xbl=" Red text.

sXBL only <svg:svg xmlns:svg=" version="1.2" xmlns:xbl=" Red text.

User-defined vocabulary only <svg:svg xmlns:svg=" version="1.2" xmlns:xbl=" Red text.

Standardization

ISO/IEC JTC1 SC34 SGML Topic Map RELAX NG Schematron

Document Schema Definition Languages 1. Overview 2. Regular-grammar-based validation -- RELAX NG 3. Rule-based validation -- Schematron 4. Namespace-based Validation Dispatching Language -- NVDL 5. Datatypes 6. Path-based integrity constraints 7. Character repertoire validation 8. Declarative document architecture 9. Datatype- and namespace-aware DTDs 10. Validation management

History RELAX Namespace(2001) JIS Technical Report ISO/IEC JTC1 Draft Technical Report DSDL Part 4 Committee Draft (2002) Modular Namespaces by James Clark (2003) Namespace Switchboard by Rick Jelliffe (2003) Namespace Routing Language by James Clark (2003) DSDL Part 4 Second Committee Draft (2004)

Plan Final Committee Draft (2004?) Final Draft International Standard (2005?) International Standard (2005?)

Conclusion and Future Work If the namespace recommendation is the first step, NVDL is the second step for the non-monolithic WWW. Data binding for NVDL is strongly required.

Links NRL by James Clark l.html 2 nd CD for NVDL mrt/dsdl/