rfc-format / draft-iab-xml2rfc-v3-bis

-bis document for the RFC format xml2rfc v3 draft
6 stars 10 forks source link

<sourcecode> inside an <aside> #194

Open Luo2Jie2 opened 3 years ago

Luo2Jie2 commented 3 years ago

I would like to suggest that sourcecode be added to the content model of aside. See https://mailarchive.ietf.org/arch/msg/xml2rfc/k_X_KSBnlagKzSXSWEzOz15FfQs Roger

stpeter commented 3 years ago

This seems reasonable to me.

cabo commented 3 years ago

ceterum censeo: The Relax-NG needs to be streamlined to have a single name for all the block-level elements that go into all the elements that accept block-level elements. No point picking different sets for different ones based on a hunch that then turns out to be false.

Luo2Jie2 commented 3 years ago

Not only blocks. I wrote an SGML DTD for myself which looked much better when I used the entities: <!ENTITY % art "artset | artwork" > <!ENTITY % block "blockquote | figure | sourcecode | t" > <!ENTITY % emph "bcp14 | em | strong | sub | sup | tt" >
<!ENTITY % lists "dl | ol | ul" > <!ENTITY % post "extaddr | pobox | street | cityarea | city | region | code | sortingcode | country | postalLine | phone | email" > <!ENTITY % ref "cref | eref | iref | relref | xref" > I discovered that I had to add exclusions for blockquote to th, td and dd. Roger

stpeter commented 3 years ago

ceterum censeo: The Relax-NG needs to be streamlined to have a single name for all the block-level elements that go into all the elements that accept block-level elements. No point picking different sets for different ones based on a hunch that then turns out to be false.

Captured via #200