Open jrlevine opened 2 years ago
The type attribute is optional now. The vast majority of artwork has an empty type which defaults to ascii-art. You can always tell by inspection whether an element is svg, whether it's inline or external, but I don't see any harm in stating the intention.
RFC 7991 says the preferred types for \ are ascii-art, binary-art, call-flow, hex-dump, and svg, with the list to be updated. It is unclear what the type is supposed to mean. The ascii-art, binary-art, and svg types describe a format, the others are the meaning of the contents.
In RFCs published to date, there are many ascii-art and svg, two RFCs with hex-dump, one each with call-flow, cddl, CBORdiag, and yangtree, and one with "message/http; msgtype=\"response\""
There is no binary-art but the xml2rfc code treats the src argument as a file to be imported and displayed as an HTML IMG element.
Proposal: deprecate everything except ascii-art, svg, and maybe binary-art. If people want to put semantic tags on the material, it's \