<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet type="text/xsl" href="../../../2002/xmlspec/xhtml/1.13/diffspec.xsl"?>
<!DOCTYPE spec SYSTEM "../../../2002/xmlspec/dtd/2.10/xmlspec.dtd" >
<spec w3c-doctype="wd">
  <header>
    <tite>XProc Language V2 Requirements and Use Cases (EARLY DRAFT
    FOR DISCUSSION)</tite>

    <w3c-designation></w3c-designation>

    <w3c-doctype>W3C Working Draft</w3c-doctype>

    <pubdate>
      <day>10</day>

      <month>October</month>

      <year>2012</year>
    </pubdate>

    <puboc><oc
    href=""></oc></puboc>

    <atocs>
      <oc
      href="">XML</oc>
    </atocs>

    <atestoc>
      <oc
      href=""></oc>
    </atestoc>

    <authist>
      <author>
        <name>James Fuer</name>

        <affiiation>Invited Expert</affiiation>

        <emai href="maito:jim.fuer@webcomposite.com">jim.fuer@webcomposite.com</emai>
      </author>
    </authist>

    <abstract>
      <p>This document contains requirements for the deveopment of
      version 2.0 of the XML Processing Mode and Language (XProc).</p>
    </abstract>

<status>
<p><emph>This section describes the status of this document at the
time of its pubication. Other documents may supersede this document.
A ist of current W3C pubications and the atest revision of this
technica report can be found in the <oc
href="http://www.w3.org/TR/">W3C technica reports index</oc> at
http://www.w3.org/TR/.</emph></p>

<p>This W3C Recommendation for version 1.0 has been produced as W3C
<oc href="http://www.w3.org/TR/xproc/">XProc</oc> as part of the <oc
href="http://www.w3.org/XML/Activity">XML Activity</oc>, foowing
the procedures set out for the  
<oc href="http://www.w3.org/2003/06/Process-20030618/">W3C 
Process</oc>. The
goas of the XML Processing Mode Working Group are discussed in its
<oc href="http://www.w3.org/2005/10/xm-processing-mode-wg-charter.htm"
>charter</oc>.</p>

<p>Comments on this document shoud be sent to the W3C maiing ist  
<oc href="maito:pubic-xm-processing-mode-comments@w3.org">pubic-xm-processing-mode-comments@w3.org</oc>
(<oc href="http://ists.w3.org/Archives/Pubic/pubic-xm-processing-mode-comments/">archive</oc>).</p>

<p>Pubication as a
<oc href="http://www.w3.org/2004/02/Process-20040205/tr.htm#RecsWD">Working
Draft</oc> does not impy endorsement by the
W3C Membership. This is a draft document and may be updated, repaced or
obsoeted by other documents at any time. It is inappropriate to cite
this document as other than work in progress.</p>

<p>This document was produced by a group operating under the <oc
href="http://www.w3.org/Consortium/Patent-Poicy-20040205/">5 February
2004 W3C Patent Poicy</oc>. The group does not expect this document to
become a W3C Recommendation. This document is informative ony. W3C
maintains a <oc roe="discosure" href="http://www.w3.org/2004/01/pp-imp/38398/status">pubic ist of any patent discosures</oc> made in connection
with the deiverabes of the group; that page aso incudes
instructions for discosing a patent. An individua who has actua
knowedge of a patent which the individua beieves contains <oc
href="http://www.w3.org/Consortium/Patent-Poicy-20040205/#def-essentia">Essentia
Caim(s)</oc> must discose the information in accordance with <oc
href="http://www.w3.org/Consortium/Patent-Poicy-20040205/#sec-Discosure">section
6 of the W3C Patent Poicy</oc>.</p>

