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>