웹기술및응용. XML Schema 2018 년 2 학기. Instructor: Prof. Young-guk Ha Dept. of Computer Science & Engineering

Size: px
Start display at page:

Download "웹기술및응용. XML Schema 2018 년 2 학기. Instructor: Prof. Young-guk Ha Dept. of Computer Science & Engineering"

Transcription

1 웹기술및응용 XML Schema 2018 년 2 학기 Instructor: Prof. Young-guk Ha Dept. of Computer Science & Engineering

2 Outline History Comparison with DTD Syntax Definitions and declaration Simple types Namespace Complex types Content models Secondary components 2

3 Birth of XML Schema XML-Data: Jan 1998 Basic concepts of XML Schema For W3C internal discussion only XDR (XML-Data Reduced): Jul 1998 Refines and subsets XML-Data down to manageable size Other Schema Languages DCD for XML (Document Content Description) DDML (Document Definition Markup Language) SOX (Schema for Object-oriented XML) XML Schema (W3C Recommendation) May 2001: XML Schema 1.0 Oct. 2004: XML Schema 1.0 2nd Edition Apr. 2012: XML Schema 1.1 W3C XSD Recommendation - Part 0: Primer - Part 1: Structures - Part 2: Data types XML Schema is also called XML Schema Definition Language (XSD) 3

4 Outline History Comparison with DTD Syntax Definitions and declaration Simple types Namespace Complex types Content models Secondary components 4

5 DTD vs. XML Schema 5

6 Outline History Comparison with DTD Syntax Definitions and declaration o Building blocks o Element & attribute declaration Simple types Namespace Complex types Content models Secondary components 6

7 Building Blocks Schema declaration Root of the document Namespace declarations Declarations Elements Attributes Type definitions Simple types for elements and attributes Complex types for elements 7

8 Declarations Element declaration decimal type := simpletype complextype Cardinality constraints - minoccurs := 0, 1, 2, - maxoccurs := 0 ~ unbounded DTD Example) XML document with element amount <product> <name>bolt-001</name> <amount>1000</amount> </product> <product> <name>bolt-002</name> </product> <product> <name>bolt-003</name> <amount>1000</amount> <amount>2000</amount> <amount>3000</amount> </product> 8

9 Declarations (cont d) Attribute declaration type := simpletype use := required optional prohibited DTD #REQUIRED > Example) XML document with attribute partnum <quantity partnum= Bolt-001 unit= ea value= 1000 /> <quantity unit= ea value= 2000 partnum= Bolt-002 /> <quantity unit= ea value= 3000 /> invalid 9

10 Outline History Comparison with DTD Syntax Definitions and declaration Simple types o Built-in, user-derived types o List, union types o Facets Namespace Complex types Content models Secondary components 10

11 Simple Types Built-in types Derived from anysimpletype o Primitive types Types in their own right Not defined in terms of other data-types o Derived types List or restriction of existing primitive types User-defined types Defined by the author of the schema and particular to the schema o List, union, and restriction are allowed for user-defined simple types o Extension is NOT allowed for simple types Note that complex types can be derived by either extension or restriction 11

12 Simple Types: Built-in Datatype Hierarchy DTD 호환성 12

13 Simple Types: Primitive Types double 13

14 Simple Types: Derived Types -128~127 14

15 Simple Types: User-Derived Types User-derived types Only restriction of simple base type is allowed o Extension is NOT allowed o E.g., expansion of range or addition of attributes is not allowed Example) Defining myinteger of range 1000~

16 Facets (1/2) length Determines the length of data type minlength o For string, it means the number of characters it contains o For binary data such as base64binary, it means the number of octets Sets the minimum length of the data type Less than or equal to maxlength maxlength Sets the maximum length of the data type pattern Specifies a regular expression which the element content should match enumeration Contains a set of values that element have to choose one 16

17 Facets (2/2) whitespace Controls how the processor should treat whitespace chars o preserve (default), replace, or collapse maxinclusive, maxexclusive Sets an upper bound for values using the data type mininclusive, minexclusive Sets an lower bound for values using the data type mininclusive value maxinclusive minexclusive < value < maxexclusive precision, scale precision determines the maximum number of digits the data type may have (including comma. ) scale sets the maximum number of digits appearing in the fractional part of a decimal based data type 17

18 Facets Examples /> 10 chars long, e.g., e.g., one of 10, 20, or part Code precision value= 6 /> scale value= 1 /> e.g., , , , e.g., 123-AB, 327-XY, 617-ST, 18

19 Simple Types: List types List types Derived from existing primitive types, NOT from list or complex types Built-in: NMTOKENS, IDREFS, ENTITIES Using whitespace as a delimiter E.g.) User-defined list type <element name= listofinteger type= listofintegertype > XML Schema of listofintegertype XML Document 19

20 Simple Types: Union types Union types Enables an element or attribute value to be one or more instances of one type drawn from the union of multiple primitive and list types E.g.) <xsd:element name= zips type= zipunion > XML Schema of zipunion type XML Document 20

