index.html 11.3 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>XML Processing Model Requirements</title>

<style type="text/css">
/*<![CDATA[*/
code           { font-family: monospace; }

div.constraint,
div.issue,
div.note,
div.notice     { margin-left: 2em; }

ol.enumar      { list-style-type: decimal; }
ol.enumla      { list-style-type: lower-alpha; }
ol.enumlr      { list-style-type: lower-roman; }
ol.enumua      { list-style-type: upper-alpha; }
ol.enumur      { list-style-type: upper-roman; }


div.exampleInner pre { margin-left: 1em;
                       margin-top: 0em; margin-bottom: 0em}
div.exampleOuter {border: 4px double gray;
                  margin: 0em; padding: 0em}
div.exampleInner { background-color: #d5dee3;
                   border-top-width: 4px;
                   border-top-style: double;
                   border-top-color: #d3d3d3;
                   border-bottom-width: 4px;
                   border-bottom-style: double;
                   border-bottom-color: #d3d3d3;
                   padding: 4px; margin: 0em }
div.exampleWrapper { margin: 4px }
div.exampleHeader { font-weight: bold;
                    margin: 4px}
/*]]>*/
</style>
<link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-WG-NOTE.css" />
</head>
<body>
<div class="head">
<p><a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home" alt="W3C" height="48" width="72" /></a></p>
<h1><a name="title" id="title"></a>XML Processing Model Requirements</h1>
<h2><a name="w3c-doctype" id="w3c-doctype"></a>W3C Working Group Note 05 April 2004</h2>
<dl>
<dt>This version:</dt>
<dd><a href="http://www.w3.org/TR/2004/NOTE-proc-model-req-20040405/">http://www.w3.org/TR/2004/NOTE-proc-model-req-20040405/</a></dd>
<dt>Latest version:</dt>
<dd><a href="http://www.w3.org/TR/proc-model-req/">http://www.w3.org/TR/proc-model-req/</a></dd>
<dt>Editors:</dt>
<dd>Dmitry Lenkov, Oracle Corporation <a href="mailto:dmitry.lenkov@oracle.com">&lt;dmitry.lenkov@oracle.com&gt;</a></dd>
<dd>Norman Walsh, Sun Microsystems, Inc. <a href="mailto:Norman.Walsh@Sun.COM">&lt;Norman.Walsh@Sun.COM&gt;</a></dd>
</dl>
<p>This document is also available in these non-normative formats: <a href="http://www.w3.org/TR/2004/NOTE-proc-model-req-20040405/NOTE-proc-model-req-20040405.xml">XML</a>.</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>&#160;©&#160;2004&#160;<a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.org/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>),
All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>, <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-software">software licensing</a> rules apply.</p>
</div>
<hr />
<div>
<h2><a name="abstract" id="abstract"></a>Abstract</h2>
<p>This document contains requirements for the development of XML Processing Model and Language, which are intended to describe and specify the processing relationships between XML resources.</p>
</div>
<div>
<h2><a name="status" id="status"></a>Status of this Document</h2>
<p><em>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the <a href="http://www.w3.org/TR/">W3C technical reports index</a> at http://www.w3.org/TR/.</em></p>
<p>This document is a <a href="http://www.w3.org/2004/02/Process-20040205/tr.html#WGNote">Working Group Note</a> of the Requirements Document for an XML Processing Model and Language for describing an interoperable way for applications to describe the order in which processes should be applied to XML documents.</p>
<p>This document has been produced by the <a href="http://www.w3.org/XML/Core/">W3C XML Core Working Group</a> as part of the <a href="http://www.w3.org/XML/Activity">XML Activity</a>.</p>
<p>The W3C XML Core Working Group does not plan to continue active work on this document but may update it. Feedback on this document is however welcome and should be sent to <a href="mailto:public-prodmodel-comments@w3.org">public-procmodel-comments@w3.org</a> (<a href="http://lists.w3.org/Archives/Public/public-procmodel-comments/">archive</a>). W3C encourages the community to indicate interest in this document and may dedicate resources to it depending on the feedback.</p>
<p>Publication as a Working Group Note does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.</p>
<p>This document has been produced under the <a href="http://www.w3.org/TR/2002/NOTE-patent-practice-20020124">24 January 2002 CPP</a> as amended by the <a href="http://www.w3.org/2004/02/05-pp-transition">W3C Patent Policy Transition Procedure</a>. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) with respect to this specification should disclose the information in accordance with <a href=
"http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>. Documentation of intellectual property possibly relevant to this specification may be found at the <a href="http://www.w3.org/2002/08/xmlcore-IPR-statements">Working Group's public IPR disclosure page</a>.</p>
</div>
<div class="toc">
<h2><a name="contents" id="contents"></a>Table of Contents</h2>
<p class="toc">1 <a href="#d0e101">Introduction</a><br />
2 <a href="#d0e106">Design Principles</a><br />
3 <a href="#d0e111">Requirements</a><br />
4 <a href="#d0e163">Use cases</a></p>
</div>
<hr />
<div class="body">
<div class="div1">
<h2><a name="d0e101" id="d0e101"></a>1 Introduction</h2>
<p>A large and growing set of specifications describe processes operating on XML documents. Many applications will depend on the use of more than one of these specifications. Considering how implementations of these specifications might interact raises many issues related to interoperability. This specification contains requirements on an XML Processing Model and Language for the description of XML process interactions in order to address these issues. This specification is concerned with the conceptual
model of XML process interactions and the language for the decription of these interactions. This specification is not generally concerned with the implementations of actual XML processes participating in these interactions.</p>
</div>
<div class="div1">
<h2><a name="d0e106" id="d0e106"></a>2 Design Principles</h2>
<p>XML documents in this specification are operated on as information sets. The processes of interest in this specification are those that construct new information sets, inspect, augment, or extract from existing information sets, or transform existing information sets to other, new information sets. Although some applications work with concrete object models that are not identical to the Infoset, it is useful to describe the processing model in terms of the Infoset. In practice, applications will use SAX
event streams, DOM object models, or other representations of XML documents and their infosets.</p>
</div>
<div class="div1">
<h2><a name="d0e111" id="d0e111"></a>3 Requirements</h2>
<ul>
<li>
<p>The language must be rich enough to address practical interoperability concerns.</p>
</li>
<li>
<p>The language should be as small and simple as possible.</p>
</li>
<li>
<p>The language must allow the inputs, outputs, and other parameters of a components to be specified.</p>
</li>
<li>
<p>The language must define the basic minimal set of mandatory input processing options and associated error reporting options required to achieve interoperability.</p>
</li>
<li>
<p>Given a set of components and a set of documents, the language must allow the order of processing to be specified.</p>
</li>
<li>
<p>It should be relatively easy to implement a conformant implementation of the language, but it should also be possible to build a sophisticated implementation that can perform parallel operations, lazy or greedy processing, and other optimizations.</p>
</li>
<li>
<p>The model should be extensible enough so that applications can define new processes and make them a component in a pipeline.</p>
</li>
<li>
<p>The model must provide mechanisms for addressing error handling and fallback behaviors.</p>
</li>
<li>
<p>The model could allow conditional processing so that different components are selected depending on run-time evaluation.</p>
</li>
<li>
<p>The model should not prohibit the existence of streaming pipelines.</p>
</li>
<li>
<p>The model should allow multiple inputs and multiple outputs for a component.</p>
</li>
<li>
<p>The model should allow any data set conforming to one of the W3C standards, such as XML 1.1, XSLT 1.0, XML Query 1.0, etc., to be specified as an input or output of a component.</p>
</li>
<li>
<p>Information should be passed between components in a standard way, for example, as one of the data sets conforming to an industry standard.</p>
</li>
<li>
<p>The language should be expressed in XML. It should be possible to author and manipulate documents expressed in the pipeline language using standard XML tools.</p>
</li>
<li>
<p>The pipeline language should be declarative, not based on APIs.</p>
</li>
<li>
<p>The model should be neutral with respect to implementation language. Just as there is no single language that can process XML exclusively, there should be no single language that can implement the language of this specification exclusively. It should be possible to interoperably exchange pipeline documents across various computing platforms. These computing platforms should not be limited to any particular class of platforms such as clients, servers, distributed computing infrastructures, etc.</p>
</li>
</ul>
</div>
<div class="div1">
<h2><a name="d0e163" id="d0e163"></a>4 Use cases</h2>
<ul>
<li>
<p>Extract MathML fragments from an XHTML document and render them as images. Employ an SVG renderer for SVG glyphs embeded in the MathML.</p>
</li>
<li>
<p>Style an XML document in a browser with one of several different stylesheets without having multiple copies of the document containing different xml-stylesheet directives.</p>
</li>
<li>
<p>Apply a sequence of operations such XInclude, validation, and transformation to a document, aborting if the result or an intermediate stage is not valid.</p>
</li>
<li>
<p>Run a program of your own, with some parameters, on an XML file and display the result in a browser.</p>
</li>
<li>
<p>Allow an application on a handheld device to construct a pipeline, send the pipeline and some data to the server, allow the server to process the pipeline and send the result back.</p>
</li>
</ul>
</div>
</div>
</body>
</html>