AML ASN.1 Markup Language A markup notation for ASN.1 values Copyright © 2001 Griffin Consulting, All Rights Reserved. Griffin Consulting 1625 Glenwood.

Slides:



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

WECC EIDE Training Workshop Data Exchange Work Group.
XML Schema Heewon Lee. Contents 1. Introduction 2. Concepts 3. Example 4. Conclusion.
What is XML? a meta language that allows you to create and format your own document markups a method for putting structured data into a text file; these.
A guide to HTML. Slide 1 HTML: Hypertext Markup Language Pull down View, then Source, to see the HTML code. Slide 1.
CSE 190: Internet E-Commerce Lecture 17: XML, XSL.
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
XML(EXtensible Markup Language). XML XML stands for EXtensible Markup Language. XML is a markup language much like HTML. XML was designed to describe.
Introduction to XML Rashmi Kukanur. XML XML stands for Extensible Markup Language XML was designed to carry data XML and HTML designed with different.
Introduction to XML This material is based heavily on the tutorial by the same name at
Chapter 12 Creating and Using XML Documents HTML5 AND CSS Seventh Edition.
Method of Converting Resource definitions into XSD Group Name: WG3 (PRO) Source: Shingo Fujimoto, FUJITSU, Meeting Date:
Chapter 9 Web Services Architecture and XML. Objectives By study in the chapter, you will be able to: Describe what is the goal of the Web services architecture.
The emergence of ASN.1 as an XML Schema Notation
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 XML Taken from Chapter 7.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
XML Open Computing Institute, Inc. 1 eXtensible Markup Language (XML)
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
XML CPSC 315 – Programming Studio Fall 2008 Project 3, Lecture 1.
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
Extensible Markup and Beyond
MIS 315 Bsharah An Introduction to XML 1MIS Bsharah.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
XML Syntax - Writing XML and Designing DTD's
XHTML,XML M.Abdullah Mrian. What is the XHTML Why XHTML ?
What is XML?  XML stands for EXtensible Markup Language  XML is a markup language much like HTML  XML was designed to carry data, not to display data.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
Processing of structured documents Spring 2002, Part 2 Helena Ahonen-Myka.
Abstract Syntax Notation ASN.1 Week-5 Ref: “SNMP…” by Stallings (Appendix B)
Avoid using attributes? Some of the problems using attributes: Attributes cannot contain multiple values (child elements can) Attributes are not easily.
Of 33 lecture 3: xml and xml schema. of 33 XML, RDF, RDF Schema overview XML – simple introduction and XML Schema RDF – basics, language RDF Schema –
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
Waqas Anwar Next SlidePrevious Slide. Waqas Anwar Next SlidePrevious Slide XML XML stands for EXtensible Markup Language.
Abstract Syntax Notation One ASN.1. Abstract Syntax Notation One  Both the information and communications models need to be specified syntactically and.
An OO schema language for XML SOX W3C Note 30 July 1999.
Lecture 16 Introduction to XML Boriana Koleva Room: C54
XML – Part III. The Element … This type of element either has the element content or the mixed content (child element and data) The attributes of the.
1 Credits Prepared by: Rajendra P. Srivastava Ernst & Young Professor University of Kansas Sponsored by: Ernst & Young, LLP (August 2005) XBRL Module Part.
Chapter 27 The World Wide Web and XML. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.27-2 Topics in this Chapter The Web and the Internet.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Understanding How XML Works Ellen Pearlman Eileen Mullin Programming the.
XML Introduction. What is XML? XML stands for eXtensible Markup Language XML stands for eXtensible Markup Language XML is a markup language much like.
The eXtensible Markup Language (XML). Presentation Outline Part 1: The basics of creating an XML document Part 2: Developing constraints for a well formed.
Sheet 1XML Technology in E-Commerce 2001Lecture 2 XML Technology in E-Commerce Lecture 2 Logical and Physical Structure, Validity, DTD, XML Schema.
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
Representing data with XML SE-2030 Dr. Mark L. Hornick 1.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 2: Markup Language and Site Development Essentials © 2007 Prosoft Learning Corporation All.
XML Technology. Emerging Importance of XML –HTML-tagging is display oriented. –XML-based content tagging has important uses: data mining role-oriented.
Martin Kruliš by Martin Kruliš (v1.1)1.
Chapter 3 Basic Foundations: Standards, Models, and Language.
C Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Introduction to XML Standards.
CIS 228 The Internet 9/20/11 XHTML 1.0. “Quirks” Mode Today, all browsers support standards Compliant pages are displayed similarly There are multiple.
XML Notes taken from w3schools. What is XML? XML stands for EXtensible Markup Language. XML was designed to store and transport data. XML was designed.
4 Copyright © 2004, Oracle. All rights reserved. Validating XML by Using XML Schema.
Study Group 17 ASN.1 John Larmouth ITU-T and ISO/IEC ASN.1 Rapporteur
ELEMENT DECLARATIONS 1 CH 8. Objective 2 Analyzing the document ANY #PCDATA Child elements Mixed content Empty elements Comments in DTDs.
CITA 330 Section 2 DTD. Defining XML Dialects “Well-formedness” is the minimal requirement for an XML document; all XML parsers can check it Any useful.
9/21/2016 Presentation layer Abstract Syntax Notation #1 Basic Encoding Rules.
1 XML and XML in DLESE Katy Ginger November 2003.
Extensible Markup Language (XML) Pat Morin COMP 2405.
Jaringan Telekomunikasi, Sukiswo ST, MT Sukiswo
XML QUESTIONS AND ANSWERS
Dept. of Computer Science and Engineering
Eugenia Fernandez IUPUI
CSCE 315 – Programming Studio Spring 2013
Chapter 3 Basic Foundations: Standards, Models, and Language
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
WEB PROGRAMMING JavaScript.
Presentation transcript:

