ietf-tools / xml2rfc

Generate RFCs and IETF drafts from document source in XML according to the IETF xml2rfc v2 and v3 vocabularies
https://ietf-tools.github.io/xml2rfc/
BSD 3-Clause "New" or "Revised" License
69 stars 39 forks source link

Should validate table structure #599

Open ietf-svn-bot opened 3 years ago

ietf-svn-bot commented 3 years ago

type_enhancement | by jennifer@painless-security.com


As discussed in the comments on #512, the text output writer does not permit imbalanced tables. That is, after expanding cells based on colspan and rowspan attributes, all rows must have the same number of columns and all columns must have the same number of rows.

The HTML output writer, at least, allows such tables. I am not sure about other writers.

The requirement that tables be balanced should be enforced for all writers to ensure consistent results. Ideally, this should be part of the validation done independent from individual writer classes.


Issue migrated from trac:599 at 2022-02-08 07:12:58 +0000

ietf-svn-bot commented 3 years ago

@rjsparks@nostrum.com changed status from new to accepted