summaryrefslogtreecommitdiff
path: root/public/relax-ng-errata.md
blob: 1de39bef57d1e1fcd221de7e27be2ca095fab3a6 (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
RELAX NG Compact Syntax errata
==============================
---
date: "2024-07-10"
markdown_options: "-smart"
---

<div style="font-family: monospace">
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: &lt;87sexly8ze.wl-lukeshu@lukeshu.com&gt;
</div>

Hello,

I believe that I have found an error in the [RELAX NG Compact Syntax
document](https://relaxng.org/compact-20021121.html) (and am unsure if
this is the best way to report it).

In the definition for `primary`, it says

```
    primary returns Element  ::=
…
        |  "empty"
            { <empty/> }
        |  "notAllowed"
            { <notAllowed/> }
        |  "empty"
            { <text/> }
…
```

Surely that second "empty" literal should be "text"?

<div style="font-family: monospace">
-- <br/>
Cheers,<br/>
~ Luke T. Shumaker<br/>
</div>