blob: 7a5b769244077068fea72c05f184bc6d5706192a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>RELAX NG Compact Syntax errata — Luke T. Shumaker</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/style.css">
<link rel="alternate" type="application/atom+xml" href="./index.atom" name="web log entries"/>
</head>
<body>
<header><a href="/">Luke T. Shumaker</a> » <a href=/blog>blog</a> » relax-ng-errata</header>
<article>
<h1 id="relax-ng-compact-syntax-errata">RELAX NG Compact Syntax
errata</h1>
<div style="font-family: monospace">
<p>To: relax-ng-comment@lists.oasis-open.org, jjc@jclark.com,
eb2m-mrt@asahi-net.or.jp<br/> Subject: RELAX NG Compact Syntax
errata<br/> Date: Sun, 09 Jun 2024 17:47:17 -0600<br/> Message-ID:
<87sexly8ze.wl-lukeshu@lukeshu.com></p>
</div>
<p>Hello,</p>
<p>I believe that I have found an error in the <a
href="https://relaxng.org/compact-20021121.html">RELAX NG Compact Syntax
document</a> (and am unsure if this is the best way to report it).</p>
<p>In the definition for <code>primary</code>, it says</p>
<pre><code> primary returns Element ::=
…
| "empty"
{ <empty/> }
| "notAllowed"
{ <notAllowed/> }
| "empty"
{ <text/> }
…</code></pre>
<p>Surely that second "empty" literal should be "text"?</p>
<div style="font-family: monospace">
<p>-- <br/> Cheers,<br/> ~ Luke T. Shumaker<br/></p>
</div>
</article>
<footer>
<aside class="sponsor"><p>I'd love it if you <a class="em"
href="/sponsor/">sponsored me</a>. It will allow me to continue
<a class="em" href="/imworkingon/">my work</a> on the GNU/Linux
ecosystem. Thanks!</p></aside>
<p>The content of this page is Copyright © 2024 <a href="mailto:lukeshu@lukeshu.com">Luke T. Shumaker</a>.</p>
<p>This page is licensed under the <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> license.</p>
</footer>
</body>
</html>
|