Preview

Project

Satisfactory Essays
Open Document
Open Document
1554 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Project
Objectives
The purpose of using schemas The schema languages DTD and XML Schema (and DSD2 and RELAX NG) Regular expressions – a commonly used formalism in schema languages

An Introduction to XML and Web Technologies

Schema Languages

Anders Møller & Michael I. Schwartzbach © 2006 Addison-Wesley
An Introduction to XML and Web Technologies

2

Motivation
We have designed our Recipe Markup Language ...but so far only informally described its syntax How can we make tools that check that an XML document is a syntactically correct Recipe Markup Language document (and thus meaningful)? Implementing a specialized validation tool for Recipe Markup Language is not the solution...
An Introduction to XML and Web Technologies

XML Languages
XML language: a set of XML documents with some semantics

schema: a formal definition of the syntax of an XML language

schema language: a notation for writing schemas

3

An Introduction to XML and Web Technologies

4

1

Validation instance document schema schema processor valid normalized instance document invalid

Why use Schemas?

Formal but human-readable descriptions Data validation can be performed with existing schema processors

error message

An Introduction to XML and Web Technologies

5

An Introduction to XML and Web Technologies

6

General Requirements

Regular Expressions
Commonly used in schema languages to describe sequences of characters or elements Σ: an alphabet (typically Unicode characters or element names) σ∈Σ matches the string σ α? matches zero or one α α* matches zero or more α’s α+ matches one or more α’s α β matches any concatenation of an α and a β α | β matches the union of α and β
7
An Introduction to XML and Web Technologies

Expressiveness Efficiency Comprehensibility

An Introduction to XML and Web Technologies

8

2

Examples
A regular expression describing integers:
0|-?(1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)*

DTD – Document

You May Also Find These Documents Helpful

  • Good Essays

    Project

    • 1773 Words
    • 8 Pages

    In the table below, please list the SLIMs that you have selected as primary foci for your program; provide the strategy (or strategies) that you identified in your strategic plan that align with each of your SLIMs; provide the 2008 baseline percentage for each SLIM from the data source that you are using to measure them and the target for the SLIMs that you have selected. When you complete your data collection in 2010 and 2012, provide the updated percentages for your SLIMs. As you develop your annual workplan, refer back to this worksheet to make sure that each of your SLIMs and their aligned strategies are included under the appropriate goals.…

    • 1773 Words
    • 8 Pages
    Good Essays
  • Satisfactory Essays

    project

    • 317 Words
    • 1 Page

    Assessment by staff, of home type classification (1-5), is a composite index of the home size, age, exposure to wind, level of insulation, and furnace type. A low home_factor index implies a lower oil consumption per degree day.• Use data in DUPREE.XLS to see whether a statistically reliable oil consumption model can be estimated from the data.…

    • 317 Words
    • 1 Page
    Satisfactory Essays
  • Better Essays

    project

    • 914 Words
    • 4 Pages

    You must define the asset or policy with sufficient detail to justify your assessment. Your assessment must include:…

    • 914 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    i. The set of all strings consisting of one or more as, with a comma between each a and the next. (There should be no comma before the first or after the last.)…

    • 470 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Project

    • 2624 Words
    • 11 Pages

    Back to TopYou are a senior Project Manager for the XYZ Computers Company. XYZ Computers is a computer company, which build personal and business computer solutions.…

    • 2624 Words
    • 11 Pages
    Good Essays
  • Good Essays

    Project

    • 5505 Words
    • 23 Pages

    Ben 10 is an American animated television series. The show revolves around Ben Tennyson, his cousin Gwen, and their grandfather Max. During the start of their summer camping trip, Ben goes stomping off into the woods after another fight with Gwen, whom he is not happy to have along on the trip, and finds an alien pod on the ground. When he examines it, he finds a mysterious, watch-like device, called the Omnitrix, stored inside. |…

    • 5505 Words
    • 23 Pages
    Good Essays
  • Good Essays

    Barker's Notation signifies the properties of relationships including cardinality and optionality, exclusion, recursion and the use of abstraction.…

    • 336 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    project

    • 6717 Words
    • 36 Pages

    3) A simplified scoring model addresses all the weakness of a checklist model for project screening.…

    • 6717 Words
    • 36 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Project

    • 6904 Words
    • 28 Pages

    1) Operations management refers to the direction and control of inputs that transform processes into products and services.…

    • 6904 Words
    • 28 Pages
    Satisfactory Essays
  • Satisfactory Essays

    project

    • 621 Words
    • 3 Pages

    There are seven fact finding methods. We use three of them.Observation of the work environment,Interview and Questionnaires.…

    • 621 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    schema.org is a collaboration by Google, Microsoft, and Yahoo! to improve the web by creating a structured data markup schema supported by major search engines. On-page markup helps search engines understand the information on webpages and provide richer results. A shared markup vocabulary makes it easier for webmasters to decide on a markup schema and get maximum benefit for their efforts.…

    • 3561 Words
    • 15 Pages
    Good Essays
  • Satisfactory Essays

    Project

    • 262 Words
    • 2 Pages

    A candy retail store may typically include a wide range of candies, nuts, chocolates and chewing gum. Some stores may also offer readymade candy gift packs and candy bouquet baskets. Beverages, mineral water and soda fountains are also popular and complement candies, so these options may be considered as a part of the candy store business…

    • 262 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    project

    • 557 Words
    • 3 Pages

    Hotel ORGANIZATION CHART FINANCE & ACCOUNTING CONTROLLER ASST. FINANCIAL CONTROLLER EDP MANAGER ASST. EDP MANAGER GENERAL LEDGER GENERAL CASHIER CASHIER SUPERVISOR OUTLET CASHIER ACCT. PAYABLE PURCHASING MANAGER ACCOUNTING SUPERVISOR INCOME AUDITOR COST CONTROL NIGHT AUDITOR F&B CONTROLLER STOREMAN RECEIVER Bali Hospitality Professional Service www.balihospitalityservices.webs.com F&A CONTROLLER SECRETARY CREDIT SUPERVISOR A/R CLERK PURCASING CLERK BUYER Hotel ORGANIZATION CHART CHIEF ENGINEERING ASST.…

    • 557 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Project

    • 6833 Words
    • 28 Pages

    The use of machinery vibration and technology advances that have been developed over the year makes it possible not only to detect when a machine is developing a problem, but to identify its specific nature of problem for the scheduled correction. When a machine fails or breakdown, the consequences can range from annoyance to financial distortion or personal injury and possibly loss of life. Thus vibration analysis is of great importance and it not only minimizes the need of extensive experience, but also makes it possible to detect the developing problems which are outside the range of human senses to touch and hearing. Here the introduction of…

    • 6833 Words
    • 28 Pages
    Powerful Essays
  • Good Essays

    Project

    • 1003 Words
    • 5 Pages

    The railway corporation has its headquarters at the county’s capital and has a number of branches in strategic cities all over the country. For this reason, the main centre accountable for matters pertaining travelling by train are at the capital centre and the various town centers with train stations.…

    • 1003 Words
    • 5 Pages
    Good Essays

Related Topics