#N14 Pattern Value (aka Substring attribute) SDD 1.1 Initial Discussion XXX = [Proposal | Initial Discussion | General Direction Proposal]

Slides:



Advertisements
Similar presentations
ISSUE-94 Objects. Six options have been discussed 1.Annotate, in the RIF document, the attribute as single-valued, e.g. using RIF meta-data construct;
Advertisements

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.
Searching using regular expressions. A regular expression is also a ‘special text string’ for describing a search pattern. Regular expressions define.
1 Web Data Management XML Schema. 2 In this lecture XML Schemas Elements v. Types Regular expressions Expressive power Resources W3C Draft:
ESDSWG2011 – Semantic Web session Semantic Web Sub-group Session ESDSWG 2011 Meeting – Semantic Web sub-group session Wednesday, November 2, 2011 Norfolk,
XML 6.5 XML Schema (XSD) 6. What is XML Schema? The origin of schema  XML Schema documents are used to define and validate the content and structure.
An Introduction to XML Based on the W3C XML Recommendations.
1 DTD (Document Type Definition) Imposing Structure on XML Documents (W3Schools on DTDs)W3Schools on DTDs.
1 XML DTD & XML Schema Monica Farrow G30
SDPL 2003Notes 2: Document Instances and Grammars1 2.5 XML Schemas n A quick introduction to XML Schema –W3C Recommendation, May 2, 2001: »XML Schema Part.
Introduction to PHP. PHP Origins Rasmus LerdorfRasmus Lerdorf (born Greenland, ed Canada) PHP originally abbreviation for ‘Personal Home Pages’, now ‘PHP.
Bash, part 2 Prof. Chris GauthierDickey COMP Unix Tools.
4/16/2007Declare a Schema File I1. 4/16/2007Declare a Schema File I2 Declare a Schema File A collection of semantic validation rules designed to constrain.
Sunday, June 28, 2015 Abdelali ZAHI : FALL 2003 : XML Schemas XML Schemas Presented By : Abdelali ZAHI Instructor : Dr H.Haddouti.
Tutorial 14 Working with Forms and Regular Expressions.
CS 299 – Web Programming and Design Overview of JavaScript and DOM Instructor: Dr. Fang (Daisy) Tang.
XML –Query Languages, Extracting from Relational Databases ADVANCED DATABASES Khawaja Mohiuddin Assistant Professor Department of Computer Sciences Bahria.
1 XML Schema Information Retrieval Systems Maria Indrawan 2003.
Introduction to regular expression. Wéber André Objective of the training Scope of the course  We will present what are “regular expressions”
Manohar – Why XML is Required Problem: We want to save the data and retrieve it further or to transfer over the network. This.
4/20/2017.
17 Apr 2002 XML Schema Andy Clark. What is it? A grammar definition language – Like DTDs but better Uses XML syntax – Defined by W3C Primary features.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
XP Tutorial 14 New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Working with Forms and Regular Expressions Validating a Web Form with JavaScript.
JSP Standard Tag Library
Schema Design „Advanced XML Schema“ Lecture on Walter Kriha.
SDPL 2002Notes 2: Document Instances and Grammars1 2.5 XML Schemas n A quick introduction to XML Schema –W3C Recommendation, May 2, 2001: »XML Schema Part.
1 XML Schemas. 2 Useful Links Schema tutorial links:
XP 1 CREATING AN XML DOCUMENT. XP 2 INTRODUCING XML XML stands for Extensible Markup Language. A markup language specifies the structure and content of.
Extensible Markup and Beyond
#N14 Pattern Value (aka Substring attribute) SDD 1.1 Proposal.
XP 1 DECLARING A DTD A DTD can be used to: –Ensure all required elements are present in the document –Prevent undefined elements from being used –Enforce.
Web Services Week 7 Aims: A detailed look at the underlying mechanisms for communication between web services Objectives: SOAP, WSDL, UDDI.
Session IV Chapter 9 – XML Schemas
Avoid using attributes? Some of the problems using attributes: Attributes cannot contain multiple values (child elements can) Attributes are not easily.
CL1 Proposal Redefine “install”. Add update artifact. Remove inconsistencies introduced by “baseUninstall” package type.
JSTL, XML and XSLT An introduction to JSP Standard Tag Library and XML/XSLT transformation for Web layout.
SDPL 2005Notes 2.5: XML Schemas1 2.5 XML Schemas n Short introduction to XML Schema –W3C Recommendation, 1 st Ed. May, 2001; 2 nd Ed. Oct, 2004: »XML Schema.
New Perspectives on XML, 2nd Edition
An OO schema language for XML SOX W3C Note 30 July 1999.
Sheet 1XML Technology in E-Commerce 2001Lecture 2 XML Technology in E-Commerce Lecture 2 Logical and Physical Structure, Validity, DTD, XML Schema.
Working with Forms and Regular Expressions Validating a Web Form with JavaScript.
XML 2nd EDITION Tutorial 4 Working With Schemas. XP Schemas A schema is an XML document that defines the content and structure of one or more XML documents.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
Tutorial 13 Validating Documents with Schemas
JSTL The JavaServer Pages Standard Tag Library (JSTL) is a collection of useful JSP tags which encapsulates core functionality common to many JSP applications.
XP New Perspectives on XML, 2 nd Edition Tutorial 8 1 TUTORIAL 8 CREATING ELEMENT GROUPS.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
Slide #1 Boston, Jan 5 – 6, 2005XCON WG Interim draft-levin-xcon-cccp-01.txt By Orit Levin
XSD: XML Schema Language Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
JAVA BEANS JSP - Standard Tag Library (JSTL) JAVA Enterprise Edition.
Unit 11 –Reglar Expressions Instructor: Brent Presley.
Deriving Complex Types In XML Schema By: Roy Navon.
7 Copyright © 2009, Oracle. All rights reserved. Regular Expression Support.
Document Type Definition (DTD) Eugenia Fernandez IUPUI.
XP Tutorial 7 New Perspectives on JavaScript, Comprehensive 1 Working with Forms and Regular Expressions Validating a Web Form with JavaScript.
CSE3201 Information Retrieval Systems XML Schema – Part 2.
9/29/2005From Introduction to Oracle:SQL and PL/SQL, Oracle 1 Restricting and Sorting Data Kroenke, Chapter Two.
SDPL : XML Schemas1 2.5 XML Schemas n Short introduction to XML Schema –W3C Recommendation, 1 st Ed. May, 2001; 2 nd Ed. Oct, 2004: »XML Schema.
1 Sections 3.1 – 3.2a Basic Syntax and Semantics Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
CS 330 Class 7 Comments on Exam Programming plan for today:
XML QUESTIONS AND ANSWERS
Eugenia Fernandez IUPUI
Working with Forms and Regular Expressions
SDD 1.1 General Direction Proposal
SAS in Data Cleaning.
XML Path Language Andy Clark 17 Apr 2002.
Advanced Find and Replace with Regular Expressions
More XML XML schema, XPATH, XSLT
New Perspectives on XML
Presentation transcript:

