XML - Schema. Mario Arrigoni Neri
|
|
- Russell Waters
- 6 years ago
- Views:
Transcription
1 XML - Schema Mario Arrigoni Neri 1
2 Well formed XML and valid XML Well formation is a purely syntactic property Proper tag nesting, unique root, etc.. Validation is more semantic, because it must take into account the meaning of data and the use of the document Commitment on document structure I'll send articles with a title, the list of authors, an abstract and a set of chapters, each one with its own title and some paragraphs. Each Image will have a caption... 2
3 XML in document access It could be hard to read by human beings Designed to be processed by artificial systems Designed to describe documents Metalanguage to define custom languages Simpler than SGML Focus on: Application Simple elaboration Standardization layer (parser) Tree-shaped documents XML parser DTD XML 3
4 XML in communication XML is also a format to send information Data communication between applications interoperability Standard services to validate tree structure is general enough to adapt to different applications and well characterized to build generic parsers DTD Appl. 1 Appl. 2 Internal format 1 XML Internal format 2 4
5 Why XML-S? DTD is sometimes too weak for our requirements DTD limits Namespaces: it is quite difficult to integrate DTD and namespaces, because DTD is part of original XML core definition Text elements: it is not possible to define constraints on texts and attributes No concept of typed text es: <course code= Knowledge Engineering > <number-of-students>marco</number-of-students> </course> Mixed contents: available only in the standard form (#PCDATA....)* Documentation: no support but XML comments (could be ignored by parsers) 5 DTD is NON written in XML!!!
6 XSD XSD (XML Schema Definition) is a particular application of XML used to describe rules to validate other languages Often replaces DTD Supports for qualification through namespaces Hyerarchical type system Text typization Types for contents Defines reusable fragments of the definition Allows for Mixed contents documentation written in XML 6 Drawbacks: it is more complex and verbose than DTD (1:4 size ratio)
7 XML Schema structure namespace Root element <schema> <xsd:schema xmlns:xsd= > </xsd:schema> Contains a set of definizions of types and elements XML Schema uses types to describe constraints on the content of elements and attributes <xsd:element name= type= /> <xsd:attribute name= type= /> Types can be: Simple: an instance of a simple type cannot contain attributes nor markup. Basically they are subsets of #PCDATA and CDATA Complex: corrspond to element content and mixed content in DTD 7
8 Simple types Like in classic programming languages, simple types can be built-in or user-defined Types are qualified. Ex: xsd:string built-in types: string, boolean, decimal, float, Date (es: ), time (es: 13:00:00+01:00 ) ID ed IDREF: like in DTD Etc user-defined (or derived) <xsd:simpletype name=.. > 8 Anonymous types can be assigned on the basys of XML nesting structure
9 Derivation by restriction - 1 The most common approach is to restrict available values Each simple type has some features (facets) we can use to describe the restriction Facets length, minlength, maxlength : number of elements (eg: characters) minexclusive, mininclusive, maxexclusive, maxinclusive enumeration ecc 9
10 Derivation by restriction - 2 <xsd:simpletype name= year > <xsd:restriction base= xsd:integer > <xsd:mininclusive value= 0 /> <xsd:maxinclusive value= 9999 /> </xsd:restriction> <xsd:simpletype name= year > <xsd:restriction base= xsd:nonnegativeinteger > <xsd:precision value= 4 /> </xsd:restriction> <xsd:simpletype name= salutation > <xsd:restriction base= xsd:string > <xsd:enumeration value= Mr /> <xsd:enumeration value= Mrs /> </xsd:restriction> 10
11 Derivation by pattern A special case of restriction Specific syntax to describe values: regular expressions a?, a a+: a, aa, aaaaa, a* :, a, aa, aaaa, [abcd]/(a b c d) a, b, c, d [a-z] a, b, c,, z a{2,4} aa, aaa, aaaa [^0-9]+ sequence of non-digit 11 <xsd:simpletype name= phone > <xsd:restriction base= xsd:string > <xsd:pattern value= (0039-)?0[0..9]{1,3}-[0..9]+) /> </xsd:restriction>
12 Derivation by union Admissible values are the union of arguments <xsd:simpletype name= Tpositive > <xsd:restriction base="xsd:decimal"> <xsd:minexclusive value="0.0"/> </xsd:restriction> <xsd:simpletype name= Tfree > <xsd:restriction base="xsd:string"> <xsd:enumeration value="free"/> </xsd:restriction> <xsd:simpletype name="tprice"> <xsd:union memberstypes= Tpositive Tfree /> 12
13 Derivation by list - 1 Up to now only scalar derivations A simple type of lists, space divided, with elements from another type Omogeneous structured (simple) type. Like arrays <xsd:simpletype name= Tpositive > <xsd:restriction base="xsd:decimal"> <xsd:minexclusive value="0.0"/> </xsd:restriction> <xsd:simpletype name= TpositiveList > <xsd:list itemtype= Tpositive /> <value> </value> <xsd:element name= value type= TpositiveList > 13
14 Derivation by list - 2 length facet <xsd:simpletype name= Tpositive > <xsd:restriction base="xsd:decimal"> <xsd:minexclusive value="0.0"/> </xsd:restriction> <xsd:simpletype name= TpositiveList > <xsd:list itemtype= Tpositive /> <xsd:simpletype name= TsixPositive > <xsd:restriction base= TpositiveList > <xsd:length value= 6 /> </xsd:restriction> 14
15 Anonymous types - 1 Static nesting vs. explicit reference 15 <xsd:simpletype name= TpositiveList > <xsd:list> <xsd:simpletype name= Tpositive > <xsd:restriction base="xsd:decimal"> <xsd:minexclusive value="0.0"/> </xsd:restriction> </xsd:list> <xsd:simpletype name= TpositiveList > <xsd:restriction> <xsd:simpletype> </xsd:restriction> <xsd:simpletype name="tprice"> <xsd:union> <xsd:simpletype> <xsd:restriction base="xsd:decimal"> <xsd:minexclusive value="0.0"/> </xsd:restriction> <xsd:simpletype> <xsd:restriction base="xsd:string"> <xsd:enumeration value="free"/> </xsd:restriction> </xsd:union>
16 Anonymous types - 2 used if the type is used only once In DTD no distinction between elements (or attributes) and types (1-to-1 correspondence) <xsd:simpletype name= Tprice > <xsd:element name= price type= Tprice /> <xsd:element name= price > <xsd:simpletype> </xsd:element> 16
17 Complex types Complex types are Empty and generic contents (EMPTY and ANY in DTD) Element content Mixed content Any element with attributes Disomogeneous aggregation. Like structs in classic programming languages 17
18 Content model ANY ed EMPTY ANY content is defined as xsd:anytype <xsd:element name= memo type= xsd:anytype /> EMPTY content is a complextype with no content <xsd:complextype name= empty /> <xsd:element name= br type= empty /> 18
19 Element content - 1 Special elements instead of regular expressions (compared with DTD) Since XSD distinguishes types and instances, for each sub-element we have to define both the name (tag) and the type Sequence (A, B, ) Example: 19 <xsd:sequence> <xsd:element name= A type= Atype /> <xsd:element name= B type= Btype /> </xsd:sequence> <xsd:complextype name= note > <xsd:sequence> <xsd:element name= title type= xsd:string /> <xsd:element name= from type= xsd:string /> <xsd:element name= to type= xsd:string /> </xsd:sequence> </xsd:complextype>
20 Element content - 2 choice (A B ) <xsd:choice> <xsd:element name= A type= Atype /> <xsd:element name= B type= Btype /> </xsd:choice> set (A & B & ) Like sequence, but with no constraint on the order Eliminated from SGML <xsd:all> <xsd:element name= A type= Atype /> <xsd:element name= B type= Btype /> </xsd:all> 20
21 Element content - 3 A? / A+ / A* A more general construct to define minimum and maximum cardinality of each subelement xsd:minoccurs: minimum occurrences xsd:maxoccurs: maximum occurrences. Can be unbounded Default value of both is 1 A? <xsd:element name= type=.. minoccurs= 0 /> A+ <xsd:element name= type=.. maxoccurs= unbounded /> A* <xsd:element name= type=.. maxoccurs= unbounded minoccurs= 0 /> 21
22 Complex element contents Regular expressions like in DTD <!ELEMENT section (title, (subtitle abstract)?, para+)> 22 <xsd:element name= section > <xsd:complextype> <xsd:sequence> <xsd:element name= title type= xsd:string /> <xsd:choice minoccurs= 0 > <xsd:element name= subtitle type= xsd:string /> <xsd:element name= abstract type= xsd:string /> </xsd:choice> <xsd:element name= para type= xsd:string maxoccurs= unbounded /> <xsd:sequence> </xsd:complextype> </xsd:element>
23 Mixed content - 1 It is a complex type with the attribute mixed= true. <!ELEMENT text (#PCDATA bold italic)*> <xsd:complextype name= TextType mixed= true > <xsd:choice minoccurs= 0 maxoccurs= unbounded > <xsd:element name= bold type= xsd:string /> <xsd:element name= italic type= xsd:string /> <xsd:choice> </xsd:complextype> <xsd:element name= text type= TextType > 23
24 Mixed content - 2 XSD does not constrain the form of mixed contents <xsd:complextype name= text mixed= true > <xsd:sequence> <xsd:element name= bold type= xsd:string minoccurs= 0 /> <xsd:element name= italic type= xsd:string minoccurs= 0 /> <xsd:sequence> </xsd:complextype> 24 <xsd:complextype name= text mixed= true > <xsd:all> <xsd:element name= bold type= xsd:string /> <xsd:element name= italic type= xsd:string /> <xsd:all> </xsd:complextype>
25 Derivation of complex types Complex types can be derived both by restriction and by extension Derivation by restriction: by further contraining values. minoccurs and maxoccurs Typization of subelemets and/or attributes By assigning fixed values to subelements and/or attributes Derivation by extension : adding sub-elements and/or attributes The two approaches correspond to different meanings for inheritance in programming languages 25
26 Derivation by restriction DecoratedText is a text with at least one bold or italic <xsd:complextype name= DecoratedText mixed= true > <xsd:restriction base= TextType > <xsd:choice minoccurs= 1 maxoccurs= unbounded > <xsd:element name= bold type= xsd:string /> <xsd:element name= italic type= xsd:string /> <xsd:choice> </xsd:restriction> </xsd:complextype> Polimorfic type: can be used instead of the original one Other restrictions are: Adding default Fixed value 26 restricting minoccurs-maxoccurs
27 Derivation by extension Adding elements and/or attributes <xsd:complextype name= LocalizedText mixed= true > <xsd:extension base= TextType > <xsd:sequence> <xsd:element name= extract type= xsd:string /> <xsd:sequence> <xsd:attribute name= language type= xsd:string /> </xsd:extension> </xsd:complextype> 27
28 Types and content models Formally, subelements describe the ContentModel, while the type includes attributes also We may have complex types with both simple and complex contents <xsd:complextype name= price > <xsd:simplecontent> <xsd:extension base= xsd:decimal > <xsd:attribute name= valuta type= xsd:string /> </xsd:extension> </xsd:simplecontent> </xsd:complextype> 28
29 Global definitions A definition directly inside <schema> element We can refer to global elements to avoid to reintroduce the same element many times. We can use the attribute ref <xsd:element name= name type= xsd:string /> <xsd:element name= surname type= xsd:string /> 29 <xsd:complextype name= fullname > <xsd:sequence> <xsd:element ref= name /> <xsd:element ref= surname /> </xsd:sequence> </xsd:complextype>
30 XSD and namespaces - 1 A schema defines a collection of types and elements in the same namespace, called the target namespace Schema author can specify if elements and attributes must be qualifed with prefixes or with default namespace 30
31 XSD and namespaces - 2 targetnamespace attribute attributes elementformdefault and attributeformdefault say if elements and attrbutes must be qualified 31 <xsd:schema xmlns:xsd= xmlns:note= targetnamespace= elementformdefault= unqualified attributeformdefault= unqualified > <xsd:simpletype name= tm ><xsd:restriction base= ><> <xsd:element name= note > <xsd:complextype><xsd:sequence> <xsd:element name= from type= xsd:string /> <xsd:element name= to type= xsd:string /> <xsd:element name= message type= note:tm /> </xsd:sequence></xsd:complextype></xsd:element> </xsd:schema>
32 XSD and namespaces - 3 Only global elements can be document root With default values (unqualified) only global elements are qualified <?xml version= 1.0?> error <note:note xmlns:note= > <note:from>marco</note:from> <note:to>luca</note:to> <note:message>nota di prova</note:message> </note:note> 32
33 XSD and namespaces - 4 We can express relationghips between namespaces <xsd:complextype name= list > <xsd:element name= nodo maxoccurs= unbounded > <xsd:complextype> <xsd:sequence> <xsd:any namespace= /> </xsd:sequence> </xsd:complextype> </xsd:element> </xsd:complextype> List of elements from 33 <xsd:sequence> <xsd:other namespace= /> </xsd:sequence> List of elements not belonging to
34 Modularity - 1 Reusable elements and attributes groups <xsd:group name= namegroup > <xsd:sequence> <element name= nome type= xsd:string /> <element name= cognome type= csd:string /> </xsd:sequece> </xsd:group> <xsd:attributegroup name= attrgroup > <xsd:attribute name= matricola type= xsd:integer /> </xsd:attributegroup> <xsd:element name= employee > <xsd:complextype> <xsd:group ref= namegroup /> <xsd:attributegroup ref= attrgroup /> </xsd:complextype> </xsd:element> include an external schema 34 <import namespace= schemalocation= />
35 Modularity - 2 Substitution Groups: Each group connects a global element to a set of possible substitutes <xsd:element name= shipcomment type= xsd:string substitutiongroup= comment /> <xsd:element name= customercomment type= xsd:string substitutiongroup= comment /> shipcomment and customercomment can replace comment in the document 35
36 Annotations Documentation contains human-readable descriptions Appinfo contains (meta)informations for the application <xsd:simpletype name= tipotesto > <xsd:annotation> <xsd:documentation>... </xsd:documentation> <xsd:appinfo> <hfp:hasfacet name= length /> </csd:appinfo> </xsd:annotation> 36
37 Using XSD 1 Instance document uses the namespace XMLSchema-instance If targetnamespace is not defined: <?xml version= 1.0?> <note xmlns:xsi= xsi:nonamespaceschemalocation= > </note> If targetnamespace is defined: 37 <?xml version= 1.0?> <note:note xmlns:note= xmlns:xsi= xsi:schemalocation= > </note:note>
38 Using XSD 2 If derived types are used it is necessary to explicitly state it (dynamic type) through the attrbiute xsi:type why? <note:text xsi:type= note:localizedtext language= IT > <note:extract>estratto in lingua italiana</note:extract> </note:testo> 38
39 Other OO features 1 Abstract elements: are used for substitution groups only <xsd:element name= comment type= xsd:string abstract= true /> Abstract types: requires the use of a concrete subtype (using xsi:type) <complextype name= vehicle abstract= true /> <complextype name= car > <complexcontent> <extension base= vehicle /> </complexcontent> </complextype> <E/> NO <E xsi:type= car /> YES 39 <element name= E type= vehicle >
40 Other OO features 2 Final types and facets <redefine> like <include>, but allows for modification of imported schema 40
Module 3. XML Schema
Module 3 XML Schema 1 Recapitulation (Module 2) XML as inheriting from the Web history SGML, HTML, XHTML, XML XML key concepts Documents, elements, attributes, text Order, nested structure, textual information
More informationXML DTDs and Namespaces. CS174 Chris Pollett Oct 3, 2007.
XML DTDs and Namespaces CS174 Chris Pollett Oct 3, 2007. Outline Internal versus External DTDs Namespaces XML Schemas Internal versus External DTDs There are two ways to associate a DTD with an XML document:
More informationXML Schema Profile Definition
XML Schema Profile Definition Authors: Nicholas Routledge, Andrew Goodchild, Linda Bird, DSTC Email: andrewg@dstc.edu.au, bird@dstc.edu.au This document contains the following topics: Topic Page Introduction
More informationXML and Content Management
XML and Content Management Lecture 3: Modelling XML Documents: XML Schema Maciej Ogrodniczuk, Patryk Czarnik MIMUW, Oct 18, 2010 Lecture 3: XML Schema XML and Content Management 1 DTD example (recall)
More informationXML Schema 3/14/12! XML Schema. Overview
XML Schema Asst. Prof. Dr. Kanda Runapongsa Saikaew (krunapon@kku.ac.th) Dept. of Computer Engineering Khon Kaen University 1 Overview The schema element Referencing a schema in an XML document Simple
More informationCHAPTER 8. XML Schemas
429ch08 1/11/02 1:20 PM Page 291 CHAPTER 8 XML Schemas MOST OF US WHO ARE INVOLVED in XML development are all too familiar with using Document Type Definition (DTD) to enforce the structure of XML documents.
More informationOverview. Introduction to XML Schemas. Tutorial XML Europe , Berlin. 1 Introduction. 2 Concepts. 3 Schema Languages.
Introduction to XML Schemas Tutorial XML Europe 2001 21.5.2001, Berlin Ulrike Schäfer. www.infotakt.de. slide 1 Overview 1 Introduction q Why are Schemas? 2 Concepts q What are schemas? 3 Schema Languages
More informationDTD MIGRATION TO W3C SCHEMA
Chapter 1 Schema Introduction The XML technical specification identified a standard for writing a schema (i.e., an information model) for XML called a document type definition (DTD). 1 DTDs were a carryover
More informationHTML vs. XML In the case of HTML, browsers have been taught how to ignore invalid HTML such as the <mymadeuptag> element and generally do their best
1 2 HTML vs. XML In the case of HTML, browsers have been taught how to ignore invalid HTML such as the element and generally do their best when dealing with badly placed HTML elements. The
More informationCountryData Technologies for Data Exchange. Introduction to XML
CountryData Technologies for Data Exchange Introduction to XML What is XML? EXtensible Markup Language Format is similar to HTML, but XML deals with data structures, while HTML is about presentation Open
More informationCS561 Spring Mixed Content
Mixed Content DTDs define mixed content by mixing #PCDATA into the content model DTDs always require mixed content to use the form (#PCDATA a b )* the occurrence of elements in mixed content cannot be
More informationMore XML Schemas, XSLT, Intro to PHP. CS174 Chris Pollett Oct 15, 2007.
More XML Schemas, XSLT, Intro to PHP CS174 Chris Pollett Oct 15, 2007. Outline XML Schemas XSLT PHP Overview of data types There are two categories of data types in XML Schemas: simple types -- which are
More informationUsing XML Schema. Any good strategy will seem ridiculous by the time it is implemented. Scott Adams (cartoonist, creator of Dilbert)
HOUR 7 Using XML Schema Any good strategy will seem ridiculous by the time it is implemented. Scott Adams (cartoonist, creator of Dilbert) Back in Hour 3, Defining Data with DTD Schemas, you learned how
More informationInformation Systems. DTD and XML Schema. Nikolaj Popov
Information Systems DTD and XML Schema Nikolaj Popov Research Institute for Symbolic Computation Johannes Kepler University of Linz, Austria popov@risc.uni-linz.ac.at Outline DTDs Document Type Declarations
More information7.1 Introduction. 7.1 Introduction (continued) - Problem with using SGML: - SGML is a meta-markup language
7.1 Introduction - SGML is a meta-markup language - Developed in the early 1980s; ISO std. In 1986 - HTML was developed using SGML in the early 1990s - specifically for Web documents - Two problems with
More informationEMERGING TECHNOLOGIES. XML Documents and Schemas for XML documents
EMERGING TECHNOLOGIES XML Documents and Schemas for XML documents Outline 1. Introduction 2. Structure of XML data 3. XML Document Schema 3.1. Document Type Definition (DTD) 3.2. XMLSchema 4. Data Model
More informationPart 2: XML and Data Management Chapter 6: Overview of XML
Part 2: XML and Data Management Chapter 6: Overview of XML Prof. Dr. Stefan Böttcher 6. Overview of the XML standards: XML, DTD, XML Schema 7. Navigation in XML documents: XML axes, DOM, SAX, XPath, Tree
More informationXML (4) Extensible Markup Language
XML (4) Extensible Markup Language Acknowledgements and copyrights: these slides are a result of combination of notes and slides with contributions from: Michael Kiffer, Arthur Bernstein, Philip Lewis,
More information웹기술및응용. XML Schema 2018 년 2 학기. Instructor: Prof. Young-guk Ha Dept. of Computer Science & Engineering
웹기술및응용 XML Schema 2018 년 2 학기 Instructor: Prof. Young-guk Ha Dept. of Computer Science & Engineering Outline History Comparison with DTD Syntax Definitions and declaration Simple types Namespace Complex
More informationB oth element and attribute declarations can use simple types
Simple types 154 Chapter 9 B oth element and attribute declarations can use simple types to describe the data content of the components. This chapter introduces simple types, and explains how to define
More informationUBL Naming and Design Rules Checklist
UBL Naming And Design Rules Checklist Page 1 2004-09-03 UBL Naming and Design Rules Checklist This document is a subset of the UBL Naming and Design Rules Master Document. It reflects the rules used to
More informationSession [2] Information Modeling with XSD and DTD
Session [2] Information Modeling with XSD and DTD September 12, 2000 Horst Rechner Q&A from Session [1] HTML without XML See Code HDBMS vs. RDBMS What does XDR mean? XML-Data Reduced Utilized in Biztalk
More informationCS/INFO 330: Applied Database Systems
CS/INFO 330: Applied Database Systems XML Schema Johannes Gehrke October 31, 2005 Annoucements Design document due on Friday Updated slides are on the website This week: Today: XMLSchema Wednesday: Introduction
More informationXML. Part II DTD (cont.) and XML Schema
XML Part II DTD (cont.) and XML Schema Attribute Declarations Declare a list of allowable attributes for each element These lists are called ATTLIST declarations Consists of 3 basic parts The ATTLIST keyword
More informationCopyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1
Slide 27-1 Chapter 27 XML: Extensible Markup Language Chapter Outline Introduction Structured, Semi structured, and Unstructured Data. XML Hierarchical (Tree) Data Model. XML Documents, DTD, and XML Schema.
More informationETSI STANDARD Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 9: Using XML schema with TTCN-3
ES 201 873-9 V4.7.1 (2016-07) STANDARD Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 9: Using XML schema with TTCN-3 2 ES 201 873-9 V4.7.1 (2016-07)
More informationChapter 11 XML Data Modeling. Recent Development for Data Models 2016 Stefan Deßloch
Chapter 11 XML Data Modeling Recent Development for Data Models 2016 Stefan Deßloch Motivation Traditional data models (e.g., relational data model) primarily support structure data separate DB schema
More informationETSI ES V3.3.1 ( ) ETSI Standard
ES 201 873-9 V3.3.1 (2008-07) Standard Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 9: Using XML schema with TTCN-3 2 ES 201 873-9 V3.3.1 (2008-07)
More informationWeek 2: Lecture Notes. DTDs and XML Schemas
Week 2: Lecture Notes DTDs and XML Schemas In Week 1, we looked at the structure of an XML document and how to write XML. I trust you have all decided on the editor you prefer. If not, I continue to recommend
More informationCreation of the adaptive graphic Web interfaces for input and editing data for the heterogeneous information systems on the bases of XML technology
Creation of the adaptive graphic Web interfaces for input and editing data for the heterogeneous information systems on the bases of XML technology A. Mukhitova and O. Zhizhimov Novosibirsk State University,
More informationUN/CEFACT/UBL XML Naming and Design Rules Analysis Page 1
UN/CEFACT/UBL XML Naming and Design Rules Analysis 03 August 2007 [Source: http://www.oasis-open.org/committees/download.php/25133/ubl_vs_cefact_xml_ndr_analysis_2007-08-03.doc] Legend Same as UBL No corresponding
More informationASN1C. ASN.1 Compiler Version 6.4 XSD User s Guide
ASN1C ASN.1 Compiler Version 6.4 XSD User s Guide Objective Systems, Inc. February 2011 The software described in this document is furnished under a license agreement and may be used only in accordance
More informationXML. XML Namespaces, XML Schema, XSLT
XML XML Namespaces, XML Schema, XSLT Contents XML Namespaces... 2 Namespace Prefixes and Declaration... 3 Multiple Namespace Declarations... 4 Declaring Namespaces in the Root Element... 5 Default Namespaces...
More informationEXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name
EXAM IN SEMI-STRUCTURED DATA 184.705 28. 10. 2016 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will
More informationASN1C. ASN.1 Compiler Version 6.7 XML Schema Translator Users Guide Reference Manual
ASN1C ASN.1 Compiler Version 6.7 XML Schema Translator Users Guide Reference Manual Objective Systems, Inc. version 6.7 May 2014 The software described in this document is furnished under a license agreement
More information7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML
7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML is a markup language,
More informationUBL NDR 2.0 Checklist
UBL NDR 2.0 Checklist Editors Michael Grimley Mavis Cournane The following checklist contains all UBL XML naming and design rules as defined in UBL Naming and Design Rules version 2.0, 30 August 2006.
More informationXML. COSC Dr. Ramon Lawrence. An attribute is a name-value pair declared inside an element. Comments. Page 3. COSC Dr.
COSC 304 Introduction to Database Systems XML Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca XML Extensible Markup Language (XML) is a markup language that allows for
More informationSticky and Proximity XML Schema Files
APPENDIX B Sticky and Proximity XML Schema Files This appendix describes how you can use the two XML schema files, included with the GSS, to describe and validate the sticky XML and proximity XML output
More informationSchema and WSDL Design Checklist
Schema and WSDL Design Quality Assurance Version: 1.0 Final Date: 27/05/2008 Distribution: Process Improvement DISCLAIMER Origo Services Limited believes it has employed personnel using reasonable skill
More informationXML Schemas A C U R A D I B E L U S S I A L B E R T O ( E S T R A T T I D A M A T E R I A L E D I S P O N I B I L E S U L S I T O W 3 C )
XML Schemas 1 A C U R A D I B E L U S S I A L B E R T O ( E S T R A T T I D A M A T E R I A L E D I S P O N I B I L E S U L S I T O W 3 C ) H T T P : / / W W W. W 3. O R G / T R / X M L S C H E M A - 0
More informationHR-XML Schema Extension Recommendation, 2003 February 26
HR-XML Schema Extension Recommendation, 2003 February 26 This version: HRXMLExtension.doc Previous version: HRXMLExtension-1_0.doc Editor: Paul Kiel, HR-XML, paul@hr-xml.org Authors: Paul Kiel, HR-XML,
More informationNebulon FDD Interchange (FDDI) Specification 1
NEBULON FDD INTERCHANGE (FDDI) SPECIFICATION January 19 2006 Nebulon FDD Interchange (FDDI) Specification 1 Copyright 1993-2006, Nebulon Pty. Ltd. Nebulon has agreed that no person shall be deemed to have
More informationXML Schemas Derived from
1 XML Schemas Derived from http://www.w3.org/tr/xmlschema-0/ Copyright by Roger L. Costello http://www.xfront.com/ Protected by the GNU General Public License Version 2 Modified by Fabrizio Riguzzi on
More information!" DTDs rely on a mechanism based on the use of. !" It is intended to specify cross references" !" Reference to a figure, chapter, section, etc.!
MULTIMEDIA DOCUMENTS! XML Schema (Part 2)"!" DTDs rely on a mechanism based on the use of attributes (ID et IDREF) to specify links into documents"!" It is intended to specify cross references"!" Reference
More informationCA Data Protection. Account Import XML Schema Guide. Release 15.0
CA Data Protection Account Import XML Schema Guide Release 15.0 This Documentation, which includes embedded help systems and electronically distributed materials (hereinafter referred to as the Documentation
More informationKnowledge Engineering pt. School of Industrial and Information Engineering. Test 2 24 th July Part II. Family name.
School of Industrial and Information Engineering Knowledge Engineering 2012 13 Test 2 24 th July 2013 Part II Family name Given name(s) ID 3 6 pt. Consider the XML language defined by the following schema:
More informationXML Schema Element and Attribute Reference
E XML Schema Element and Attribute Reference all This appendix provides a full listing of all elements within the XML Schema Structures Recommendation (found at http://www.w3.org/tr/xmlschema-1/). The
More informationXML Design Rules and Conventions (DRC) for the Exchange Network
XML Design s and Conventions (DRC) for the Exchange Network Version: 2.0 Revision Date: 01/12/2010 01/12/2010 Page. 1 THIS PAGE INTENTIONALLY LEFT BLANK 01/12/2010 Table of Contents 1. Introduction...
More information1. Information Systems for Design Support
Published as: van Leeuwen, J.P., and A.J. Jessurun. 2001. Added Value of XML for CAAD. In: Proceedings of AVOCAAD 2001, Brussels, Belgium, April 5-7, 2001. ADDED VALUE OF XML FOR CAAD J.P. VAN LEEUWEN
More informationThe main problem of DTD s...
The main problem of DTD s... They are not written in XML! Solution: Another XML-based standard: XML Schema For more info see: http://www.w3.org/xml/schema XML Schema (W3C) Thanks to Jussi Pohjolainen TAMK
More informationXML Schemas. Purpose of XML Schemas (and DTDs)
1 XML Schemas http://www.w3.org/tr/xmlschema-0/ (Primer) http://www.w3.org/tr/xmlschema-1/ (Structures) http://www.w3.org/tr/xmlschema-2/ (Datatypes) Roger L. Costello XML Technologies Course 2 Purpose
More information- XML. - DTDs - XML Schema - XSLT. Web Services. - Well-formedness is a REQUIRED check on XML documents
Purpose of this day Introduction to XML for parliamentary documents (and all other kinds of documents, actually) Prof. Fabio Vitali University of Bologna Introduce the principal aspects of electronic management
More informationST.96 - ANNEX I XML DESIGN RULES AND CONVENTIONS. Version 2.0
page: 3.96.i.1 ST.96 - ANNEX I XML DESIGN RULES AND CONVENTIONS Version 2.0 Revision approved by the XML4IP Task Force of the Committee on WIPO Standards (CWS) on May 28, 2015 Table of Contents ST.96 -
More informationXML FOR FLEXIBILITY AND EXTENSIBILITY OF DESIGN INFORMATION MODELS
XML FOR FLEXIBILITY AND EXTENSIBILITY OF DESIGN INFORMATION MODELS JOS P. VAN LEEUWEN AND A.J. JESSURUN Eindhoven University of Technology, The Netherlands Faculty of Building and Architecture, Design
More informationQuerying XML Data. Querying XML has two components. Selecting data. Construct output, or transform data
Querying XML Data Querying XML has two components Selecting data pattern matching on structural & path properties typical selection conditions Construct output, or transform data construct new elements
More informationCreating Coverage Zone Files
APPENDIXC The following sections describe the Coverage Zone file elements and provide several Coverage Zone file examples: Coverage Zone File Elements, page C-1 Zero-IP Based Configuration, page C-2 Coverage
More informationXML Schema Part 0: Primer Second Edition
Page 1 of 81 XML Schema Part 0: Primer Second Edition W3C Recommendation 28 October 2004 This version: http://www.w3.org/tr/2004/rec-xmlschema-0-20041028/ Latest version: Previous version: http://www.w3.org/tr/2004/per-xmlschema-0-20040318/
More informationXML Schema Part 0: Primer
torsdag 6 september 2001 XML Schema Part 0: Primer Page: 1 XML Schema Part 0: Primer W3C Recommendation, 2 May 2001 This version: http://www.w3.org/tr/2001/rec-xmlschema-0-20010502/ Latest version: Previous
More informationRelease 2.5. Part No. E
Oracle Application Integration Architecture - Enterprise Object Library 2.5: Enterprise Business Objects and Messages XML Naming and Design Rules Guide Release 2.5 Part No. E15765-01 October 2009 Oracle
More informationAnalysis and Metrics of XML Schema
Analysis and Metrics of XML Schema Andrew McDowell University of Houston- Clear Lake andrew@rendai.com Chris Schmidt University of Houston- Clear Lake chris@rendai.com Kwok-Bun Yue University of Houston-
More informationChapter 3 Brief Overview of XML
Slide 3.1 Web Serv vices: Princ ciples & Te echno ology Chapter 3 Brief Overview of XML Mike P. Papazoglou & mikep@uvt.nl Slide 3.2 Topics XML document structure XML schemas reuse Document navigation and
More informationModelling XML Applications
Modelling XML Applications Patryk Czarnik XML and Applications 2013/2014 Lecture 2 14.10.2013 XML application (recall) XML application (zastosowanie XML) A concrete language with XML syntax Typically defined
More informationXML Schema. Mario Alviano A.Y. 2017/2018. University of Calabria, Italy 1 / 28
1 / 28 XML Schema Mario Alviano University of Calabria, Italy A.Y. 2017/2018 Outline 2 / 28 1 Introduction 2 Elements 3 Simple and complex types 4 Attributes 5 Groups and built-in 6 Import of other schemes
More informationXMI Version 1Production of XML Schema Specification
XMI Version 1Production of XML Schema Specification During the finalization phase, the XML Production of XML Schema Final Adopted Specification (ad/2001-12-03) was split into two documents to resolve one
More informationThe Future of XML Vocabularies. Creating UBL Conformant Schema Tutorial
www.oasis-open.org/events/symposium_2005 The Future of XML Vocabularies SYMPOSIUM 24 April: Tutorials 8:30 AM 12:00 PM New Orleans Marriott Creating UBL Conformant Schema Tutorial Mark Crawford Senior
More informationSearch Page Basic Search Advanced Search Exploring search results Showing Properties Showing Details...
Tutorials Search and Discovery... 4 Search Page... 4 Basic Search... 4 Advanced Search... 5 Exploring search results... 7 Showing Properties... 8 Showing Details... 9 Showing a Namespace Page... 9 Showing
More informationSchema Release. AseXML Schema Working Group Release r25
Schema Release AseXML Schema Working Group Release r25 Draft Release Date: 20/02/2009 Final Release Date: 27/3/2009 Last updated on 2 November, 2009 Page 1 of 15 Document History Version Date Authors Comments
More informationasexml SCHEMA CHANGE REQUEST
asexml SCHEMA CHANGE REQUEST PREPARED BY: DOCUMENT REF: SCOTT MASKIEL CR55 VERSION: 1.5 DATE: 5 DECEMBER 2013 DRAFT/FINAL DRAFT Am,ttolion l:nergy 1\_.n,ketOperctor Ltd AeN 94 on Ol'J 327 Wv'IW.oemo.oom.ou
More informationGrammars for XML Documents XML Schema, Part 1
Grammars for XML Documents XML Schema, Part 1 Lecture "XML in Communication Systems" Chapter 4 Dr.-Ing. Jesper Zedlitz Research Group for Communication Systems Dept. of Computer Science Christian-Albrechts-University
More informationWA2217 Programming Java EE 6 SOAP Web Services with JAX-WS - JBoss / Eclipse EVALUATION ONLY
WA2217 Programming Java EE 6 SOAP Web Services with JAX-WS - JBoss / Eclipse Web Age Solutions Inc. USA: 1-877-517-6540 Canada: 1-866-206-4644 Web: http://www.webagesolutions.com The following terms are
More informationEnforcing the Complex Business Rules of NIEM Exchanges
Enforcing the Complex Business Rules of NIEM Exchanges Priscilla Walmsley Joel Byford 1 Twitter #NIEMNTE3 What are Business Rules? Constraints on data in an exchange Usually contextual or conditional Can
More informationCopyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 7 XML
Chapter 7 XML 7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML
More informationasexml SCHEMA CHANGE REQUEST
asexml SCHEMA CHANGE REQUEST PREPARED BY: PIUS KURIAN, PAUL SPAIN DOCUMENT REF: CR 39 VERSION: 1.1 DATE: 10 AUG 2010 DRAFT/FINAL DRAFT Austrol on En;?rgy Mo rket O perotor ltd ABN 9J. 072 o o 327 W"l.-.w.oemo.cr.:m.ou
More informationUniversal Business Language (UBL) Naming and Design Rules
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 Universal Business Language (UBL) Naming and Design Rules Publication Date 19 July12 May 2006 Document identifier:
More informationGeography Markup Language (GML) simple features profile
Open Geospatial Consortium Date: 2010-10-07 Reference number of this document: OGC 10-100r2 Version: 2.0 Category: OpenGIS Implementation Standard Profile Editors: Linda van den Brink, Clemens Portele,
More informationPESIT Bangalore South Campus Hosur road, 1km before Electronic City, Bengaluru -100 Department of Computer Science And Engineering
INTERNAL ASSESSMENT TEST 2 : SOLUTION MANUAL Date : 03/10/17 Max Marks : 50 Subject & Code : Programming the Web / 10CS73 Section : A,B & C Name of Faculty : Ms. Ciji K R, Ms. Kanthimathi S Time : 8:30
More informationDescribing Document Types: The Schema Languages of XML Part 2
Describing Document Types: The Schema Languages of XML Part 2 John Cowan 1 Copyright Copyright 2005 John Cowan Licensed under the GNU General Public License ABSOLUTELY NO WARRANTIES; USE AT YOUR OWN RISK
More informationConfiguration Description, Deployment, and Lifecycle Management. XML Configuration Description Language Specification Revision 0.
Editors: Configuration Description, Deployment and J. Tatemura, NEC Lifecycle Management XML-Based Configuration Description Language http://forge.gridforum.org/projects/cddlm-wg Configuration Description,
More informationUNIL 2006 XML. Basic Notions A. BOUKOTTAYA
UNIL 2006 XML Basic Notions A. BOUKOTTAYA Evolution of Mark-Up languages GenCode Commitee (1967) GML (1969) Text Processing Systems SGML (Standard Generalized Mark-Up Language) (1986) Draft with Markup
More informationAn alternative approach to store electronic data: the role of XML
An alternative approach to store electronic data: the role of XML Leuven 2003 FOR $l IN document( wwwestvipvpt/biblioteca/bdbiblioxml ) //livro WHERE $l/editora/nome = FCA AND $l/ano > 1995 RETURN $l/autor
More informationEXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name
EXAM IN SEMI-STRUCTURED DATA 184.705 24. 6. 2015 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will not
More informationAggregation Transformation of XML Schemas to Object-Relational Databases
Aggregation Transformation of XML Schemas to Object-Relational Databases Nathalia Devina Widjaya 1, David Taniar 1, and J. Wenny Rahayu 2 1 Monash University, School of Business Systems, Vic 3800, Australia
More informationUniversal Business Language (UBL) Naming and Design Rules
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 Universal Business Language (UBL) Naming and Design Rules Publication Date 5 November 2004 Document
More informationUniversal Business Language (UBL) Naming and Design Rules 2.0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 Universal Business Language (UBL) Naming and Design Rules 2.0 Public Review Draft, 8 September 2006 Document
More informationUniversal Business Language (UBL) Naming and Design Rules
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 Universal Business Language (UBL) Naming and Design Rules Publication Date 15 November 2004 Document
More informationXML Schema Languages. Why a DDL for XML?
XML Schema Languages 1 Why a DDL for XML? For old & well-know (but good!) reasons As a modeling tool: to describe the structure of information: entities, relationships... to share common descriptions between
More information(One) Layer Model of the Semantic Web. Semantic Web - XML XML. Extensible Markup Language. Prof. Dr. Steffen Staab Dipl.-Inf. Med.
(One) Layer Model of the Semantic Web Semantic Web - XML Prof. Dr. Steffen Staab Dipl.-Inf. Med. Bernhard Tausch Steffen Staab - 1 Steffen Staab - 2 Slide 2 Extensible Markup Language Purpose here: storing
More informationDepartment of the Navy XML Naming and Design Rules (NDR) Overview. 22 September 2004 Federal CIO Council XML WG Mark Crawford LMI
Department of the Navy XML Naming and Design Rules (NDR) Overview 22 September 2004 Federal CIO Council XML WG Mark Crawford LMI Why do you need XML rules? To achieve interoperability! Department (e.g.
More informationA namespace prefix is defined with a xmlns attribute using the syntax xmlns:prefix="uri".
Question 1 XML Syntax and Basics (a) What are 'namespaces' used for in relation to XML and how are they applied to an XML document?(2 marks) Namespaces are used to avoid element name conflicts when using/mixing
More informationETSI STANDARD Methods for Testing and Specification (MTS); The Test Description Language (TDL); Part 3: Exchange Format
ES 203 119-3 V1.3.1 (2018-05) STANDARD Methods for Testing and Specification (MTS); The Test Description Language (TDL); Part 3: Exchange Format 2 ES 203 119-3 V1.3.1 (2018-05) Reference RES/MTS-203119-3v1.3.1
More informationInternet Engineering Task Force. Intended status: Informational July 08, 2013 Expires: January 09, 2014
Internet Engineering Task Force E. Haleplidis Internet-Draft University of Patras Intended status: Informational July 08, 2013 Expires: January 09, 2014 Abstract ForCES Model Extension draft-haleplidis-forces-model-extension-04
More informationCOMP9321 Web Application Engineering. Extensible Markup Language (XML)
COMP9321 Web Application Engineering Extensible Markup Language (XML) Dr. Basem Suleiman Service Oriented Computing Group, CSE, UNSW Australia Semester 1, 2016, Week 4 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2442
More informationRDF. Mario Arrigoni Neri
RDF Mario Arrigoni Neri WEB Generations Internet phase 1: static contents HTML pages FTP resources User knows what he needs and where to retrieve it Internet phase 2: web applications Custom presentation
More informationAppendix H XML Quick Reference
HTML Appendix H XML Quick Reference What Is XML? Extensible Markup Language (XML) is a subset of the Standard Generalized Markup Language (SGML). XML allows developers to create their own document elements
More informationModelling XML Applications (part 2)
Modelling XML Applications (part 2) Patryk Czarnik XML and Applications 2014/2015 Lecture 3 20.10.2014 Common design decisions Natural language Which natural language to use? It would be a nonsense not
More informationXML Applications. Prof. Andrea Omicini DEIS, Ingegneria Due Alma Mater Studiorum, Università di Bologna a Cesena
XML Applications Prof. Andrea Omicini DEIS, Ingegneria Due Alma Mater Studiorum, Università di Bologna a Cesena Outline XHTML XML Schema XSL & XSLT Other XML Applications 2 XHTML HTML vs. XML HTML Presentation
More informationIntroduction to XML DTD
Introduction to XML DTD What is a DTD? A DTD is usually a file (or several files to be used together) which contains a formal definition of a particular type of document. This sets out what names can be
More informationMay 2003 Version 2.0 formal/ An Adopted Specification of the Object Management Group, Inc.
XML Metadata Interchange (XMI) Specification May 2003 Version 2.0 formal/03-05-02 An Adopted Specification of the Object Management Group, Inc. Copyright 1998, 1999, 2000, 2001 IBM Corporation Copyright
More informationStructured documents
Structured documents An overview of XML Structured documents Michael Houghton 15/11/2000 Unstructured documents Broadly speaking, text and multimedia document formats can be structured or unstructured.
More information