#N14 Pattern Value (aka Substring attribute) SDD 1.1 Proposal.

Slides:



Advertisements
Similar presentations
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.
Advertisements

1 DTD (Document Type Definition) Imposing Structure on XML Documents (W3Schools on DTDs)W3Schools on DTDs.
Excel Chapter 6 Review slides. How many worksheets are in a workbook, by default? three.
CL2 Proposal #9: Mapping requirements to requisites.
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.
Learning Web development. 3(+1) Tier architecture PHP script Remote services Web Server (Apache, IIS) Browser (IE, FireFox, Opera) Desktop (PC or MAC)
1 Query Languages. 2 Boolean Queries Keywords combined with Boolean operators: –OR: (e 1 OR e 2 ) –AND: (e 1 AND e 2 ) –BUT: (e 1 BUT e 2 ) Satisfy e.
JAXP Transformation Package and Xalan Extensions 黃立昇
ISBN Chapter 6 Data Types Character Strings Pattern Matching.
Introduction to PHP. PHP Origins Rasmus LerdorfRasmus Lerdorf (born Greenland, ed Canada) PHP originally abbreviation for ‘Personal Home Pages’, now ‘PHP.
Sunday, June 28, 2015 Abdelali ZAHI : FALL 2003 : XML Schemas XML Schemas Presented By : Abdelali ZAHI Instructor : Dr H.Haddouti.
CS 299 – Web Programming and Design Overview of JavaScript and DOM Instructor: Dr. Fang (Daisy) Tang.
SDD Schema Documentation Preliminary Thoughts Howard Abrams – CA, Inc.
Introduction to regular expression. Wéber André Objective of the training Scope of the course  We will present what are “regular expressions”
The Scanner Class and Formatting Output Mr. Lupoli.
Health Level Seven Experience Report Paul V. Biron Kaiser Permanente W3C XML Schema User Experience Workshop, Jun 21-22, 2005.
4/20/2017.
An Introduction to TokensRegex
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
1 Creating Web Forms in HTML Web forms collect information from customers Web forms include different control elements including: –Input boxes –Selection.
 Text Manipulation and Data Collection. General Programming Practice Find a string within a text Find a string ‘man’ from a ‘A successful man’