21 Outline History Comparison with DTD Syntax Definitions and declaration Simple types Namespace Complex types Content models Secondary components 21

22 Namespace XML Namespace W3C Recommendation o First edition on Jan o Currently, v1.0 3 rd Ed. (Dec. 2009) and v1.1 2 nd Ed. (Aug. 2006) Resolves name conflict between elements or attributes in XML documents o Qualified names of elements or attributes are required to be globally unique and persistent o Namespace can be used in XML docs and XSD docs as well Identified by URI (URL or URN) o However, actually identified by a short prefix (URI is quite long) o Note that the URL needs NOT to point to an actual document or location Default namespace o Unprefixed elements or attributes are associated with the default namespace of themselves or parent element s (block scope) * URI: Uniform Resource Identifier (= URL + URN) * URL: Uniform Resource Locator * URN: Uniform Resource Name 22

23 Namespace (cont d) 세개의 <title> element 가서로다른의미로사용되고있음 ( 또한같은 scope 내에동음이의 element 가사용될수도있음 ) 또한타 Markup 언어의 <title> element 와도구별할필요가있음 ( 예 : XHTML 의 <title>) 각각의 <title> element 가식별되지않는다면 well-formed 이지만 valid 하지않은 XML 문서로해석될가능성이있음 23

24 Namespace (cont d) Namespace declaration <element xmlns:edi= > Prefix Namespace URI Default namespace declaration <element xmlns= > * No prefix is defined for default namespace E.g.) <schema xmlns= Target namespace declaration (XSD docs only) <element targetnamespace= > 24

25 Namespace (cont d) 네임스페이스사용예 Namespace prefix = edi Namespace URI = <edi:x xmlns:edi= > <edi:price edi:units= Euro >32.18</edi:/price> </edi:x> 디폴트네임스페이스를사용하는경우 <x xmlns= > <price unit= Euro >32.18</price> </x> 25

26 Namespace (cont d) Well-known namespaces xsd= xsi= xhtml= xslt= wsdl= soapenv= soaprpc= xmldsig= xmlenc= 26

27 Namespace (cont d) 네임스페이스의적용범위 XML 문서는하나이상의네임스페이스를가질수있음 네임스페이스는네임스페이스가선언된 element 와그 element 의내부에 nested 된모든 element 및 attribute 들에적용됨 (block scope) 27

28 Namespace in XML Schema Target Namespace Using XML Schema, we can create new elements and attributes, and keep them in a specific namespace This particular namespace is target namespace where the newly created elements and attributes will reside During validation, an XML parser verifies whether the elements and attributes used in the document exist in the declared target namespace / 28

29 Namespace in XML Schema (cont d) <schema xmlns=" xmlns:po=" targetnamespace=" <complextype name="usaddress"> <sequence> <element name="name" type="string"/> <element name="street" type="string"/> </sequence> </complextype> <complextype name="purchaseordertype"> <sequence> <element name="shipto" type="po:usaddress"/> <element name="billto" type="po:usaddress"/> </sequence> </complextype>... <element name="purchaseorder" type="po:purchaseordertype"/> </schema> 29

30 Namespace in XML Schema (cont d) Valid XML document example <purchaseorder xmlns= > <shipto> <name>micheal</name> <street>main street</street> </shipto> <billto> <name>tom</name> <street>fremont street</street> </billto>... </purchaseorder> 30

31 Namespace in XML Schema (cont d) Including XML Schema definitions from external documents <schema xmlns=" xmlns:po=" targetnamespace=" > <include schemalocation= > <element name="purchaseorder" type="po:purchaseordertype"/> </schema> * 동일 target namespace <schema xmlns=" targetnamespace=" > <complextype name="purchaseordertype"> </complextype> </schema> 31

32 Outline History Comparison with DTD Syntax Definitions and declaration Simple types Namespace Complex types o Extension, restriction o Adding attribute o Global & local element Content models Secondary components 32

33 Complex Types Features of complex types Carrying attributes and elements o I.e., contains other types (simple or complex) Can be derived by both restriction and extension o Cf., only restriction allowed for simple types Various and flexible content models o Any, empty, element-only, mixed o Model groups: sequence, all, choice o Cardinality constraints: minoccurs, maxoccurs o Combinations of the above 33

34 Complex Types: Complex Type Definition Model group (can be nested) Elements (simple or complex types) Attributes <schema xmlns=" xmlns:po=" targetnamespace=" <element name="purchaseorder" type="po:purchaseordertype"/> <complextype name="purchaseordertype"> <sequence> <element name="shipto" type="po:usaddress"/> <element name="billto" type="po:usaddress"/> <element ref="po:comment" minoccurs="0 maxoccurs= 10 /> </sequence> <attribute name="orderdate" type="date"/> </complextype> <complextype name="usaddress"> <sequence> <element name="name" type="string"/> <element name="street" type="string"/> </sequence> </complextype> Specific cardinality 34