#N14 Pattern Value (aka Substring attribute) SDD 1.1 Initial Discussion XXX = [Proposal | Initial Discussion | General Direction Proposal]

Current Situation Values for multiple elements, e.g. PropertyConstraint, are of type VariableExpressionType –Spec defines this as: A literal string, e.g. “foo” –OR A variable reference, e.g. $(bar) –Schema defines this as a String w/a restriction Not sure the restriction works as needed There is no way to describe an expression, e.g. substring like “Oracle*” nor the syntax being used in forming the expression.

Proposal (original) Add an attribute that states what “format” the value of the element is: –Literal (default) –Variable Reference –Expression Declare it to be defined as an XML pattern facet –A regular expression using "|" and "^" may be specified, as in XPATH expressions. In addition, the occurrence of a "*" in the string content will be interpreted as a wildcard for matching. The escape character is "\". Examples of valid patterns are: red | blue | green ^(red) web* | http* Examples – – *Tomcat* Suggested to look at Java’s regular expression suppport

Proposal (new) Both xpath and java’s regular expression support if more complex than what is needed. Thus, to keep it simple –Add an attribute that states what “format” the value of the element is: String (default) Literal –Case sensitive string Variable Reference –$(var) - reference Wildcard –* - wildcard –Prefer “*” over Java’s “.” Negation –Not required for we have the “test value” attribute

Proposed Schema Show the exact and complete proposed changed, added or deleted schema. Use this slide for full proposals. It is optional for general direction proposals and would not be expected to be complete.

Proposed Specification Change Add attribute to Elements of type Variable Expression – –Allows for other types, e.g. pattern syntax, to be supported Remove current restriction on VariableExpression, i.e. just a String Use this slide for full proposals. It is optional for general direction proposals and would not be expected to be complete.

Examples Literal – – Apache Tomcat VariableExpression – – sp:CIM_ConnectedTo.Protocol – $(prototcolType) – –Literal would have been “JDBC” XPath Pattern – – Oracle* –Literal would have been “Oracle 9iAS”