Optimising XML Schema for IODEF Data model INCH WG, IETF57 July 16, 2003 Yuri Demchenko.

Slides:



Advertisements
Similar presentations
XML-XSL Introduction SHIJU RAJAN SHIJU RAJAN Outline Brief Overview Brief Overview What is XML? What is XML? Well Formed XML Well Formed XML Tag Name.
Advertisements

XML Schema Heewon Lee. Contents 1. Introduction 2. Concepts 3. Example 4. Conclusion.
Open Office.Org What is the Open Office.org Source Project? Open source project through which Sun Microsystems is releasing the technology for the popular.
Forest Markup / Metadata Language FML
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.
XML Technology in E-Commerce
XML: Styling and Transformation Dr Andy Evans. Multiple views Nice thing is that this data can be styled in lots of different ways using stylesheets.
SPECIAL TOPIC XML. Introducing XML XML (eXtensible Markup Language) ◦A language used to create structured documents XML vs HTML ◦XML is designed to transport.
SDPL 2003Notes 2: Document Instances and Grammars1 2.5 XML Schemas n A quick introduction to XML Schema –W3C Recommendation, May 2, 2001: »XML Schema Part.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic XML.
XML Security in IODEF INCH WG, IETF56 March 19, 2003 Yuri Demchenko.
Introduction to XML This material is based heavily on the tutorial by the same name at
Aalborg University – Department of Production XML Extensible Markup Language Kaj A. Jørgensen Aalborg University, Department of Production XML – Extensible.
Lecture 15 XML Validation. a simple element containing text attribute; attributes provide additional information about an element and consist of a name.
XML Anisha K J Jerrin Thomas. Outline  Introduction  Structure of an XML Page  Well-formed & Valid XML Documents  DTD – Elements, Attributes, Entities.
IODEF Design principles and IODEF Data Model Overview IODEF Data Model and XML DTD pre-draft Version 0.03 TERENA IODEF WG Yuri Demchenko.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
XML – Extensible Markup Language XML eXtensible – add to language. Markup – delimit info using tags. Language – a way to express info.
Scientific Markup Languages Birds of a Feather A 10-Minute Introduction to XML Timothy W. Cole Mathematics Librarian & Professor of.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
ColdFusion’s XML Capabilities Maryland CFUG April 12, 2005 Presented by Doug Ward.
School of Computing and Management Sciences © Sheffield Hallam University To understand the Oracle XML notes you need to have an understanding of all these.
XML eXtensible Markup Language w3c standard Why? Store and transport data Easy data exchange Create more languages WSDL (Web Service Description Language)
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
Introduction to XML Eugenia Fernandez IUPUI. What is XML? From the World Wide Web Consortium (W3C) The Extensible Markup Language (XML) is the universal.
Another PillowTalk Presentation  2004 Dynamic Systems, Inc. Introduction to XML for SOA Lee H. Burstein,
An Introduction to XML Presented by Scott Nemec at the UniForum Chicago meeting on 7/25/2006.
Session II Chapter 2 – Chapter 2 – XSLhttp://
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
Sheet 1XML Technology in E-Commerce 2001Lecture 7 XML Technology in E-Commerce Lecture 7 XSL Formatting Objects, Java Data Binding.
XHTML,XML M.Abdullah Mrian. What is the XHTML Why XHTML ?
What is XML?  XML stands for EXtensible Markup Language  XML is a markup language much like HTML  XML was designed to carry data, not to display data.
These Questions are copied from
Company LOGO OODB and XML Database Management Systems – Fall 2012 Matthew Moccaro.
 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.
Session IV Chapter 9 – XML Schemas
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
Lecture 11 XSL Transformations (part 1: Introduction)
Softsmith Infotech XML. Softsmith Infotech XML EXtensible Markup Language XML is a markup language much like HTML Designed to carry data, not to display.
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.
1 Introduction  Extensible Markup Language (XML) –Uses tags to describe the structure of a document –Simplifies the process of sharing information –Extensible.
An OO schema language for XML SOX W3C Note 30 July 1999.
Introduction to XML This presentation covers introductory features of XML. What XML is and what it is not? What does it do? Put different related technologies.
Relations between IODEF and IDMEF Based on IDMEF XML DTD and Data Model Analysis TERENA ITDWG IODEF Editorial Group Yuri Demchenko.
XML EXtensible Markup Language. Agenda Introduction to XML XML Rules XML Elements XML Attributes XML Validation XML Exercises XML Namespaces XML CDATA.
XML – Part III. The Element … This type of element either has the element content or the mixed content (child element and data) The attributes of the.
Using XML to store Descriptive Metadata Richard Murphy Rosarie O’Riordan Central Statistics Office Ireland.
XML and Its Applications Ben Y. Zhao, CS294-7 Spring 1999.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
XML A Language Presentation. Outline 1. Introduction 2. XML 2.1 Background 2.2 Structure 2.3 Advantages 3. Related Technologies 3.1 DTD 3.2 Schemas and.
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 –
COP 3813 Intro to Internet Computing Prof. Roy Levow XML.
Unit 3 — Advanced Internet Technologies Lesson 11 — Introduction to XSL.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
Martin Kruliš by Martin Kruliš (v1.1)1.
XML Validation II Advanced DTDs + Schemas Robin Burke ECT 360.
Relations between IODEF and IDMEF Based on IDMEF XML DTD and Data Model Analysis TERENA ITDWG IODEF Editorial Group Yuri Demchenko.
CIS 228 The Internet 9/20/11 XHTML 1.0. “Quirks” Mode Today, all browsers support standards Compliant pages are displayed similarly There are multiple.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Introduction to XML Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
XML Extensible Markup Language
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.
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.
XML in Web Technologies
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
Database Processing with XML
Optimising XML Schema for IODEF Data model
CSE591: Data Mining by H. Liu
Presentation transcript:

Optimising XML Schema for IODEF Data model INCH WG, IETF57 July 16, 2003 Yuri Demchenko

March 19, San Francisco XML Security Slide2 _2 Outlines  Motivation for moving to Schema definition  Changes and Optimisations to IODEF elements semantics  Extra features: XML Signature and Multilingual text type

March 19, San Francisco XML Security Slide2 _3 Motivation for moving to XML Schema DTD is document-oriented  Like HTML Schema is data-oriented  More object oriented  Integrated into development tools  Easier maintenance (validation, modification, documentation - using tools) Enabling other useful features  XML Signature  SAML  XPath, XSL and XSLT, XLink, XPointer

March 19, San Francisco XML Security Slide2 _4 Semantics change for some attributes (1) Due to more complex way of naming attributes in the schema, introduced and redefined few attributes:  introduced Contact.contactrole u was just “role” defined locally for the Contact element  introduced Contact.contacttype u was just “type” defined locally for the Contact element  cloned attribute Expectation.priority from attvals.severity u Was priority %attvals.severity; #IMPLIED  renamed yesno -> spoofed  renamed Expectation.category -> expectation and attvals.expectation u Was just “category” defined as attvals.expectations

March 19, San Francisco XML Security Slide2 _5 Semantics change for some attributes (2)  Attribute dtype is used for both AdditionalData and RecordItem u Was adtype and dtype u Problems with IDMEF compatibility?  Data types for Telephone and Fax remains “string” u Mistakenly was defined in my early comments as "decimal"

March 19, San Francisco XML Security Slide2 _6 Container for Signature Added container element Signatures to top level class IODEF-Document  May contain multiple signatures ds:Signature with imported namespace

March 19, San Francisco XML Security Slide2 _7 Simplified definition: elements Node, Service, UserId   (domain) name of a node is one but optional; IP Addresses may be many   port primary identified by number, optionally - by name  this simplified definition will help to avoid warnings in the future from too strict validators and parsers  this definition will also validate initial IDMEF definition and XML text  Old definition (name | number | (name, number)) generate warning of non-deterministic Schema  Other possibility - (name?, number?)

March 19, San Francisco XML Security Slide2 _8 New data types Some elements are defined not as a complexElement but via complexType to allow reuse and easier redefine some complexTypes, in particular:  AdditionalDataType  IncidentIDType  DateTimeType  DescriptionType  MultilingTextType  TextAbstractType

March 19, San Francisco XML Security Slide2 _9 MultilingualTextType and TextAbstractType To mark-up multilingual text preservation features, introduced two new classes:  TextAbstractType to carry language attribute  MultilingTextType to describe possible multilingual text transformation by Transform class imported from XMLSig Schema Introduced new element "Name" for Contact class instead of more simple "name"  Name defined via MultilingTextType

March 19, San Francisco XML Security Slide2 _10 ds:Transform element ## (1,1) elements from (0,unbounded) namespaces ##

March 19, San Francisco XML Security Slide2 _11 Issue to discuss: Preserving multilingual text Measures to preserve multilingual non-UTF-8 text look complex, so they better will be limited to elements which are really sensitive to non-UTF-8 encoding: Description Name PostalAddress Impact Location IDN (internationalised domain name) – required to use UTF-8 or other derived encoding.

March 19, San Francisco XML Security Slide2 _12 Preserving ML text - usage Two cases are possible when using XML Signature:  Transform to UTF-8 all document and sign the document  Use text transformation to keep multilingual text in binary form and sign the document  In both cases you need to make conversion to display text on user machine that doesn’t use/handle UTF-8/Unicode

March 19, San Francisco XML Security Slide2 _13 Future steps  Make changes to current DTD-01  Include Schema into next IODEF draft?