35 Complex Types: Attribute Declaration Only simple types can be used for attribute types Examples <attribute name= orderdate /> <attribute name= orderdate type= date /> <attribute name= orderdate type= date use= required fixed= /> <attribute name= orderdate type= date use= optional default= /> <attribute name= orderdate type= date use= prohibited /> * prohibited: usually used to restrict the base element 35

36 Complex Types: Extension & Restriction (1) Deriving types by extension Base type Derived type Extension from a complex type o Adding new elements or attributes to a base type Extension from a simple type o Adding new attributes to a base type o Expanding range, length, Deriving types by restriction Base type Derived type Restriction from a complex type o Limited cardinality of element, use of attributes, o Prohibiting attributes (e.g., use= prohibited ) Restriction from a simple type o Limiting range, length, <complextype> <complexcontent> <simplecontent> <restriction> <extension> <restriction> <extension> [ Derivation of Complex Types ] 36

37 Complex Types: Extension & Restriction (2) Limited cardinality Additional elements [ Extension from a simple type by adding an attribute ] [ Extension and restriction from a complex type ] 37

38 Complex Types: Scope of Elements Global elements Direct children of the schema element Can be referenced using attribute ref Local elements Child elements of another element Local elements with the same name can be declared in different scopes Global Element Local Element 38

39 Outline History Comparison with DTD Syntax Definitions and declaration Simple types Namespace Complex types Content models o Any, empty, mixed o Sequence, choice, all o minoccurs, maxoccurs Secondary components 39

40 Basic Content Models Any type Default content model when you declare an element in XML Schema o <element name= anything /> == <element name= anything type= anytype /> Can contain any contents (completely unconstrained) o E.g., string, integer, elements,, or mixture of them Empty content Can carry attributes, but prevent any content appearing as text or child elements o <element name= empty xsi:nil= true /> xmlns:xsi= Mixed content and element only Mixture of text contents and elements o <xsd:element name="letterbody"> <xsd:complextype mixed="true">... Default: mixed= false (element-only) 40

41 Mixed Content Model [ Valid XML Document ] [ XML Schema ] 41

42 Model Groups sequence group Only allows the specified order in an instance choice group Allows only one of its children to appear in an instance all group Unordered subset of individual elements o Children may appear in any order o Children may appear once or not (no more than once) o Children must all be individual elements (no groups) o Children are restricted to contain local elements or refs to top-level elements declarations only Must appear o as the sole child o at the top of content model 42

43 Cardinality Constraints minoccurs Value: nonnegative integer (Default = 1) maxoccurs Value: nonnegative integer or unbounded (Default = 1) Examples <element name= e1 /> == <element name= e1 minoccurs= 1 maxoccurs= 1 /> DTD: <!ELEMENT e0 (e1)> <element name= e1 minoccurs= 0 maxoccurs= 1 /> DTD: <!ELEMENT e0 (e1?)> <element name= e1 minoccurs= 0 maxoccurs= unbounded /> DTD: <!ELEMENT e0 (e1*)> <element name= e1 minoccurs= 1 maxoccurs= unbounded /> DTD: <!ELEMENT e0 (e1+)> <element name= e1 minoccurs= 3 maxoccurs= 10 /> can not be described with DTD 43

44 Content Model Example: Sequence & Choice <xsd:complextype name="purchaseordertype"> <xsd:sequence> <xsd:choice> <xsd:sequence> <xsd:element name="shipto" type="usaddress"/> <xsd:element name="billto" type="usaddress"/> </xsd:sequence> <xsd:element name="singleusaddress" type="usaddress"/> </xsd:choice> <xsd:element ref="comment" minoccurs="0"/> <xsd:element name="items" type="items"/> </xsd:sequence> <xsd:attribute name="orderdate" type="xsd:date"/> </xsd:complextype> 44

45 Content Model Example: Sequence & Choice <PurchaseOrder orderdate= > <shipto>... </shipto> <billto>... </billto> <comment>... </comment> <items>... </items> </PurchaseOrder> [ Valid XML documents ] <PurchaseOrder orderdate= > <singleusaddress>... </singleusaddress> <comment>... </comment> <items>... </items> </PurchaseOrder> <PurchaseOrder orderdate= > <singleusaddress>... </singleusaddress> <items>... </items> </PurchaseOrder> 45

46 Content Model Example: All <xsd:complextype name="purchaseordertype"> <xsd:all> <xsd:element name="shipto" type="usaddress"/> <xsd:element name="billto" type="usaddress"/> <xsd:element ref="comment" minoccurs="0"/> <xsd:element name="items" type="items"/> </xsd:all> <xsd:attribute name="orderdate" type="xsd:date"/> </xsd:complextype> *** Illegal: used in a sequence group *** <xsd:complextype name="purchaseordertype"> <xsd:sequence> <xsd:all> <xsd:element name="shipto" type="usaddress"/> <xsd:element name="billto" type="usaddress"/> <xsd:element name="items" type="items"/> </xsd:all> <xsd:sequence> <xsd:element ref="comment" minoccurs="0" maxoccurs="unbounded"/> </xsd:sequence> </xsd:sequence> <xsd:attribute name="orderdate" type="xsd:date"/> </xsd:complextype> 46