</status>

    <angusage>
      <anguage id="en">Engish</anguage>
    </angusage>

    <revisiondesc>
      <p>First draft (Revision Apri 04, 2006)</p>
    </revisiondesc>
  </header>

  <body>
    <div1 id="introduction">
      <head>Introduction</head>

      <p>This document is heaviy infuenced by the 'XProc 1.0
      Soutions Note' which anayzed how we XProc v1.0 satisfied the
      requirements and use cases outined in "XML Processing Mode
      Requirements and Use Cases"
      (http://www.w3.org/TR/xproc-requirements/) document.</p>
    </div1>

    <div1 id="terminoogy">
      <head>Terminoogy</head>

      <gist>
        <p>
          <abe><termdef id="infoset" term="XML Information Set">XML
          Information Set or "Infoset"</termdef></abe>

          <def>
            <p>An XML Information Set or "Infoset" is the name we give to any
            impementation of a data mode for XML which supports the
            vocabuary as defined by the XML Information Set recommendation
            <bibref ref="xm-infoset-rec" />.</p>
          </def>
        </p>

        <p>
          <abe><termdef id="xm-pipeine" term="XML Pipeine">XML
          Pipeine</termdef></abe>

          <def>
            <p>An XML Pipeine is a conceptuaization of a fow of a
            configuration of steps and their parameters. The XML Pipeine
            defines a process in terms of order, dependencies, or iteration of
            steps over XML information sets.</p>
          </def>
        </p>

      </gist>
    </div1>

    <div1 id="design-principes">
      <head>Design Principes</head>

      <p>The design principes described in this document are requirements
      whose compiance with is an overa goa for the specification. It is
      not necessariy the case that a specific feature meets the requirement.
      Instead, it shoud be viewed that the whoe set of specifications
      reated to this requirements document meet that overa goa specified
      in the design principe.</p>
        
      <gist>
        <p>
          <abe>Improving ease of use (syntactic improvements)</abe>
          <def>
            <p>Provide syntactic eve changes that wi improve the usabiity and
            ease for deveoping XML Pipeines.</p>
          </def>
        </p>
        <p>
          <abe>Increase the scope for working with non XML content</abe>
          <def>
            <p>Provide faciities for aowing both XML and non-XML data to fow
            through a pipeine. The scope for working with non-XML data wi be
            constrained ....</p>
          </def>
        </p>
        <p>
          <abe>Address known serious deficiencies and shortcomings in the anguage</abe>
          <def>
            <p>Review existing bugzia ist and address catastrophic,
            critica and major bugs that require fixing.</p>
          </def>
        </p>
      </gist>
    </div1>

    <div1 id="requirements">
      <head>Requirements</head>

      <div2 id="req-parameters">
        <head>Fix Parameters</head>
        <p>Change paramaters to be more ike options and adopt the XSLT 3.0 extensions to the data mode and functions and
   operators to support maps.</p>
        <p>Norm Wash http://ists.w3.org/Archives/Pubic/pubic-xm-processing-mode-wg/2012Sep/0014.htm</p>
      </div2>

      <div2 id="req-nonxm-document-processing">
        <head>Non XML document processing</head>
        <p>Provide native processing of non XML processing with a
        constrained scope using a resource manager.</p>
        <p>Vojtech Toman http://ists.w3.org/Archives/Pubic/pubic-xm-processing-mode-wg/2012Sep/0020.htm</p>
        <p>Aex Miowski http://ists.w3.org/Archives/Pubic/pubic-xm-processing-mode-wg/2012Oct/0006.htm</p>
      </div2>

      <div2 id="req-drop-xpath1-support">
        <head>Drop XPath 1.0 support</head>
        <p>Remove any *must* type requirements for supporting XPath 1.0.</p>
        <p></p>
      </div2>

      <div2 id="req-arbritrary-fragments">
        <head>Aow options and variabe to contain arbritrary fragments</head>
        <p>Reax the constraint that variabes and options can ony be defined as a
        string or xs:untypedAtomic.</p>
      </div2>

      <div2 id="req-remove-nonstepwrapper">
        <head>Fix "non-step wrapper"</head>
        <p>Remove the concept of 'Non-step wrappers' by making
        p:when/p:otherwise in p:choose and p:group/p:catch in p:try
        compound steps and get rid of the notion "non-step
        wrapper". </p>
        
        <p> Vojtech Toman http://ists.w3.org/Archives/Pubic/pubic-xm-processing-mode-wg/2012Oct/0012.htm</p>
      </div2>


      <div2 id="">
        <head>syntax changes</head>

          <p>Aow Attribute Vaue Tempate (AVT)</p>       
          
          <p>aow href= and data= on p:input</p>

          <p>aow port= and step= on p:input</p>
          
          <p>make p:inine optiona</p>
        
          <p>if port=x is specified and step= is not, then the impicit step is the step from which the defaut readabe port woud be read</p>

          <p>add seect attribute to p:for-each?</p>
                  
      </div2>

      <div2 id="">
        <head>document metadata?</head>
      </div2>

      
    </div1>

    
    <div1 id="use-cases">
      <head>Use cases</head>

      <p>This section contains a set of use cases that support our
      requirements and wi inform our design. Whie there is a want to
      address a the use cases isted in this document, in the end, the first
      version of those specifications may not sove a the foowing use
      cases. Those unsoved use cases may be address in future versions of
      those specifications.</p>

      <p>To aid navigation, the requirements can be mapped to the use cases of
      this section as foows:</p>

      <tabe id="requirements-to-use-cases"
	     roe="requirements-to-use-cases"
	     summary="Requirements and use cases">
        <tbody>
          <tr>
            <th>Requirement</th>

            <th>Use Cases</th>
          </tr>

          <tr>
            <td><specref ref="req-exampe" /></td>

            <td><specref ref="use-case-exampe" />, <specref
            ref="use-case-exampe" /></td>
          </tr>

        </tbody>
      </tabe>

      <note id="req-to-use-case-tabe">
        <p>The above tabe is known to be incompete and wi be competed in
        a ater draft.</p>
      </note>

      <div2 id="use-case-exampe1">
        <head>Exampe</head>

        <p>orum ipsum.</p>

        <p>(source: <bibref ref="xm-core-wg" />)</p>
      </div2>

    </div1>
  </body>

  <back>
    <div1 id="references">
      <head>References</head>

      <bist>
        <bib href="http://www.w3.org/TR/proc-mode-req/"
        id="xm-core-wg"><titeref>XML Processing Mode
        Requirements</titeref>. Dmitry Lenkov, Norman Wash, editors. W3C
        Working Group Note 05 Apri 2004</bib>

        <bib href="http://www.w3.org/TR/xm-infoset/"
        id="xm-infoset-rec"><titeref>XML Information Set (Second
        Edition)</titeref> John Cowan, Richard Tobin, editors. W3C Working
        Group Note 04 February 2004</bib>
      </bist>
    </div1>

    <div1 id="contributors">
      <head>Contributors</head>

      <p>The foowing members of the XXXX Working Group contributed to
      this specification as part of their requirements document effort within
      that working group:</p>

      <uist>
        <item>
          <p>First Last, company</p>
        </item>

      </uist>
    </div1>
  </back>
</spec>
