Closed hawkowl closed 5 years ago
[ Quoting notifications@github.com in "[mmarkdown/mmark] submissionType is..." ]
What went wrong?
The submissionType in the XML output is hardcoded to
IETF
(https://github.com/mmarkdown/mmark/blob/master/render/xml/title.go#L42) and settingseriesInfo.stream
to "independent" as per https://mmark.miek.nl/post/syntax/#title-block causes xml2rfc to barf:Error: The stream setting of <seriesInfo> is inconsistent with the submissionType of <rfc>. Found independent, IETF
What version of mmark are you using?
2.0.48
I think this entire flow is now broken in xml2rfc, at least I couldn't get it to work. If you have some handedited xml that compiles with a current xml2rfc, I'm happy to make changes to mmark.
Amending the <rfc>
tag to contain submissionType="independent"
and removing the consensus="yes"
attribute renders fine on the latest version of xml2rfc, here.
[ Quoting notifications@github.com in "Re: [mmarkdown/mmark] submissionTyp..." ]
Amending the
<rfc>
tag to containsubmissionType="independent"
and removing theconsensus="yes"
attribute renders fine on the latest version of xml2rfc, here.
this should work (hopefully): https://github.com/mmarkdown/mmark/commit/a988fb2d22d173d904c84078b21ad03d8f725667
Now merged into master, so you can just use that.
How do you get rid of the default IPR crap that still pops up in an independent submission?
@miekg Set ipr = "none"
in the header, and it'll remove it.
(I haven't had a chance to check if the changes to mmark
work for me, yet, btw, I'll get to that Monday)
[ Quoting notifications@github.com in "Re: [mmarkdown/mmark] submissionTyp..." ]
@miekg Set
ipr = "none"
in the header, and it'll remove it.(I haven't had a chance to check if the changes to
mmark
work for me, yet, btw, I'll get to that Monday)
Ok, thanks. That actually works now :)
[ Quoting notifications@github.com in "Re: [mmarkdown/mmark] submissionTyp..." ]
@miekg Set
ipr = "none"
in the header, and it'll remove it.(I haven't had a chance to check if the changes to
mmark
work for me, yet, btw, I'll get to that Monday)
Cool, I've started a FAQ.md with this stuff, 'cause I also (always) forget how to do things like this. Will be soon putting this on the website as well.
What went wrong?
The submissionType in the XML output is hardcoded to
IETF
(https://github.com/mmarkdown/mmark/blob/master/render/xml/title.go#L42) and settingseriesInfo.stream
to "independent" as per https://mmark.miek.nl/post/syntax/#title-block causes xml2rfc to barf:What version of mmark are you using?
2.0.48