Luke T. Shumaker » blog » relax-ng-errata

RELAX NG Compact Syntax errata

To: relax-ng-comment@lists.oasis-open.org, jjc@jclark.com, eb2m-mrt@asahi-net.or.jp
Subject: RELAX NG Compact Syntax errata
Date: Sun, 09 Jun 2024 17:47:17 -0600
Message-ID: <87sexly8ze.wl-lukeshu@lukeshu.com>

Hello,

I believe that I have found an error in the RELAX NG Compact Syntax document (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"?

--
Cheers,
~ Luke T. Shumaker