Closed ronaldtse closed 6 years ago
Your table may be malformed, but even if it is, you've come up with an instance I should be dealing with.
There is a blank line between the |===
and the first row of data. Asciidoc interprets that as meaning there is no header row for the table: it starts with normal table cells. But in RFC XML v2, the header row of a table is mandatory, and I should be issuing a warning for that. (I don't want to blanket-assume that the first row of a table is always a header row, no matter the spacing; that markup might be intentional.)
The table will still result in incorrect RFC XML; but at least you'll know why. :-)
In https://github.com/riboseinc/rfc-crypto-sm4 , run
make clean all
and you will see (please ignore the missing references for now) this error with the<texttable>
element:It looks like we're not giving
ttcol
?FYI the table is like this:
( middle content omitted )