Lecture 6 of Advanced Databases XML Schema, Querying & Transformation Instructor: Mr.Ahmed Al Astal.
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.
Mark Dixon 1 12 – Java Beans. Mark Dixon 2 Session Aims & Objectives Aims –To cover the use of Java Beans Objectives, by end of this week’s sessions,
Display Text SDD 1.1 Topic. Current Situation COSMOS team is implementing a CLI for user interaction Need the ability to specify strings for display to.
CL1 Proposal Redefine “install”. Add update artifact. Remove inconsistencies introduced by “baseUninstall” package type.
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.
Fall 2007cs4201 Advanced Java Programming Umar Kalim Dept. of Communication Systems Engineering
New Perspectives on XML, 2nd Edition
8 Copyright © 2006, Oracle. All rights reserved. Regular Expression Support.
Post-Module JavaScript BTM 395: Internet Programming.
Regular Expressions – An Overview Regular expressions are a way to describe a set of strings based on common characteristics shared by each string in.
Human-readable SDD Content Debra Danielson CA. © 2005 Computer Associates International, Inc. (CA). All trademarks, trade names, services marks and logos.
Display Text SDD 1.1 Topic. Current Situation COSMOS team is implementing a CLI for user interaction Need the ability to specify strings for display to.
Working with Forms and Regular Expressions Validating a Web Form with JavaScript.
Regular Expressions in Perl CS/BIO 271 – Introduction to Bioinformatics.
JSTL The JavaServer Pages Standard Tag Library (JSTL) is a collection of useful JSP tags which encapsulates core functionality common to many JSP applications.
FT228/3 Web Development Error processing. Introduction READ Chapter 9 of Java Server Pages from O’reilly 2 nd Edition Need to be able to 1) Diagnose and.
SugarCRM Service Template
ImplementedBy SDD 1.1 Proposal. Current Situation SDD runtime “walks” resources in topology Resources are cataloged and cross referenced w/ profile(s)
Copyright 2004 John Cowan 1 Infinite Diversity in Infinite Combinations why one schema language is not enough John Cowan.
Oracle Data Integrator User Functions, Variables and Advanced Mappings
Unit 11 –Reglar Expressions Instructor: Brent Presley.
7 Copyright © 2009, Oracle. All rights reserved. Regular Expression Support.
Proposal for Property/Response Files reference and value substitutions Draft 0.2 Weijia (John) Zhang Dell Inc.
XPath --XML Path Language Motivation of XPath Data Model and Data Types Node Types Location Steps Functions XPath 2.0 Additional Functionality and its.
“Custom” Checks/Constraints/Actions A proposal for the OASIS SDD TC Rich Aquino, Macrovision Julia McCarthy, IBM March 1, 2007.
XP Tutorial 7 New Perspectives on JavaScript, Comprehensive 1 Working with Forms and Regular Expressions Validating a Web Form with JavaScript.
#N14 Pattern Value (aka Substring attribute) SDD 1.1 Initial Discussion XXX = [Proposal | Initial Discussion | General Direction Proposal]
An Introduction to Regular Expressions Specifying a Pattern that a String must meet.
JavaScript Events Java 4 Understanding Events Events add interactivity between the web page and the user You can think of an event as a trigger that.
9/29/2005From Introduction to Oracle:SQL and PL/SQL, Oracle 1 Restricting and Sorting Data Kroenke, Chapter Two.
Proposal for Property/Response Files reference and value substitutions Draft 0.3 Weijia (John) Zhang Dell Inc.
1 Lecture 8 Shell Programming – Control Constructs COP 3353 Introduction to UNIX.
IST 220 – Intro to DB Lab 2 Specifying Criteria in SELECT Statements.
Product Training Program
Selenium HP Web Test Tool Training
Chapter 5 Introduction to SQL.
JSP: Actions elements and JSTL
Infinite Diversity in Infinite Combinations
Lexical Reference Variables in Graphics and List Box in Forms
Automating GUI testing with Selenium WebDriver, Java and Eclipse
XNAT 1.7 DicomEdit 4, DicomEdit 6, and Mizer
CompSci 230 Software Construction
Arbitrary and Cascading Operations
SDD 1.1 General Direction Proposal
XML Path Language Andy Clark 17 Apr 2002.
Embracing Java 9 and beyond with Eclipse JDT
Presentation transcript:

#N14 Pattern Value (aka Substring attribute) SDD 1.1 Proposal

Current Situation descriptorLanguageBundle is an optional attribute for both the Package Descriptor and the Deployment Descriptor –Thus, requires text in the Spec as: The descriptorLanguageBundle attribute can be specified in both the PackageDescriptor and the DeploymentDescriptor, although the latter is not required. If it is included in both, the values entered in the descriptorLanguageBundle attribute MUST match exactly. The schema causes this issue which makes it unnecessarily hard for both SDD creation tools and SDD runtime tools

Current Schema DescriptorInfoGroup – – DeploymentDescriptor – PackageDescriptor –

Propsed Schema DescriptorInfoGroup – – DeploymentDescriptor – PackageDescriptor –

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 Change The elements identified (circled in red) on the next few charts will be changed from type="sdd-dd:VariableExpressionType“ to type="sdd- dd:ElementValueType” –Note: Allows for other types, e.g. pattern syntax, to be supported

Proposed Schema Change The following could NOT be changed for they are attributes Thus, they are changed to an xsd:string

Proposed Elements to Change Topology

Proposed Elements to Change Resource Constraints - (All places it applies)

Proposed Elements to Change Resulting Resource

Proposed Elements to Change Resulting Change

Proposed Elements to Change Artifacts Note: Applies to all artifact types, e.g. UninstallArtifact

Proposed Elements to Change Requisites

Proposed Specification Change For the attributes on slide 5, the value should be handled as a literal string. The only exception is that if the value starts with “$(“ and ends with “)”, then the value should be treated as a variable reference. 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 Variable Reference – – sp:CIM_ConnectedTo.Protocol – $(prototcolType) – –Literal would have been “JDBC” Wildcard – – Oracle* –Literal would have been “Oracle 9iAS”