47 Outline History Comparison with DTD Syntax Definitions and declaration Simple types Namespace Complex types Content models Secondary components o Attribute groups o Annotation o Redefinition o Abstract element o Null element 47

48 Attribute Groups & Annotation Attribute groups Improves readability of schemas and facilitates updating schemas Must appear at the end of complex type definitions Annotation Annotating schemas for benefit of human readers and applications as well Use xml:lang attribute to indicate the language of the information <attributegroup name="myattrgroup"> <attribute... />... </attributegroup> <complextype name="myelement">... <attributegroup ref="myattrgroup"/> </complextype> <annotation> <documentation xml:lang= en > Some documentation </documentation> </annotation> 48

49 Redefinition To provide some support for evolution or versioning of XML schema files The redefine mechanism enables you to redefine simple and complex types, groups, and attribute groups that are obtained from external schema files (i.e., restriction or extension from the original version) o Cf., the include mechanism enables you to use externally created schema components as-is (i.e., without any modification) Redefinition requires the external components to be in the same target namespace as the redefined schema 49

50 Redefinition Example v1.xsd : targetnamespace=" <complextype name="personname"> <sequence> <element name="title" minoccurs="0"/> <element name="forename" minoccurs="0 maxoccurs="unbounded"/> </sequence> </complextype> v2.xsd : targetnamespace=" xmlns:p=" <redefine schemalocation= v1.xsd"> <complextype name="personname"> <complexcontent> <extension base= p:personname"> <sequence> <element name="generation" minoccurs="0"/> </sequence> </extension> </complexcontent> </complextype> </redefine> <element name="author" type="personname"/> 50

51 Substitution Groups Substitution groups allow elements to be substituted for other elements Head element o a particular named element to be substituted o E.g., ipo:comment Substitutable elements o E.g., shipcomment, customercomment Both types of elements must be declared as global elements <element name="ipo:comment" type="string"/> <element name="shipcomment" type="string" substitutiongroup="ipo:comment"/> <element name="customercomment" type="string" substitutiongroup="ipo:comment"/> <element name="item" minoccurs="0" maxoccurs="unbounded"> <complextype> <sequence> <element name="productname" type="string"/> <element ref="ipo:comment" maxoccurs= unbounded"/> <element name="shipdate" type="date" minoccurs="0"/> </sequence> </complextype> </element> <item partnum="833-aa"> <productname>lapis necklace</productname> <ipo:comment>order #1</ipo:comment> <ipo:shipcomment>use gold wrap</ipo:shipcomment> <ipo:customercomment>want ASAP!</ipo:customerComment> <shipdate> </shipdate> </item> 51

52 Abstract Elements and Abstract Types Abstract elements can NOT be used in an instance document To make a substitutable element MUST appear in the instance document o From the previous example <element name= ipo:comment" type="string abstract="true"/> Abstract type elements Must be used with a specific derived type in instance documents o E.g., <transport> element <!-- Abstract type example --> <complextype name="vehicle" abstract="true"/> <complextype name="car"> <complexcontent> <extension base="ns:vehicle"/> </complexcontent> </complextype> <complextype name="plane"> <complexcontent> <extension base="ns:vehicle"/> </complexcontent> </complextype> <element name="transport" type="ns:vehicle"/> <transport/> <transport xsi:type="ns:car"/> Schema invalid Schema valid * xsi=" 52

53 Null Element An element that can has a null value as its content Meaning of null value o Unknown o Not applicable o The element may be absent XML has no actual null value that appears as element content o E.g.) <shipdate>null</shipdate> null string value Using attribute xsi:nil In the schema: nillable= true In the document: xsi:nil= true /> 53

54 References XML Schema 1.0 (2 nd Ed) Part 0: Primer XML Schema 1.0 (2 nd Ed) Part 1: Structures XML Schema 1.0 (2 nd Ed) Part 2: Data types Namespaces 1.0 (3 rd Ed) in XML 54

XML DTDs and Namespaces. CS174 Chris Pollett Oct 3, 2007.

XML 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 information

CS/INFO 330: Applied Database Systems

CS/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 information

Overview. Introduction to XML Schemas. Tutorial XML Europe , Berlin. 1 Introduction. 2 Concepts. 3 Schema Languages.

Overview. 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 information

Module 3. XML Schema

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 information

XML - Schema. Mario Arrigoni Neri

XML - Schema. Mario Arrigoni Neri XML - Schema Mario Arrigoni Neri 1 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

More information

XML Schema Part 0: Primer

XML 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 information

HTML 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

HTML 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 information

XML Schema Profile Definition

XML 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 information

XML Schema Part 0: Primer Second Edition

XML 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 information

XML Databases 3. Schema Definition,

XML Databases 3. Schema Definition, XML Databases 3. Schema Definition, 10.11.08 Silke Eckstein Andreas Kupfer Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de 3. Schema Definition 3.1 Introduction