AML ASN.1 Markup Language A markup notation for ASN.1 values Copyright © 2001 Griffin Consulting, All Rights Reserved. Griffin Consulting 1625 Glenwood Avenue Raleigh, North Carolina

ASN.1 Markup Values Overview (a) Copyright © 2001 Griffin Consulting, All Rights Reserved. ASN.1 is a schema for encoded values - Type definitions are based on the X.680-series notation - Types describe the expected general structure of values - Each builtin type defines a class of distinct values - Constraints restrict a class and the validity of values

ASN.1 Markup Values Overview (b) Copyright © 2001 Griffin Consulting, All Rights Reserved. Encoded ASN.1 values are binary or text - Binary encodings based on the X.690-series rules - Text encoded as plain, formatted or markup values - ASN.1 Value Notation - ASN.1 Markup Language (AML) - Coloring control of markup

ASN.1 Markup Values Example type and value AnyName ::= [APPLICATION 1] SEQUENCE { givenName VisibleString, initial [0] VisibleString (SIZE(1)) OPTIONAL, familyName VisibleString } Hubert L Owen Copyright © 2001 Griffin Consulting, All Rights Reserved.

ASN.1 Markup Values Another example ChildInformation ::= SET { name AnyName, dateOfBirth Date } Date ::= [APPLICATION 3] INTEGER (1..MAX) -- yyyymmdd Lee Owen Copyright © 2001 Griffin Consulting, All Rights Reserved.

ASN.1 Markup Values As a rule... Whenever possible, the identifier name is used as the default markup tag. Otherwise, the user defined type name is used. Employee ::= SEQUENCE { -- type number INTEGER(0..MAX),-- identifier dateOfHire Date -- identifier } Copyright © 2001 Griffin Consulting, All Rights Reserved.

ASN.1 Markup Values AML Benefits (a) A single schema for all values - Binary and text encodings are all based on ASN.1 types * Eliminates multiple schema mappings * ASN.1 is a mature, stable schema for XML markup ASN.1 XML communications - ASN.1 applications can send and receive XML values - Efficient ASN.1 transfer, Encoding Control, plain text Copyright © 2001 Griffin Consulting, All Rights Reserved.

ASN.1 Markup Values AML Benefits (b) Copyright © 2001 Griffin Consulting, All Rights Reserved. ASN.1/ML Application Wireless Application Browser Application SDF Application XML HTML plus Compact Binary Encoding ECN Plain Text

