[rfc-i] xml2rfcv3-23 rnc update

miek at miek.nl (Miek Gieben) Sat, 05 September 2015 08:52 UTC

From: "miek at miek.nl"
Date: Sat, 05 Sep 2015 09:52:04 +0100
Subject: [rfc-i] xml2rfcv3-23 rnc update
Message-ID: <20150905085204.GA10295@miek.nl>

Hello,

Just a small update. With mmark[*] I've been encoding some of the older April
1st RFCs into markdown and I am now able to convert them to both XML2RFC v2 and
XML2RFC v3 (see the rfc/ subdir in the repo).

For V3 output I am of course interested in validating the generated XML.

RFC748:
     % make rfc748.md.3.xml
     ../mmark/mmark -xml -page rfc748.md > rfc748.md.3.xml
     % jing -c ../xml2rfcv3.rnc rfc748.md.3.xml

RFC1149:
     % make rfc1149.md.3.xml
     ../mmark/mmark -xml -page rfc1149.md > rfc1149.md.3.xml
     % jing -c ../xml2rfcv3.rnc rfc1149.md.3.xml

RFC3514: (first one with actuall refences)
     % make rfc3514.md.3.xml
     ../mmark/mmark -xml -page rfc3514.md > rfc3514.md.3.xml
     rfc3514.md.3.xml:243:86: error: element "xi:include" not allowed anywhere;
     expected the element end-tag or element "reference" or "referencegroup"
     ...
     rfc3514.md.3.xml:186:34: error: IDREF "RFC2460" without matching ID
     ...

According to -23 Section B.1. this should work.

[*]: https://github.com/miekg/mmark

/Miek

--
Miek Gieben