More information

3. Schema Definition. 3.1 Introduction. 3.1 Introduction. 3.1 Introduction. 3.1 Introduction. XML Databases 3. Schema Definition,

3. Schema Definition. 3.1 Introduction. 3.1 Introduction. 3.1 Introduction. 3.1 Introduction. XML Databases 3. Schema Definition, 3. Schema Definition XML Databases 3. Schema Definition, 11.11.09 Silke Eckstein Andreas Kupfer Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de DTDs 2 Structure

More information

XML Schema 3/14/12! XML Schema. Overview

XML 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 information

Constraints, Meta UML and XML. Object Constraint Language

Constraints, Meta UML and XML. Object Constraint Language Constraints, Meta UML and XML G. Falquet, L. Nerima Object Constraint Language Text language to construct expressions for guards conditions pre/post conditions assertions actions Based on navigation expressions,

More information

XML. Part II DTD (cont.) and XML Schema

XML. 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 information

Sistemi ICT per il Business Networking

Sistemi ICT per il Business Networking Corso di Laurea Specialistica Ingegneria Gestionale Sistemi ICT per il Business Networking XML Schema Docente: Vito Morreale (vito.morreale@eng.it) 1 Motivation People are dissatisfied with DTDs It's a

More information

Describing Document Types: The Schema Languages of XML Part 2

Describing 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 information

Information Systems. DTD and XML Schema. Nikolaj Popov

Information 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 information

Chapter 3 Brief Overview of XML

Chapter 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 information

ETSI STANDARD Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 9: Using XML schema with TTCN-3

ETSI 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 information

DTD MIGRATION TO W3C SCHEMA

DTD 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 information

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1

Copyright 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 information

More 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. 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 information

B oth element and attribute declarations can use simple types

B 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 information

Appendix H XML Quick Reference

Appendix 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 information

International Journal of Software and Web Sciences (IJSWS)

International Journal of Software and Web Sciences (IJSWS) International Association of Scientific Innovation and Research (IASIR) (An Association Unifying the Sciences, Engineering, and Applied Research) ISSN (Print): 2279-0063 ISSN (Online): 2279-0071 International

More information

Session [2] Information Modeling with XSD and DTD