ASN.1 Markup Values Personnel Record (a) PersonnelRecord ::= [APPLICATION 0] SET{ name AnyName, title VisibleString, number EmployeeNumber, dateOfHire Date, nameOfSpouse AnyName, children SEQUENCE OF ChildInformation DEFAULT {} } Note: ChildInformation is a “defined type”. Copyright © 2001 Griffin Consulting, All Rights Reserved.

ASN.1 Markup Values Personnel Record (b) { name { givenName ”Hubert”, initial "L”, familyName "Owen” }, title"Director”, number51, dateOfHire , nameOfSpouse{ givenName ”Ann”, initial "R”, familyName ”Mitchell” }, children { { name { givenName "Lee”, familyName ”Owen” }, dateOfBirth }, { name { givenName "Alan”, initial "L”, familyName ”Owen” }, dateOfBirth } } Copyright © 2001 Griffin Consulting, All Rights Reserved.

ASN.1 Markup Values Personnel Record (c) Hubert L Owen Director  Copyright © 2001 Griffin Consulting, All Rights Reserved.

ASN.1 Markup Values Personnel Record (d) Ann R Mitchell Lee Owen  Copyright © 2001 Griffin Consulting, All Rights Reserved.

ASN.1 Markup Values Personnel Record (e) Copyright © 2001 Griffin Consulting, All Rights Reserved Alan L Owen 

ASN.1 Markup Values Personnel Record (f) Copyright © 2001 Griffin Consulting, All Rights Reserved.  Note: A detailed description of this personnel record example is provided in Annex C of ITU-T Rec. X.680 | ISO/IEC The type and value notation used in this example mimics the one in the ASN.1 standard. The ASN.1 Markup Value Notation is the result of new work from the Geneva 2001 ASN.1 Editors Group meeting. Future work will focus on coloring.

ASN.1 Markup Values Coloring Copyright © 2001 Griffin Consulting, All Rights Reserved. A coloring notation is currently being designed and will be added to the ASN.1 standards. The form of this new notation is still being decided, but will likely mimic the new ASN.1 Encoding Control Notation (ECN). See But much of the functionality that will be provided by AML coloring can be expressed for the purpose of discussion using ASN.1 tool directives in the form of ASN.1 comments. The following slides describe several proposed coloring controls. Each includes a description, an example, and the expected results of coloring.

ASN.1 Markup Values Coloring (tag=) Copyright © 2001 Griffin Consulting, All Rights Reserved. The tag= coloring control allows the protocol specifier to choose the name used in any generated markup tags. AReal ::= REAL For the value 1.5, this type definition and coloring control will generate 1.5 instead of the default markup 1.5 Note: If tag= is present and empty, no markup tags are generated.

ASN.1 Markup Values Coloring (prefix=) Copyright © 2001 Griffin Consulting, All Rights Reserved. The prefix= coloring control specifies a text string to precede the generated value or markup value. AReal ::= REAL ’>-- For the value 1.5, this type definition and coloring control will generate 1.5 instead of the default markup 1.5 Note: The prefix= string precedes any generated markup start tag.

ASN.1 Markup Values Coloring (suffix=) Copyright © 2001 Griffin Consulting, All Rights Reserved. The suffix= coloring control specifies a text string to follow the generated value or markup value. AReal ::= REAL -- ? ’>-- For the value 1.5, this type definition and coloring control will generate 1.5 ? instead of the default markup 1.5 Note: The suffix= string follows any generated markup end tag.

ASN.1 Markup Values Coloring (dtdFile=) Copyright © 2001 Griffin Consulting, All Rights Reserved. The dtdFile= coloring control specifies the name of a DTD file to be used with the generated markup for a given ASN.1 module. CertificateExtensions DEFINITIONS IMPLICIT TAGS ::= BEGIN Applications may require more than one DTD file, perhaps one per PDU. AReal ::= REAL When a dtdFIle= control is used to color a PDU, it replaces any DTD control specified at the module level for the given PDU.