[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Import patch (was: Potential ISSUE: <utext>)
Russ Allbery wrote:
> since you've already tracked most of them down, I think I'm not
> adverse, and mechanical validation of ABNF is definitely useful.
> Would you be willing to prepare a patch? That would be even
> faster for me.
I have no patch tool yet on the W2K box, but I can prepare an XML
snippet for copy and paste, you can insert it where it fits.
Style counter, you start in column 10 with the "=" in column 30:
newsgroups-line = newsgroup-name
....5...10....5...20....5...30....5...40....5...50....5...60....5...70..
~~~ cut ~~~
<figure><artwork type="abnf"><![CDATA[
CRLF = <see RFC 5234 appendix B.1>
DIGIT = <see RFC 5234 appendix B.1>
HTAB = <see RFC 5234 appendix B.1>
SP = <see RFC 5234 appendix B.1>
WSP = <see RFC 5234 appendix B.1>
argument = <see [USEFOR] section 3.2.3>
article-locator = <see [USEFOR] section 3.2.14>
component = <see [USEFOR] section 3.1.4>
control-command = <see [USEFOR] section 3.2.3>
diag-keyword = <see [USEFOR] section 3.1.5>
diag-match = <see [USEFOR] section 3.1.5>
diag-other = <see [USEFOR] section 3.1.5>
dist-name = <see [USEFOR] section 3.2.4>
msg-id = <see [USEFOR] section 3.1.3>
newsgroup-name = <see [USEFOR] section 3.1.4>
path-delimiter = <see [USEFOR] **KERNEL PANIC**>
path-diagnostic = <see [USEFOR] section 3.1.5>
path-identity = <see [USEFOR] section 3.1.5>
path-nodot = <see [USEFOR] section 3.1.5>
tail-entry = <see [USEFOR] section 3.1.5>
verb = <see [USEFOR] section 3.2.3>
display-name = <see RFC 2822 section 3.4>
local-part = <see RFC 2822 section 3.4.1>
mailbox = <see RFC 2822 section 3.4>
utext = <see RFC 2822 section 3.2.6>
]]></artwork></figure>
~~~ end ~~~
Strike <path-delimiter>, both memos use this only in prose.
BTW, if you are annoyed how xml2rfc splits some ABNF terms
in prose at the hyphen write &nbhy; (= no break hyphen).
Integration test, I grab this stuff and paste it in the
still open ABNF parser form, result: No errors, good.
You'll get more than four allegedly unused ABNF terms now,
because I added all terms in angle-brackets in the prose.
But that's as it should be, ignore it.
Frank