summaryrefslogtreecommitdiff
path: root/specs/appA.xml
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-04-15 17:46:18 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-04-16 18:49:27 -0400
commitea2247ee98b9c7357dccbba13df96ffc6d08b65a (patch)
tree478c5a43d8c980cca994ef99166d123153c427ef /specs/appA.xml
parent44f5ef69ef6f1593d481a831d6aa4e035fc2e7bd (diff)
use ldquo/rdquo/ndash where appropriate
Diffstat (limited to 'specs/appA.xml')
-rw-r--r--specs/appA.xml28
1 files changed, 14 insertions, 14 deletions
diff --git a/specs/appA.xml b/specs/appA.xml
index 566e9e8..76454de 100644
--- a/specs/appA.xml
+++ b/specs/appA.xml
@@ -27,11 +27,11 @@ for convenience only.
</row>
<row>
<entry>Comment</entry>
- <entry>="!" {&lt;any character except null or newline&gt;}</entry>
+ <entry>=&ldquo;!&rdquo; {&lt;any character except null or newline&gt;}</entry>
</row>
<row>
<entry>IncludeFile</entry>
- <entry>= "#" WhiteSpace "include" WhiteSpace FileName WhiteSpace</entry>
+ <entry>= &ldquo;#&rdquo; WhiteSpace &ldquo;include&rdquo; WhiteSpace FileName WhiteSpace</entry>
</row>
<row>
<entry>FileName</entry>
@@ -39,7 +39,7 @@ for convenience only.
</row>
<row>
<entry>ResourceSpec</entry>
- <entry>= WhiteSpace ResourceName WhiteSpace ":" WhiteSpace Value</entry>
+ <entry>= WhiteSpace ResourceName WhiteSpace &ldquo;:&rdquo; WhiteSpace Value</entry>
</row>
<row>
<entry>ResourceName</entry>
@@ -47,7 +47,7 @@ for convenience only.
</row>
<row>
<entry>Binding</entry>
- <entry>="." | "*"</entry>
+ <entry>=&ldquo;.&rdquo; | &ldquo;*&rdquo;</entry>
</row>
<row>
<entry>WhiteSpace</entry>
@@ -55,7 +55,7 @@ for convenience only.
</row>
<row>
<entry>Component</entry>
- <entry>= "?" | ComponentName</entry>
+ <entry>= &ldquo;?&rdquo; | ComponentName</entry>
</row>
<row>
<entry>ComponentName</entry>
@@ -63,7 +63,7 @@ for convenience only.
</row>
<row>
<entry>NameChar</entry>
- <entry>= "a"-"z" | "A"-"Z" | "0"-"9" | "_" | "-"</entry>
+ <entry>= &ldquo;a&rdquo;&ndash;&ldquo;z&rdquo; | &ldquo;A&rdquo;&ndash;&ldquo;Z&rdquo; | &ldquo;0&rdquo;&ndash;&ldquo;9&rdquo; | &ldquo;_&rdquo; | &ldquo;-&rdquo;</entry>
</row>
<row>
<entry>Value</entry>
@@ -78,7 +78,7 @@ Elements separated by vertical bar (|) are alternatives.
Curly braces ({...}) indicate zero or more repetitions
of the enclosed elements.
Square brackets ([...]) indicate that the enclosed element is optional.
-Quotes ("...") are used around literal characters.
+Quotes (&ldquo;...&rdquo;) are used around literal characters.
</para>
<para>
@@ -88,28 +88,28 @@ that line is assumed to continue on the next line.
<para>
To allow a Value to begin with whitespace,
-the two-character sequence "\<emphasis remap='I'>space</emphasis>" (backslash followed by space)
+the two-character sequence &ldquo;\<emphasis remap='I'>space</emphasis>&rdquo; (backslash followed by space)
is recognized and replaced by a space character,
-and the two-character sequence "\<emphasis remap='I'>tab</emphasis>"
+and the two-character sequence &ldquo;\<emphasis remap='I'>tab</emphasis>&rdquo;
(backslash followed by horizontal tab)
is recognized and replaced by a horizontal tab character.
</para>
<para>
To allow a Value to contain embedded newline characters,
-the two-character sequence "\n" is recognized and replaced by a
+the two-character sequence &ldquo;\n&rdquo; is recognized and replaced by a
newline character.
To allow a Value to be broken across multiple lines in a text file,
-the two-character sequence "\<emphasis remap='I'>newline</emphasis>"
+the two-character sequence &ldquo;\<emphasis remap='I'>newline</emphasis>&rdquo;
(backslash followed by newline) is
recognized and removed from the value.
</para>
<para>
To allow a Value to contain arbitrary character codes,
-the four-character sequence "\<emphasis remap='I'>nnn</emphasis>",
-where each <emphasis remap='I'>n</emphasis> is a digit character in the range of "0"-"7",
+the four-character sequence &ldquo;\<emphasis remap='I'>nnn</emphasis>&rdquo;,
+where each <emphasis remap='I'>n</emphasis> is a digit character in the range of &ldquo;0&rdquo;&ndash;&ldquo;7&rdquo;,
is recognized and replaced with a single byte that contains
the octal value specified by the sequence.
-Finally, the two-character sequence "\\" is recognized
+Finally, the two-character sequence &ldquo;\\&rdquo; is recognized
and replaced with a single backslash.
</para>
</appendix>