Session [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 information

XML Schema Element and Attribute Reference

XML 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 information

CHAPTER 8. XML Schemas

CHAPTER 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 information

X(ml)S(chema)D(definition) Complex Types Indicators

X(ml)S(chema)D(definition) Complex Types Indicators X(ml)S(chema)D(definition) Complex Types Indicators We can control HOW elements are to be used in documents with indicators. Indicators We have seven types of indicators: Order indicators: All Choice Sequence

More information

Generating XML-to-RDF transformations from high level specifications

Generating XML-to-RDF transformations from high level specifications Generating XML-to-RDF transformations from high level specifications M. Sc. Telematics Final Project Muzaffar Mirazimovich Igamberdiev Graduation committee: Prof. Dr. Ir. M. Aksit Dr. Ir. K.G. van den

More information

Automating Conceptual Design of Web Warehouses

Automating Conceptual Design of Web Warehouses Automating Conceptual Design of Web Warehouses Boris Vrdoljak, Marko Banek FER University of Zagreb Zagreb, Croatia Stefano Rizzi DEIS - University of Bologna Bologna, Italy Abstract Web warehousing plays

More information

XML and Content Management

XML 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 information

CS561 Spring Mixed Content

CS561 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 information

Chapter 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 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 information

ETSI ES V3.3.1 ( ) ETSI Standard

ETSI 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 information

XML Format Plug-in User s Guide. Version 10g Release 3 (10.3)

XML Format Plug-in User s Guide. Version 10g Release 3 (10.3) XML Format Plug-in User s Guide Version 10g Release 3 (10.3) XML... 4 TERMINOLOGY... 4 CREATING AN XML FORMAT... 5 CREATING AN XML FORMAT BASED ON AN EXISTING XML MESSAGE FORMAT... 5 CREATING AN EMPTY

More information

Schemas (documentation for 6.1)

Schemas (documentation for 6.1) SWAD-Europe: WP6.3b Pragmatic Methods for Mapping Semantics from XML Schemas (documentation for 6.1) Project name: Semantic Web Advanced Development for Europe (SWAD-Europe) Project Number: IST-2001-34732

More information

Search Page Basic Search Advanced Search Exploring search results Showing Properties Showing Details...

Search 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 information

USING THE STRUCTURE OF XML TO GENERATE NOTIFICATIONS AND SUBSCRIPTIONS IN SIENA. Chris Corliss

USING THE STRUCTURE OF XML TO GENERATE NOTIFICATIONS AND SUBSCRIPTIONS IN SIENA. Chris Corliss USING THE STRUCTURE OF XML TO GENERATE NOTIFICATIONS AND SUBSCRIPTIONS IN SIENA by Chris Corliss A thesis submitted in partial fulfillment of the requirements for the degree of Masters of Science in Computer

More information

EMERGING TECHNOLOGIES. XML Documents and Schemas for XML documents

EMERGING 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 information

7.1 Introduction. 7.1 Introduction (continued) - Problem with using SGML: - SGML is a meta-markup language

7.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 information

XML Schema. Mario Alviano A.Y. 2017/2018. University of Calabria, Italy 1 / 28

XML 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 information

Week 2: Lecture Notes. DTDs and XML Schemas

Week 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 information

CountryData Technologies for Data Exchange. Introduction to XML

CountryData 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 information

The main problem of DTD s...

The 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 information

XML. XML Namespaces, XML Schema, XSLT

XML. 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 information

Measuring the Capacity of an XML Schema

Measuring the Capacity of an XML Schema Measuring the Capacity of an XML Schema Specifying an Information Channel with an XML Schema August 2006 Roger L. Costello 1, The MITRE Corporation Robin A. Simmons 2, The MITRE Corporation 1 Roger L.

More information

Introduction & Motivation. Course Outline. Arrangements. Presentation vs Structure. Markup and Markup Language. Main Topic: Two XML Query Models

Introduction & Motivation. Course Outline. Arrangements. Presentation vs Structure. Markup and Markup Language. Main Topic: Two XML Query Models Querying XML Documents and Data CBU Summer School 13.8. - 20.8.2007 (2 ECTS) Prof. Pekka Kilpeläinen inen Univ of Kuopio, Dept of Computer Science Pekka.Kilpelainen@cs.uku.fi Introduction & Motivation

More information

Who s Afraid of XML Schema?

Who s Afraid of XML Schema? Who s Afraid of XML Schema? Neil Graham IBM Canada Ltd. Page Objectives Review some of the scariest aspects of XML Schema Focus on broad concepts Heavy use of examples Prove that the basics of XML Schema

More information

HR-XML Schema Extension Recommendation, 2003 February 26

HR-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 information

UBL Naming and Design Rules Checklist

UBL 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 information

Part 2: XML and Data Management Chapter 6: Overview of XML

Part 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 information

COMP9321 Web Application Engineering. Extensible Markup Language (XML)

COMP9321 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 information

EXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name

EXAM 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 information

Delivery Options: Attend face-to-face in the classroom or remote-live attendance.

Delivery Options: Attend face-to-face in the classroom or remote-live attendance. XML Programming Duration: 5 Days Price: $2795 *California residents and government employees call for pricing. Discounts: We offer multiple discount options. Click here for more info. Delivery Options:

More information

Delivery Options: Attend face-to-face in the classroom or via remote-live attendance.

Delivery Options: Attend face-to-face in the classroom or via remote-live attendance. XML Programming Duration: 5 Days US Price: $2795 UK Price: 1,995 *Prices are subject to VAT CA Price: CDN$3,275 *Prices are subject to GST/HST Delivery Options: Attend face-to-face in the classroom or

More information

CSC Web Technologies, Spring Web Data Exchange Formats

CSC Web Technologies, Spring Web Data Exchange Formats CSC 342 - Web Technologies, Spring 2017 Web Data Exchange Formats Web Data Exchange Data exchange is the process of transforming structured data from one format to another to facilitate data sharing between

More information

DOM Interface subset 1/ 2

DOM Interface subset 1/ 2 DOM Interface subset 1/ 2 Document attributes documentelement methods createelement, createtextnode, Node attributes nodename, nodevalue, nodetype, parentnode, childnodes, firstchild, lastchild, previoussibling,

More information

Agenda. XML document Structure. XML and HTML were designed with different goals: XML was designed to describe data and to focus on what

Agenda. XML document Structure. XML and HTML were designed with different goals: XML was designed to describe data and to focus on what XML extensible Markup Language Reda Bendraou Reda.Bendraou@lip6.fr http://pagesperso-systeme.lip6.fr/reda.bendraou Agenda Part I : The XML Standard Goals Why XML? XML document Structure Well-formed XML

More information

Creation 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 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 information

XML (4) Extensible Markup Language

XML (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 Information Set. Working Draft of May 17, 1999

XML Information Set. Working Draft of May 17, 1999 XML Information Set Working Draft of May 17, 1999 This version: http://www.w3.org/tr/1999/wd-xml-infoset-19990517 Latest version: http://www.w3.org/tr/xml-infoset Editors: John Cowan David Megginson Copyright

More information

XML: Introduction. !important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... Directive... 9:11

XML: Introduction. !important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... Directive... 9:11 !important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... 7:4 @import Directive... 9:11 A Absolute Units of Length... 9:14 Addressing the First Line... 9:6 Assigning Meaning to XML Tags...

More information

XML Extensible Markup Language

XML Extensible Markup Language XML Extensible Markup Language Generic format for structured representation of data. DD1335 (Lecture 9) Basic Internet Programming Spring 2010 1 / 34 XML Extensible Markup Language Generic format for structured

More information

A Study of Conventional Schema Versioning in the τxschema Framework

A Study of Conventional Schema Versioning in the τxschema Framework A Study of Conventional Schema Versioning in the τxschema Framework Zouhaier Brahmia, Rafik Bouaziz, Fabio Grandi, Barbara Oliboni June 13, 2012 TR-94 A TIMECENTER Technical Report Title A Study of Conventional

More information

Syntax XML Schema XML Techniques for E-Commerce, Budapest 2004

Syntax XML Schema XML Techniques for E-Commerce, Budapest 2004 Mag. iur. Dr. techn. Michael Sonntag Syntax XML Schema XML Techniques for E-Commerce, Budapest 2004 E-Mail: sonntag@fim.uni-linz.ac.at http://www.fim.uni-linz.ac.at/staff/sonntag.htm Michael Sonntag 2004

More information

Markup Languages. Lecture 4. XML Schema

Markup Languages. Lecture 4. XML Schema Markup Languages Lecture 4. XML Schema Introduction to XML Schema XML Schema is an XML-based alternative to DTD. An XML schema describes the structure of an XML document. The XML Schema language is also

More information

XML Concept. What is XML. Examples of XML documents

XML Concept. What is XML. Examples of XML documents What is XML XML Concept 1. XML Concept 2. XML: Defining Well-formed documents 3. XSD : Defining Valid documents, Introduction to Schema Instructor: Professor Izidor Gertner, e-mail: csicg@csfaculty.engr.ccny.cuny.edu

More information

7.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 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 information

Semantic Web. XML and XML Schema. Morteza Amini. Sharif University of Technology Fall 94-95

Semantic Web. XML and XML Schema. Morteza Amini. Sharif University of Technology Fall 94-95 ه عا ی Semantic Web XML and XML Schema Morteza Amini Sharif University of Technology Fall 94-95 Outline Markup Languages XML Building Blocks XML Applications Namespaces XML Schema 2 Outline Markup Languages

More information

Querying XML Data. Querying XML has two components. Selecting data. Construct output, or transform data

Querying 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 information

Introducing our First Schema

Introducing our First Schema 1 di 11 21/05/2006 10.24 Published on XML.com http://www.xml.com/pub/a/2000/11/29/schemas/part1.html See this if you're having trouble printing code examples Using W3C XML By Eric van der Vlist October

More information

ETSI TS V8.1.0 ( )

ETSI TS V8.1.0 ( ) TS 132 645 V8.1.0 (2012-01) Technical Specification Universal Mobile Telecommunications System (UMTS); LTE; Telecommunication management; Configuration Management (CM); UTRAN network resources Integration

More information

XML. COSC Dr. Ramon Lawrence. An attribute is a name-value pair declared inside an element. Comments. Page 3. COSC Dr.

XML. 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 information

Web Services Resource Metadata 1.0 (WS-ResourceMetadataDescriptor)

Web Services Resource Metadata 1.0 (WS-ResourceMetadataDescriptor) 1 2 3 4 Web Services Resource Metadata 1.0 (WS-ResourceMetadataDescriptor) Committee Specification 01, November 9, 2006 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Document identifier:

More information

Java EE 7: Back-end Server Application Development 4-2

Java EE 7: Back-end Server Application Development 4-2 Java EE 7: Back-end Server Application Development 4-2 XML describes data objects called XML documents that: Are composed of markup language for structuring the document data Support custom tags for data

More information

SCA Model using XSD. Status: in progress. Version Date Author(s) Comments. v1.0 06/06/07 Damien Fournier, Philippe Merle (INRIA) Initial version

SCA Model using XSD. Status: in progress. Version Date Author(s) Comments. v1.0 06/06/07 Damien Fournier, Philippe Merle (INRIA) Initial version SCA Model using XSD This document lists the corrections on the XSD files (from OSOA: http://www.osoa.org/xmlns/sca/1.0/) required to enable the validation of the XSD model and to reflect properly the SCA

More information

Department 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 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 information

XML Schema for Job Definition Format. Graham Mann Internet Printing Group, Adobe Systems Inc

XML Schema for Job Definition Format. Graham Mann Internet Printing Group, Adobe Systems Inc XML Schema for Job Definition Format Graham Mann Internet Printing Group, Adobe Systems Inc gmann@adobe.com Agenda! Why use XML schema! Summary of XML schema capability! Limitations of XML schema! JDF

More information

XML Schema Part 1: Structures Second Edition

XML Schema Part 1: Structures Second Edition Page 1 of 210 XML Schema Part 1: Structures Second Edition W3C Recommendation 28 October 2004 This version: http://www.w3.org/tr/2004/rec-xmlschema-1-20041028/ Latest version: Previous version: http://www.w3.org/tr/2004/per-xmlschema-1-20040318/

More information

SOAP, WSDL, HTTP, XML, XSD, DTD, UDDI - what the?

SOAP, WSDL, HTTP, XML, XSD, DTD, UDDI - what the? SOAP, WSDL, HTTP, XML, XSD, DTD, UDDI - what the? By Aaron Bartell Copyright Aaron Bartell 2013 by Aaron Bartell aaron@mowyourlawn.com Agenda Why are we at this point in technology? XML Holding data the

More information

Avancier Methods (AM)

Avancier Methods (AM) Methods (AM) CONCEPTS Regular expressions in XSDs, Perl & JSP It is illegal to copy, share or show this document (or other document published at http://avancier.co.uk) without the written permission of

More information

SDMX self-learning package XML based technologies used in SDMX-IT TEST

SDMX self-learning package XML based technologies used in SDMX-IT TEST SDMX self-learning package XML based technologies used in SDMX-IT TEST Produced by Eurostat, Directorate B: Statistical Methodologies and Tools Unit B-5: Statistical Information Technologies Last update

More information

Faster XML data validation in a programming language with XML datatypes

Faster XML data validation in a programming language with XML datatypes Faster XML data validation in a programming language with XML datatypes Kurt Svensson Inobiz AB Kornhamnstorg 61, 103 12 Stockholm, Sweden kurt.svensson@inobiz.se Abstract EDI-C is a programming language

More information

XML SCHEMA REGISTRATION AND VALIDATION

XML SCHEMA REGISTRATION AND VALIDATION June 2006 XML SCHEMA REGISTRATION AND VALIDATION By Aarti Dua Software Developer IBM Software Group 2 Table of Contents XML Schema Support in DB2...3 XML Schema Repository...3 XML Schema Registration...7

More information

Layered approach. Data

Layered approach. Data Layered approach (by T. Berners-Lee) The Semantic Web principles are implemented in the layers of Web technologies and standards semantics relational data Selfdescr. doc. Data Data Rules Ontology vocabulary

More information

UN/CEFACT/UBL XML Naming and Design Rules Analysis Page 1

UN/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 information

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 7 XML

Copyright 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 information

Modeling XML Vocabularies with UML: Part I

Modeling XML Vocabularies with UML: Part I Modeling XML Vocabularies with UML: Part I David Carlson, CTO Ontogenics Corp. dcarlson@ontogenics.com http://xmlmodeling.com The arrival of the W3C s XML Schema specification has evoked a variety of responses

More information

Chapter 1: Getting Started. You will learn:

Chapter 1: Getting Started. You will learn: Chapter 1: Getting Started SGML and SGML document components. What XML is. XML as compared to SGML and HTML. XML format. XML specifications. XML architecture. Data structure namespaces. Data delivery,

More information

ETSI TS V9.0.0 ( ) Technical Specification

ETSI TS V9.0.0 ( ) Technical Specification TS 132 695 V9.0.0 (2010-01) Technical Specification Digital cellular telecommunications system (Phase 2+); Universal Mobile Telecommunications System (UMTS); LTE; Telecommunication management; Inventory

More information

웹기술및응용. XML Basics 2018 년 2 학기. Instructor: Prof. Young-guk Ha Dept. of Computer Science & Engineering

웹기술및응용. XML Basics 2018 년 2 학기. Instructor: Prof. Young-guk Ha Dept. of Computer Science & Engineering 웹기술및응용 XML Basics 2018 년 2 학기 Instructor: Prof. Young-guk Ha Dept. of Computer Science & Engineering 목차 q Introduction to XML q XML Document Structure and Basic Syntax 2 Introduction to XML XML (extensible

More information

Web Services Description Language (WSDL) Version 1.2

Web Services Description Language (WSDL) Version 1.2 Web Services Description Language (WSDL) Version 1.2 Web Services Description Language (WSDL) Version 1.2 W3C Working Draft 24 January 2003 This version: http://www.w3.org/tr/2003/wd-wsdl12-20030124 Latest

More information

Enforcing the Complex Business Rules of NIEM Exchanges

Enforcing 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 information

XML Design Rules and Conventions (DRC) for the Exchange Network

XML 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 information

XML: Extensible Markup Language

XML: Extensible Markup Language XML: Extensible Markup Language CSC 375, Fall 2015 XML is a classic political compromise: it balances the needs of man and machine by being equally unreadable to both. Matthew Might Slides slightly modified

More information

An Approach to Heterogeneous Data Translation based on XML Conversion

An Approach to Heterogeneous Data Translation based on XML Conversion An Approach to Heterogeneous Data Translation based on XML Conversion Paolo Papotti and Riccardo Torlone Dipartimento di Informatica e Automazione Università RomaTre {papotti,torlone}@dia.uniroma3.it Abstract.

More information

Network Working Group. Category: Standards Track DENIC eg January IRIS: The Internet Registry Information Service (IRIS) Core Protocol

Network Working Group. Category: Standards Track DENIC eg January IRIS: The Internet Registry Information Service (IRIS) Core Protocol Network Working Group Request for Comments: 3981 Category: Standards Track A. Newton VeriSign, Inc. M. Sanz DENIC eg January 2005 IRIS: The Internet Registry Information Service (IRIS) Core Protocol Status

More information