[xml/sgml-commit] r1643 - /packages/relax-ng/trunk/debian/patches/html_base_local.dpatch

dleidert-guest at users.alioth.debian.org dleidert-guest at users.alioth.debian.org
Wed Nov 11 22:05:41 UTC 2009


Author: dleidert-guest
Date: Wed Nov 11 22:05:40 2009
New Revision: 1643

URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=1643
Log:
* debian/patches/html_base_local.dpatch: Added description.


Added:
    packages/relax-ng/trunk/debian/patches/html_base_local.dpatch   (with props)

Added: packages/relax-ng/trunk/debian/patches/html_base_local.dpatch
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/relax-ng/trunk/debian/patches/html_base_local.dpatch?rev=1643&op=file
==============================================================================
--- packages/relax-ng/trunk/debian/patches/html_base_local.dpatch (added)
+++ packages/relax-ng/trunk/debian/patches/html_base_local.dpatch Wed Nov 11 22:05:40 2009
@@ -1,0 +1,238 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## html_base_local.dpatch by Daniel Leidert (dale) <daniel.leidert at wgdd.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: The files link to external resources. Use local references at least for
+## DP:   files shipped with the package.
+
+ at DPATCH@
+diff -urNad trunk~/relaxng-1.0/html/compact-20021121-errata.html trunk/relaxng-1.0/html/compact-20021121-errata.html
+--- trunk~/relaxng-1.0/html/compact-20021121-errata.html	2006-07-07 19:28:57.000000000 +0200
++++ trunk/relaxng-1.0/html/compact-20021121-errata.html	2009-11-11 22:57:14.000000000 +0100
+@@ -13,7 +13,7 @@
+ <h1 class="title">RELAX NG Compact Syntax Errata</h1>
+ 
+ <p>This document lists errata in <a
+-href="http://www.oasis-open.org/committees/relax-ng/compact-20021121.html"
++href="compact-20021121.html"
+ >RELAX NG Compact Syntax</a>.</p>
+ 
+ <hr>
+diff -urNad trunk~/relaxng-1.0/html/compact-20021121.html trunk/relaxng-1.0/html/compact-20021121.html
+--- trunk~/relaxng-1.0/html/compact-20021121.html	2009-11-11 21:25:14.000000000 +0100
++++ trunk/relaxng-1.0/html/compact-20021121.html	2009-11-11 22:57:14.000000000 +0100
+@@ -25,7 +25,7 @@
+ PURPOSE.</p></div></div><div><hr><div class="abstract"><h2><a name="d0e61"></a>Abstract</h2><p>This document specifies a compact, non-XML syntax for [<a href="#spec">RELAX NG</a>].</p></div></div><div><div class="legalnotice"><h2>Status of this Document</h2><p>This Committee Specification was approved for publication by the
+ OASIS RELAX NG technical committee. It is a stable document which
+ represents the consensus of the committee. Comments on this document
+-may be sent to <a href="mailto:relax-ng-comment at lists.oasis-open.org" target="_top">relax-ng-comment at lists.oasis-open.org</a>.</p><p>A list of known errors in this document is available at <a href="http://www.oasis-open.org/committees/relax-ng/compact-20021121-errata.html" target="_top">http://www.oasis-open.org/committees/relax-ng/compact-20021121-errata.html</a>.</p></div></div></div><div class="toc"><h2>Table of Contents</h2><dl><dt>1. <a href="#d0e74">Introduction</a></dt><dt>2. <a href="#syntax">Syntax</a></dt><dt>3. <a href="#d0e171">Lexical structure</a></dt><dt>4. <a href="#d0e205">Declarations</a></dt><dt>5. <a href="#annotations">Annotations</a></dt><dd><dl><dt>5.1. <a href="#d0e331">Initial annotations</a></dt><dt>5.2. <a href="#d0e339">Documentation shorthand</a></dt><dt>5.3. <a href="#d0e377">Following annotations</a></dt><dt>5.4. <a href="#d0e385">Grammar annotations</a></dt></dl></dd><dt>6. <a href="#d0e401">Conformance</a></dt><dd><dl><dt>6.1. <a href="#d0e406">Validator</a></dt><dt>6.2. <a href="#d0e419">Structure preserving translator</a></dt><dt>6.3. <a href="#d0e456">Non-structure preserving translator</a></dt></dl></dd></dl><h3>Appendixes</h3><dl><dt>A. <a href="#formal">Formal description</a></dt><dd><dl><dt>1. <a href="#formal-syntax">Syntax</a></dt><dt>2. <a href="#d0e3892">Lexical structure</a></dt><dd><dl><dt>2.1. <a href="#d0e3901">Character encoding</a></dt><dt>2.2. <a href="#d0e3915">BOM stripping</a></dt><dt>2.3. <a href="#d0e3920">Newline normalization</a></dt><dt>2.4. <a href="#d0e3937">Escape interpretation</a></dt><dt>2.5. <a href="#d0e4256">Tokenization</a></dt></dl></dd></dl></dd><dt>B. <a href="#compact-relax-ng">Compact syntax RELAX NG schema for RELAX NG (Non-Normative)</a></dt><dt><a href="#d0e4913">References</a></dt></dl></div><hr><div class="section" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="d0e74"></a>1.&nbsp;Introduction</h2></div></div><p>This specification describes a compact, non-XML syntax for [<a href="#spec">RELAX NG</a>].</p><p>The goals of this syntax are to:</p><div class="itemizedlist"><ul type="disc"><li><a name="d0e84"></a>maximize readability;</li><li><a name="d0e87"></a>support all features of RELAX NG; it must be possible
++may be sent to <a href="mailto:relax-ng-comment at lists.oasis-open.org" target="_top">relax-ng-comment at lists.oasis-open.org</a>.</p><p>A list of known errors in this document is available at <a href="compact-20021121-errata.html" target="_top">http://www.oasis-open.org/committees/relax-ng/compact-20021121-errata.html</a>.</p></div></div></div><div class="toc"><h2>Table of Contents</h2><dl><dt>1. <a href="#d0e74">Introduction</a></dt><dt>2. <a href="#syntax">Syntax</a></dt><dt>3. <a href="#d0e171">Lexical structure</a></dt><dt>4. <a href="#d0e205">Declarations</a></dt><dt>5. <a href="#annotations">Annotations</a></dt><dd><dl><dt>5.1. <a href="#d0e331">Initial annotations</a></dt><dt>5.2. <a href="#d0e339">Documentation shorthand</a></dt><dt>5.3. <a href="#d0e377">Following annotations</a></dt><dt>5.4. <a href="#d0e385">Grammar annotations</a></dt></dl></dd><dt>6. <a href="#d0e401">Conformance</a></dt><dd><dl><dt>6.1. <a href="#d0e406">Validator</a></dt><dt>6.2. <a href="#d0e419">Structure preserving translator</a></dt><dt>6.3. <a href="#d0e456">Non-structure preserving translator</a></dt></dl></dd></dl><h3>Appendixes</h3><dl><dt>A. <a href="#formal">Formal description</a></dt><dd><dl><dt>1. <a href="#formal-syntax">Syntax</a></dt><dt>2. <a href="#d0e3892">Lexical structure</a></dt><dd><dl><dt>2.1. <a href="#d0e3901">Character encoding</a></dt><dt>2.2. <a href="#d0e3915">BOM stripping</a></dt><dt>2.3. <a href="#d0e3920">Newline normalization</a></dt><dt>2.4. <a href="#d0e3937">Escape interpretation</a></dt><dt>2.5. <a href="#d0e4256">Tokenization</a></dt></dl></dd></dl></dd><dt>B. <a href="#compact-relax-ng">Compact syntax RELAX NG schema for RELAX NG (Non-Normative)</a></dt><dt><a href="#d0e4913">References</a></dt></dl></div><hr><div class="section" lang="en"><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="d0e74"></a>1.&nbsp;Introduction</h2></div></div><p>This specification describes a compact, non-XML syntax for [<a href="#spec">RELAX NG</a>].</p><p>The goals of this syntax are to:</p><div class="itemizedlist"><ul type="disc"><li><a name="d0e84"></a>maximize readability;</li><li><a name="d0e87"></a>support all features of RELAX NG; it must be possible
+ to translate a schema from the XML syntax to the compact syntax and
+ back without losing significant information;</li><li><a name="d0e90"></a>support separate translation; a RELAX NG schema may be
+ spread amongst multiple files; it must be possible to represent each
+@@ -595,9 +595,9 @@
+ foreignAttribute = attribute * - (rng:*|local:*) { text }
+ anyElement = element * { (anyAttribute | text | anyElement)* }
+ anyAttribute = attribute * { text }</pre></div><div class="bibliography"><div class="titlepage"><div><h2 class="title"><a name="d0e4913"></a>References</h2></div></div><div class="bibliodiv"><h3 class="title">Normative</h3><dl><dt>Compatibility</dt><dd class="bibliomixed"><a name="compat"></a>James Clark, Makoto
+-MURATA, editors.  <span class="citetitle"><i><a href="http://www.oasis-open.org/committees/relax-ng/compatibility.html" target="_top">RELAX NG
++MURATA, editors.  <span class="citetitle"><i><a href="compatibility.html" target="_top">RELAX NG
+ DTD Compatibility</a></i></span>.  OASIS, 2001.</dd><dt>RELAX NG</dt><dd class="bibliomixed"><a name="spec"></a>James Clark, Makoto
+-MURATA, editors.  <span class="citetitle"><i><a href="http://www.oasis-open.org/committees/relax-ng/spec.html" target="_top">RELAX NG
++MURATA, editors.  <span class="citetitle"><i><a href="spec.html" target="_top">RELAX NG
+ Specification</a></i></span>.  OASIS, 2001.</dd><dt>RFC 2396</dt><dd class="bibliomixed"><a name="rfc2396"></a>T. Berners-Lee, R. Fielding, L. Masinter.
+ <span class="citetitle"><i><a href="http://www.ietf.org/rfc/rfc2396.txt" target="_top">RFC 2396:
+ Uniform Resource Identifiers (URI): Generic
+@@ -615,7 +615,7 @@
+ <span class="citetitle"><i><a href="http://www.w3.org/TR/REC-xml-names/" target="_top">Namespaces in
+ XML</a></i></span>.
+ W3C (World Wide Web Consortium), 1999.</dd></dl></div><div class="bibliodiv"><h3 class="title">Non-Normative</h3><dl><dt>Guidelines</dt><dd class="bibliomixed"><a name="guidelines"></a>James Clark, Kohsuke
+-KAWAGUCHI, editors.  <span class="citetitle"><i><a href="http://www.oasis-open.org/committees/relax-ng/xsd.html" target="_top">Guidelines
++KAWAGUCHI, editors.  <span class="citetitle"><i><a href="xsd.html" target="_top">Guidelines
+ for using W3C XML Schema Datatypes with RELAX NG</a></i></span>.
+ OASIS, 2001.</dd><dt>RFC 2046</dt><dd class="bibliomixed"><a name="rfc2046"></a>N. Freed,
+ N. Borenstein.  <span class="citetitle"><i><a href="http://www.ietf.org/rfc/rfc2046.txt" target="_top">RFC 2046: Multipurpose
+diff -urNad trunk~/relaxng-1.0/html/compatibility-20011203.html trunk/relaxng-1.0/html/compatibility-20011203.html
+--- trunk~/relaxng-1.0/html/compatibility-20011203.html	2009-11-11 21:25:14.000000000 +0100
++++ trunk/relaxng-1.0/html/compatibility-20011203.html	2009-11-11 22:57:14.000000000 +0100
+@@ -25,7 +25,7 @@
+ are not supported directly by RELAX NG.</p></div></div><div><div class="legalnotice"><h2>Status of this Document</h2><p>This Committee Specification was approved for publication by the
+ OASIS RELAX NG technical committee.  It is a stable document which
+ represents the consensus of the committee.  Comments on this document
+-may be sent to <a href="mailto:relax-ng-comment at lists.oasis-open.org" target="_top">relax-ng-comment at lists.oasis-open.org</a>.</p><p>A list of known errors in this document is available at <a href="http://www.oasis-open.org/committees/relax-ng/compatibility-20011203-errata.html" target="_top">http://www.oasis-open.org/committees/relax-ng/compatibility-20011203-errata.html</a>.</p></div></div></div><div class="toc"><h2>Table of Contents</h2><dl><dt>1 <a href="#IDACDYR">Introduction</a></dt><dd><dl><dt>1.1 <a href="#IDABEYR">Example</a></dt><dt>1.2 <a href="#IDAPEYR">Infoset modification</a></dt><dt>1.3 <a href="#IDA0EYR">Ambiguity</a></dt></dl></dd><dt>2 <a href="#IDA2FYR">Conformance</a></dt><dt>3 <a href="#default-value">Attribute default values</a></dt><dt>4 <a href="#id">ID, IDREF and IDREFS</a></dt><dt>5 <a href="#IDAC1YR">Documentation</a></dt></dl><h3>Appendixes</h3><dl><dt>A <a href="#IDAP2YR">RELAX NG schema</a></dt><dt><a href="#IDA12YR">References</a></dt></dl></div><hr><div class="section"><a name="IDACDYR"></a><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="IDACDYR"></a>1. Introduction</h2></div></div><p>RELAX NG <a href="#spec" title="[RELAX NG]">[RELAX NG]</a> provides two mechanisms for
++may be sent to <a href="mailto:relax-ng-comment at lists.oasis-open.org" target="_top">relax-ng-comment at lists.oasis-open.org</a>.</p><p>A list of known errors in this document is available at <a href="compatibility-20011203-errata.html" target="_top">http://www.oasis-open.org/committees/relax-ng/compatibility-20011203-errata.html</a>.</p></div></div></div><div class="toc"><h2>Table of Contents</h2><dl><dt>1 <a href="#IDACDYR">Introduction</a></dt><dd><dl><dt>1.1 <a href="#IDABEYR">Example</a></dt><dt>1.2 <a href="#IDAPEYR">Infoset modification</a></dt><dt>1.3 <a href="#IDA0EYR">Ambiguity</a></dt></dl></dd><dt>2 <a href="#IDA2FYR">Conformance</a></dt><dt>3 <a href="#default-value">Attribute default values</a></dt><dt>4 <a href="#id">ID, IDREF and IDREFS</a></dt><dt>5 <a href="#IDAC1YR">Documentation</a></dt></dl><h3>Appendixes</h3><dl><dt>A <a href="#IDAP2YR">RELAX NG schema</a></dt><dt><a href="#IDA12YR">References</a></dt></dl></div><hr><div class="section"><a name="IDACDYR"></a><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="IDACDYR"></a>1. Introduction</h2></div></div><p>RELAX NG <a href="#spec" title="[RELAX NG]">[RELAX NG]</a> provides two mechanisms for
+ extensibility:</p><div class="itemizedlist"><ul><li><a name="IDALDYR"></a>RELAX NG schemas can reference external
+ libraries of datatypes;</li><li><a name="IDAODYR"></a>in a RELAX NG schema, RELAX NG-defined elements can be
+ annotated with child elements and attributes from other
+@@ -413,10 +413,10 @@
+ 
+ &lt;/grammar&gt;
+ </pre></div><div id="IDA12YR" class="bibliography"><div class="titlepage"><div><h2 class="title"><a name="IDA12YR"></a>References</h2></div></div><dl><dt>Guidelines</dt><dd id="guidelines" class="bibliomixed"><a name="guidelines"></a>James Clark, Kohsuke
+-KAWAGUCHI, editors.  <span class="citetitle"><i><a href="http://www.oasis-open.org/committees/relax-ng/xsd.html" target="_top">Guidelines
++KAWAGUCHI, editors.  <span class="citetitle"><i><a href="xsd.html" target="_top">Guidelines
+ for using W3C XML Schema Datatypes with RELAX NG</a></i></span>.
+ OASIS, 2001.</dd><dt>RELAX NG</dt><dd id="spec" class="bibliomixed"><a name="spec"></a>James Clark, Makoto
+-MURATA, editors.  <span class="citetitle"><i><a href="http://www.oasis-open.org/committees/relax-ng/spec.html" target="_top">RELAX NG
++MURATA, editors.  <span class="citetitle"><i><a href="spec.html" target="_top">RELAX NG
+ Specification</a></i></span>.  OASIS, 2001.</dd><dt>W3C XML Schema Datatypes</dt><dd id="xmlschema-2" class="bibliomixed"><a name="xmlschema-2"></a>Paul V. Biron, Ashok Malhotra, editors.
+ <span class="citetitle"><i><a href="http://www.w3.org/TR/xmlschema-2/" target="_top">XML Schema Part 2: Datatypes</a></i></span>.
+ W3C (World Wide Web Consortium), 2001.</dd><dt>XML 1.0</dt><dd id="xml-rec" class="bibliomixed"><a name="xml-rec"></a>Tim Bray,
+diff -urNad trunk~/relaxng-1.0/html/spec-20011203-errata.html trunk/relaxng-1.0/html/spec-20011203-errata.html
+--- trunk~/relaxng-1.0/html/spec-20011203-errata.html	2009-11-11 21:25:14.000000000 +0100
++++ trunk/relaxng-1.0/html/spec-20011203-errata.html	2009-11-11 22:57:14.000000000 +0100
+@@ -14,7 +14,7 @@
+ <h1 class="title">RELAX NG Specification Errata</h1>
+ 
+ <p>This document lists errata in the <a
+-href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html"
++href="spec-20011203.html"
+ >RELAX NG Specification</a>.</p>
+ 
+ <p>The errata are numbered, classified as Substantive, Editorial or Clarification and listed in reverse chronological order of their date of publication. 
+@@ -24,7 +24,7 @@
+ 
+ <h3>E7 (editorial)</h3>
+ 
+-<p><a href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html#IDAGHZR">Section 4.15</a></p>
++<p><a href="spec-20011203.html#IDAGHZR">Section 4.15</a></p>
+ 
+ <div class="instruction">
+ <P>Replace "transformed into a choice between <tt>oneOrMore</tt> and
+@@ -41,7 +41,7 @@
+ 
+ <h3>E6 (editorial)</h3>
+ 
+-<p><a href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html#IDAQGZR">Section 4.14</a></p>
++<p><a href="spec-20011203.html#IDAQGZR">Section 4.14</a></p>
+ 
+ <div class="instruction">
+ <P>Replace "transformed into a choice with <tt>empty</tt>" 
+@@ -55,7 +55,7 @@
+ 
+ <h3>E5 (editorial)</h3>
+ 
+-<p><a href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html#IDAJ2YR">Section 4.6</a></p>
++<p><a href="spec-20011203.html#IDAJ2YR">Section 4.6</a></p>
+ 
+ <div class="instruction">
+ <p>Replace
+@@ -69,7 +69,7 @@
+ 
+ <h3>E4 (editorial)</h3>
+ 
+-<p><a href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html#IDAG3YR">Section 4.7</a></p>
++<p><a href="spec-20011203.html#IDAG3YR">Section 4.7</a></p>
+ 
+ <div class="instruction">
+ <p>Replace
+@@ -83,7 +83,7 @@
+ 
+ <h3>E3 (sustantiative)</h3>
+ 
+-<p><a href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html#IDA5MCS">Appendix A</a></p>
++<p><a href="spec-20011203.html#IDA5MCS">Appendix A</a></p>
+ 
+ <div class="instruction">
+ <p>Replace</p>
+@@ -133,7 +133,7 @@
+ 
+ <h3>E2 (substantive)</h3>
+ 
+-<p><a href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html#IDA5MCS">Appendix A</a></p>
++<p><a href="spec-20011203.html#IDA5MCS">Appendix A</a></p>
+ 
+ <div class="instruction">
+ <p>Replace</p>
+@@ -166,7 +166,7 @@
+ <h3>E1 (editorial)</h3>
+ 
+ <p><a
+-href="http://www.oasis-open.org/committees/relax-ng/spec-20011203.html#full-syntax-example">Section 3.1</a></p>
++href="spec-20011203.html#full-syntax-example">Section 3.1</a></p>
+ 
+ <div class="instruction">
+ <p>In the example, replace <code>&lt;/a:document&gt;</code> by
+diff -urNad trunk~/relaxng-1.0/html/spec-20011203.html trunk/relaxng-1.0/html/spec-20011203.html
+--- trunk~/relaxng-1.0/html/spec-20011203.html	2009-11-11 21:25:14.000000000 +0100
++++ trunk/relaxng-1.0/html/spec-20011203.html	2009-11-11 22:57:14.000000000 +0100
+@@ -25,7 +25,7 @@
+ an XML document.</p></div></div><div><div class="legalnotice"><h2>Status of this Document</h2><p>This Committee Specification was approved for publication by the
+ OASIS RELAX NG technical committee. It is a stable document which
+ represents the consensus of the committee. Comments on this document
+-may be sent to <a href="mailto:relax-ng-comment at lists.oasis-open.org" target="_top">relax-ng-comment at lists.oasis-open.org</a>.</p><p>A list of known errors in this document is available at <a href="http://www.oasis-open.org/committees/relax-ng/spec-20011203-errata.html" target="_top">http://www.oasis-open.org/committees/relax-ng/spec-20011203-errata.html</a>.</p></div></div></div><div class="toc"><h2>Table of Contents</h2><dl><dt>1 <a href="#IDAGDYR">Introduction</a></dt><dt>2 <a href="#data-model">Data model</a></dt><dd><dl><dt>2.1 <a href="#data-model-example">Example</a></dt></dl></dd><dt>3 <a href="#full-syntax">Full syntax</a></dt><dd><dl><dt>3.1 <a href="#full-syntax-example">Example</a></dt></dl></dd><dt>4 <a href="#simplification">Simplification</a></dt><dd><dl><dt>4.1 <a href="#IDARXYR">Annotations</a></dt><dt>4.2 <a href="#IDADYYR">Whitespace</a></dt><dt>4.3 <a href="#IDAXYYR"><tt>datatypeLibrary</tt> attribute</a></dt><dt>4.4 <a href="#IDA0ZYR"><tt>type</tt> attribute of <tt>value</tt> element</a></dt><dt>4.5 <a href="#href"><tt>href</tt> attribute</a></dt><dt>4.6 <a href="#IDAJ2YR"><tt>externalRef</tt> element</a></dt><dt>4.7 <a href="#IDAG3YR"><tt>include</tt> element</a></dt><dt>4.8 <a href="#IDAEAZR"><tt>name</tt> attribute of <tt>element</tt>
++may be sent to <a href="mailto:relax-ng-comment at lists.oasis-open.org" target="_top">relax-ng-comment at lists.oasis-open.org</a>.</p><p>A list of known errors in this document is available at <a href="spec-20011203-errata.html" target="_top">http://www.oasis-open.org/committees/relax-ng/spec-20011203-errata.html</a>.</p></div></div></div><div class="toc"><h2>Table of Contents</h2><dl><dt>1 <a href="#IDAGDYR">Introduction</a></dt><dt>2 <a href="#data-model">Data model</a></dt><dd><dl><dt>2.1 <a href="#data-model-example">Example</a></dt></dl></dd><dt>3 <a href="#full-syntax">Full syntax</a></dt><dd><dl><dt>3.1 <a href="#full-syntax-example">Example</a></dt></dl></dd><dt>4 <a href="#simplification">Simplification</a></dt><dd><dl><dt>4.1 <a href="#IDARXYR">Annotations</a></dt><dt>4.2 <a href="#IDADYYR">Whitespace</a></dt><dt>4.3 <a href="#IDAXYYR"><tt>datatypeLibrary</tt> attribute</a></dt><dt>4.4 <a href="#IDA0ZYR"><tt>type</tt> attribute of <tt>value</tt> element</a></dt><dt>4.5 <a href="#href"><tt>href</tt> attribute</a></dt><dt>4.6 <a href="#IDAJ2YR"><tt>externalRef</tt> element</a></dt><dt>4.7 <a href="#IDAG3YR"><tt>include</tt> element</a></dt><dt>4.8 <a href="#IDAEAZR"><tt>name</tt> attribute of <tt>element</tt>
+ and <tt>attribute</tt> elements</a></dt><dt>4.9 <a href="#IDAEBZR"><tt>ns</tt> attribute</a></dt><dt>4.10 <a href="#IDA4CZR">QNames</a></dt><dt>4.11 <a href="#IDAODZR"><tt>div</tt> element</a></dt><dt>4.12 <a href="#number-child-elements">Number of child elements</a></dt><dt>4.13 <a href="#IDA0FZR"><tt>mixed</tt> element</a></dt><dt>4.14 <a href="#IDAQGZR"><tt>optional</tt> element</a></dt><dt>4.15 <a href="#IDAGHZR"><tt>zeroOrMore</tt> element</a></dt><dt>4.16 <a href="#constraints">Constraints</a></dt><dt>4.17 <a href="#IDA0KZR"><tt>combine</tt> attribute</a></dt><dt>4.18 <a href="#IDASNZR"><tt>grammar</tt> element</a></dt><dt>4.19 <a href="#define-ref"><tt>define</tt> and <tt>ref</tt> elements</a></dt><dt>4.20 <a href="#notAllowed"><tt>notAllowed</tt> element</a></dt><dt>4.21 <a href="#IDA1UZR"><tt>empty</tt> element</a></dt></dl></dd><dt>5 <a href="#simple-syntax">Simple syntax</a></dt><dd><dl><dt>5.1 <a href="#simple-syntax-example">Example</a></dt></dl></dd><dt>6 <a href="#semantics">Semantics</a></dt><dd><dl><dt>6.1 <a href="#name-classes">Name classes</a></dt><dt>6.2 <a href="#IDAME0R">Patterns</a></dt><dd><dl><dt>6.2.1 <a href="#choice-pattern"><tt>choice</tt> pattern</a></dt><dt>6.2.2 <a href="#IDAEK0R"><tt>group</tt> pattern</a></dt><dt>6.2.3 <a href="#empty-pattern"><tt>empty</tt> pattern</a></dt><dt>6.2.4 <a href="#text-pattern"><tt>text</tt> pattern</a></dt><dt>6.2.5 <a href="#IDALU0R"><tt>oneOrMore</tt> pattern</a></dt><dt>6.2.6 <a href="#IDA2Z0R"><tt>interleave</tt> pattern</a></dt><dt>6.2.7 <a href="#element-pattern"><tt>element</tt> and <tt>attribute</tt> pattern</a></dt><dt>6.2.8 <a href="#data-pattern"><tt>data</tt> and <tt>value</tt> pattern</a></dt><dt>6.2.9 <a href="#built-in-datatype">Built-in datatype library</a></dt><dt>6.2.10 <a href="#IDACKAS"><tt>list</tt> pattern</a></dt></dl></dd><dt>6.3 <a href="#validity">Validity</a></dt><dt>6.4 <a href="#IDAHPAS">Example</a></dt></dl></dd><dt>7 <a href="#restriction">Restrictions</a></dt><dd><dl><dt>7.1 <a href="#contextual-restriction">Contextual restrictions</a></dt><dd><dl><dt>7.1.1 <a href="#IDA3LBS"><tt>attribute</tt> pattern</a></dt><dt>7.1.2 <a href="#IDAPMBS"><tt>oneOrMore</tt> pattern</a></dt><dt>7.1.3 <a href="#list-restrictions"><tt>list</tt> pattern</a></dt><dt>7.1.4 <a href="#context-data-except"><tt>except</tt> in <tt>data</tt> pattern</a></dt><dt>7.1.5 <a href="#context-start"><tt>start</tt> element</a></dt></dl></dd><dt>7.2 <a href="#string-sequences">String sequences</a></dt><dt>7.3 <a href="#attribute-restrictions">Restrictions on attributes</a></dt><dt>7.4 <a href="#interleave-restrictions">Restrictions on <tt>interleave</tt></a></dt></dl></dd><dt>8 <a href="#conformance">Conformance</a></dt></dl><h3>Appendixes</h3><dl><dt>A <a href="#IDA5MCS">RELAX NG schema for RELAX NG</a></dt><dt>B <a href="#IDAGNCS">Changes since version 0.9</a></dt><dt>C <a href="#IDAPRCS">RELAX NG TC (Non-Normative)</a></dt><dt><a href="#IDAPSCS">References</a></dt></dl></div><hr><div class="section"><a name="IDAGDYR"></a><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="IDAGDYR"></a>1. Introduction</h2></div></div><p>This document specifies</p><div class="itemizedlist"><ul><li><a name="IDAMDYR"></a>when an XML document is a correct RELAX NG
+ schema</li><li><a name="IDAPDYR"></a>when an XML document is valid with respect to a
+ correct RELAX NG schema</li></ul></div><p>An XML document that is being validated with respect to a RELAX NG
+@@ -1380,7 +1380,7 @@
+ (Information Technology Research and Standardization Center), 2001.</dd><dt>TREX</dt><dd id="trex" class="bibliomixed"><a name="trex"></a>James Clark.
+ <span class="citetitle"><i><a href="http://www.thaiopensource.com/trex/" target="_top">TREX - Tree Regular Expressions for XML</a></i></span>.
+ Thai Open Source Software Center, 2001.</dd><dt>Tutorial</dt><dd id="tutorial" class="bibliomixed"><a name="tutorial"></a>James Clark,
+-Makoto MURATA, editors.  <span class="citetitle"><i><a href="http://www.oasis-open.org/committees/relax-ng/tutorial.html" target="_top">RELAX
++Makoto MURATA, editors.  <span class="citetitle"><i><a href="tutorial.html" target="_top">RELAX
+ NG Tutorial</a></i></span>.  OASIS, 2001.</dd><dt>W3C XML Schema Datatypes</dt><dd id="xmlschema-2" class="bibliomixed"><a name="xmlschema-2"></a>Paul V. Biron, Ashok Malhotra, editors.
+ <span class="citetitle"><i><a href="http://www.w3.org/TR/xmlschema-2/" target="_top">XML Schema Part 2: Datatypes</a></i></span>.
+ W3C (World Wide Web Consortium), 2001.</dd><dt>XML Schema Formal</dt><dd id="xsfd" class="bibliomixed"><a name="xsfd"></a>Allen Brown,
+diff -urNad trunk~/relaxng-1.0/html/tutorial-20011203-errata.html trunk/relaxng-1.0/html/tutorial-20011203-errata.html
+--- trunk~/relaxng-1.0/html/tutorial-20011203-errata.html	2009-11-11 21:25:14.000000000 +0100
++++ trunk/relaxng-1.0/html/tutorial-20011203-errata.html	2009-11-11 22:57:14.000000000 +0100
+@@ -16,7 +16,7 @@
+ <h1 class="title">RELAX NG Tutorial Errata</h1>
+ 
+ <p>This document lists errata in the <a
+-href="http://www.oasis-open.org/committees/relax-ng/tutorial-20011203.html"
++href="tutorial-20011203.html"
+ >RELAX NG Tutorial</a>.</p>
+ 
+ <hr>
+@@ -26,7 +26,7 @@
+ 
+ <h3>E1 (technical)</h3>
+ 
+-<p><a href="http://www.oasis-open.org/committees/relax-ng/tutorial-20011203.html#IDAIRZR">Section 14</a></p>
++<p><a href="tutorial-20011203.html#IDAIRZR">Section 14</a></p>
+ 
+ <div class="instruction">
+ <p>Replace</p>
+diff -urNad trunk~/relaxng-1.0/html/tutorial-20011203.html trunk/relaxng-1.0/html/tutorial-20011203.html
+--- trunk~/relaxng-1.0/html/tutorial-20011203.html	2009-11-11 21:25:14.000000000 +0100
++++ trunk/relaxng-1.0/html/tutorial-20011203.html	2009-11-11 22:57:14.000000000 +0100
+@@ -26,7 +26,7 @@
+ schema is itself an XML document.</p><p>This document is a tutorial for RELAX NG version 1.0.</p></div></div><div><div class="legalnotice"><h2>Status of this Document</h2><p>This Committee Specification was approved for publication by the
+ OASIS RELAX NG technical committee.  It is a stable document which
+ represents the consensus of the committee.  Comments on this document
+-may be sent to <a href="mailto:relax-ng-comment at lists.oasis-open.org" target="_top">relax-ng-comment at lists.oasis-open.org</a>.</p><p>A list of known errors in this document is available at <a href="http://www.oasis-open.org/committees/relax-ng/tutorial-20011203-errata.html" target="_top">http://www.oasis-open.org/committees/relax-ng/tutorial-20011203-errata.html</a>.</p></div></div></div><div class="toc"><h2>Table of Contents</h2><dl><dt>1 <a href="#IDAHDYR">Getting started</a></dt><dt>2 <a href="#IDA5EYR">Choice</a></dt><dt>3 <a href="#IDA0FYR">Attributes</a></dt><dt>4 <a href="#IDAETYR">Named patterns</a></dt><dt>5 <a href="#IDA5UYR">Datatyping</a></dt><dt>6 <a href="#IDAVXYR">Enumerations</a></dt><dt>7 <a href="#IDAK0YR">Lists</a></dt><dt>8 <a href="#IDAN1YR">Interleaving</a></dt><dt>9 <a href="#IDAX4YR">Modularity</a></dt><dd><dl><dt>9.1 <a href="#IDA04YR">Referencing external patterns</a></dt><dt>9.2 <a href="#IDACAZR">Combining definitions</a></dt><dt>9.3 <a href="#IDAXBZR">Merging grammars</a></dt><dt>9.4 <a href="#IDAVEZR">Replacing definitions</a></dt></dl></dd><dt>10 <a href="#IDADGZR">Namespaces</a></dt><dd><dl><dt>10.1 <a href="#IDAIGZR">Using the <tt>ns</tt> attribute</a></dt><dt>10.2 <a href="#IDAYJZR">Qualified names</a></dt></dl></dd><dt>11 <a href="#IDAFLZR">Name classes</a></dt><dt>12 <a href="#IDA1OZR">Annotations</a></dt><dt>13 <a href="#IDA3PZR">Nested grammars</a></dt><dt>14 <a href="#IDAIRZR">Non-restrictions</a></dt><dt>15 <a href="#IDA3RZR">Further information</a></dt></dl><h3>Appendixes</h3><dl><dt>A <a href="#IDAGSZR">Comparison with XML DTDs</a></dt><dt>B <a href="#IDAZTZR">Comparison with RELAX Core</a></dt><dd><dl><dt>B.1 <a href="#IDA4TZR">Mapping RELAX NG to RELAX Core</a></dt><dd><dl><dt>B.1.1 <a href="#IDABUZR"><tt>elementRule</tt>-<tt>tag</tt> pairs</a></dt><dt>B.1.2 <a href="#IDAJVZR"><tt>hedgeRule</tt></a></dt><dt>B.1.3 <a href="#IDACWZR"><tt>attPool</tt></a></dt><dt>B.1.4 <a href="#IDAVWZR">Hedge models</a></dt><dt>B.1.5 <a href="#IDAKYZR">Attribute declarations</a></dt></dl></dd><dt>B.2 <a href="#IDALZZR">Examples</a></dt><dd><dl><dt>B.2.1 <a href="#IDAOZZR">Ancestor-and-sibling-sensitive content models</a></dt><dt>B.2.2 <a href="#IDAC0ZR">Attribute-sensitive content model</a></dt></dl></dd><dt>B.3 <a href="#IDA10ZR">Features of RELAX NG beyond RELAX Core</a></dt></dl></dd><dt>C <a href="#IDAS2ZR">Comparison with TREX</a></dt><dt>D <a href="#IDA3A0R">Changes from 12 June 2001 version</a></dt><dt><a href="#IDACC0R">References</a></dt></dl></div><hr><div class="section"><a name="IDAHDYR"></a><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="IDAHDYR"></a>1. Getting started</h2></div></div><p>Consider a simple XML representation of an email address book:</p><pre class="programlisting">&lt;addressBook&gt;
++may be sent to <a href="mailto:relax-ng-comment at lists.oasis-open.org" target="_top">relax-ng-comment at lists.oasis-open.org</a>.</p><p>A list of known errors in this document is available at <a href="tutorial-20011203-errata.html" target="_top">http://www.oasis-open.org/committees/relax-ng/tutorial-20011203-errata.html</a>.</p></div></div></div><div class="toc"><h2>Table of Contents</h2><dl><dt>1 <a href="#IDAHDYR">Getting started</a></dt><dt>2 <a href="#IDA5EYR">Choice</a></dt><dt>3 <a href="#IDA0FYR">Attributes</a></dt><dt>4 <a href="#IDAETYR">Named patterns</a></dt><dt>5 <a href="#IDA5UYR">Datatyping</a></dt><dt>6 <a href="#IDAVXYR">Enumerations</a></dt><dt>7 <a href="#IDAK0YR">Lists</a></dt><dt>8 <a href="#IDAN1YR">Interleaving</a></dt><dt>9 <a href="#IDAX4YR">Modularity</a></dt><dd><dl><dt>9.1 <a href="#IDA04YR">Referencing external patterns</a></dt><dt>9.2 <a href="#IDACAZR">Combining definitions</a></dt><dt>9.3 <a href="#IDAXBZR">Merging grammars</a></dt><dt>9.4 <a href="#IDAVEZR">Replacing definitions</a></dt></dl></dd><dt>10 <a href="#IDADGZR">Namespaces</a></dt><dd><dl><dt>10.1 <a href="#IDAIGZR">Using the <tt>ns</tt> attribute</a></dt><dt>10.2 <a href="#IDAYJZR">Qualified names</a></dt></dl></dd><dt>11 <a href="#IDAFLZR">Name classes</a></dt><dt>12 <a href="#IDA1OZR">Annotations</a></dt><dt>13 <a href="#IDA3PZR">Nested grammars</a></dt><dt>14 <a href="#IDAIRZR">Non-restrictions</a></dt><dt>15 <a href="#IDA3RZR">Further information</a></dt></dl><h3>Appendixes</h3><dl><dt>A <a href="#IDAGSZR">Comparison with XML DTDs</a></dt><dt>B <a href="#IDAZTZR">Comparison with RELAX Core</a></dt><dd><dl><dt>B.1 <a href="#IDA4TZR">Mapping RELAX NG to RELAX Core</a></dt><dd><dl><dt>B.1.1 <a href="#IDABUZR"><tt>elementRule</tt>-<tt>tag</tt> pairs</a></dt><dt>B.1.2 <a href="#IDAJVZR"><tt>hedgeRule</tt></a></dt><dt>B.1.3 <a href="#IDACWZR"><tt>attPool</tt></a></dt><dt>B.1.4 <a href="#IDAVWZR">Hedge models</a></dt><dt>B.1.5 <a href="#IDAKYZR">Attribute declarations</a></dt></dl></dd><dt>B.2 <a href="#IDALZZR">Examples</a></dt><dd><dl><dt>B.2.1 <a href="#IDAOZZR">Ancestor-and-sibling-sensitive content models</a></dt><dt>B.2.2 <a href="#IDAC0ZR">Attribute-sensitive content model</a></dt></dl></dd><dt>B.3 <a href="#IDA10ZR">Features of RELAX NG beyond RELAX Core</a></dt></dl></dd><dt>C <a href="#IDAS2ZR">Comparison with TREX</a></dt><dt>D <a href="#IDA3A0R">Changes from 12 June 2001 version</a></dt><dt><a href="#IDACC0R">References</a></dt></dl></div><hr><div class="section"><a name="IDAHDYR"></a><div class="titlepage"><div><h2 class="title" style="clear: both"><a name="IDAHDYR"></a>1. Getting started</h2></div></div><p>Consider a simple XML representation of an email address book:</p><pre class="programlisting">&lt;addressBook&gt;
+   &lt;card&gt;
+     &lt;name&gt;John Smith&lt;/name&gt;
+     &lt;email&gt;js at example.com&lt;/email&gt;
+@@ -1711,12 +1711,12 @@
+ allowed to have a <tt>name</tt> attribute</li><li><a name="IDAZB0R"></a>an <tt>attribute</tt> element is no longer
+ allowed to have a <tt>global</tt>
+ attribute</li></ol></div></div><div id="IDACC0R" class="bibliography"><div class="titlepage"><div><h2 class="title"><a name="IDACC0R"></a>References</h2></div></div><dl><dt>Compatibility</dt><dd id="compat" class="bibliomixed"><a name="compat"></a>James Clark, Makoto
+-MURATA, editors.  <span class="citetitle"><i><a href="http://www.oasis-open.org/committees/relax-ng/compatibility.html" target="_top">RELAX NG
++MURATA, editors.  <span class="citetitle"><i><a href="compatibility.html" target="_top">RELAX NG
+ DTD Compatibility</a></i></span>.  OASIS, 2001.</dd><dt>RELAX</dt><dd id="relax" class="bibliomixed"><a name="relax"></a>MURATA Makoto.
+ <span class="citetitle"><i><a href="http://www.xml.gr.jp/relax/" target="_top">RELAX (Regular
+ Language description for XML)</a></i></span>.  INSTAC
+ (Information Technology Research and Standardization Center), 2001.</dd><dt>RELAX NG</dt><dd id="spec" class="bibliomixed"><a name="spec"></a>James Clark, Makoto
+-MURATA, editors.  <span class="citetitle"><i><a href="http://www.oasis-open.org/committees/relax-ng/spec.html" target="_top">RELAX NG
++MURATA, editors.  <span class="citetitle"><i><a href="spec.html" target="_top">RELAX NG
+ Specification</a></i></span>.  OASIS, 2001.</dd><dt>TREX</dt><dd id="trex" class="bibliomixed"><a name="trex"></a>James Clark.
+ <span class="citetitle"><i><a href="http://www.thaiopensource.com/trex/" target="_top">TREX - Tree Regular Expressions for XML</a></i></span>.
+ Thai Open Source Software Center, 2001.</dd><dt>W3C XML Schema Datatypes</dt><dd id="xmlschema-2" class="bibliomixed"><a name="xmlschema-2"></a>Paul V. Biron, Ashok Malhotra, editors.
+diff -urNad trunk~/relaxng-1.0/html/xsd-20010907.html trunk/relaxng-1.0/html/xsd-20010907.html
+--- trunk~/relaxng-1.0/html/xsd-20010907.html	2009-11-11 21:25:14.000000000 +0100
++++ trunk/relaxng-1.0/html/xsd-20010907.html	2009-11-11 22:57:14.000000000 +0100
+@@ -85,9 +85,9 @@
+ <span class="citetitle"><i><a href="http://www.w3.org/TR/REC-xml" target="_top">Extensible Markup
+ Language (XML) 1.0 Second Edition</a></i></span>.
+ W3C (World Wide Web Consortium), 2000.</p></div><div id="spec" class="bibliomixed"><a name="spec"></a><p>James Clark, Makoto
+-MURATA, editors.  <span class="citetitle"><i><a href="http://www.oasis-open.org/committees/relax-ng/spec.html" target="_top">RELAX NG
++MURATA, editors.  <span class="citetitle"><i><a href="spec.html" target="_top">RELAX NG
+ Specification</a></i></span>.  OASIS, 2001.</p></div><div id="compatibility" class="bibliomixed"><a name="compatibility"></a><p>James Clark, Makoto MURATA, editors.
+-<span class="citetitle"><i><a href="http://www.oasis-open.org/committees/relax-ng/compatibility.html" target="_top">RELAX
++<span class="citetitle"><i><a href="compatibility.html" target="_top">RELAX
+ NG DTD Compatibility</a></i></span>.  OASIS, 2001.</p></div><div id="xmlschema-2" class="bibliomixed"><a name="xmlschema-2"></a><p>Paul V. Biron, Ashok Malhotra, editors.
+ <span class="citetitle"><i><a href="http://www.w3.org/TR/xmlschema-2/" target="_top">XML Schema Part 2: Datatypes</a></i></span>.
+ W3C (World Wide Web Consortium), 2001.</p></div></div></div></body></html>
+\ No newline at end of file

Propchange: packages/relax-ng/trunk/debian/patches/html_base_local.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the debian-xml-sgml-commit mailing list