Thanks a lot to rfc9896 contributors/authors!
Unfortunately, the tooling, specifically xml2rfc does not have any option to
permit
anything more than the rfc7996 SVG profile. I hope i correctly understand the
status of
rfc9896, that this is now a bug.
I have attached an SVG for one of my drafts
example5-claude.svg fails on font-family and style and strokes. I don't want to
make a big
argument trying to justify why each of these should be now allowed, but it
seems to me as if
rfc9896 says they should...
example5-claude-rfc7996.svg is converted by asking claude to make it as rfc7996
compatible as
possible. It still fails on strokes/colors.
[If you look at the graphis it should be clear that colors are only used as
optional add-on
beautification for those readers that do see colors, so i would expect this to
easily pass
accessibility requirements - same meaning as text in the boxes].
for reference, example5-claude-prompt.txt is the prompt
(and this is just the start, i am doing this to be able to add more arrows and
the like to
show traffic flows etc...)
Cheers
Toerless
P.S.: I opened https://github.com/ietf-tools/xml2rfc/issues/1339
# RFC 9896 allows any SVG!
Style section (reusable):
Generate an SVG network diagram with the following visual style:
White background, boxes drawn as rounded rectangles (rx=8) with black 2px
borders and bold monospace text (e.g. "Courier New") centered inside.
Connections between boxes are plain black 2px straight lines
(horizontal/vertical only, no diagonals), routed orthogonally (right-angle
bends where needed).
Some boxes need a colored "status ring": a second, larger rounded rectangle
drawn around the normal black box, with an 8px gap, in one of these styles:
Selected/active: solid green ring, 6px stroke
Failed/inactive: dashed red ring, 6px stroke, dash pattern ~14 on/10 off
Endpoint/leaf: solid blue ring, 6px stroke
When multiple lines connect into the side of a box (e.g. two children branching
off one parent), they should enter the parent box through the top and bottom
edges (offset from the corners, not at the corner points) rather than
converging at a single side point.
Layout should be a left-to-right hierarchical tree, with generous spacing
between columns and rows so lines don't overlap boxes.
Content section (this topology):
Draw this topology:
R1 connects to R2.
R2 is the root of a fan-out and has a green "selected" ring; label it "FRR: R2".
R2 connects to three parallel nodes: R3, R4, R5. All three have a red dashed
"failed" ring; label them "fails: R3", "fails: R4", "fails: R5".
R3 connects to R12, R4 connects to R13, R5 connects to R14 (plain black boxes,
no ring).
R12, R13, R14 are also linked to each other by a vertical trunk line (as if
part of the same tier/bus).
R12 branches into two leaf nodes, R6 and R7, entering R12 via its top and
bottom edges.
R13 branches into two leaf nodes, R8 and R9, entering R13 via its top and
bottom edges.
R14 branches into two leaf nodes, R10 and R11, entering R14 via its top and
bottom edges.
All six leaf nodes (R6–R11) have a blue "endpoint" ring; label them "BFER: R6"
through "BFER: R11".
--
rswg mailing list -- [email protected]
To unsubscribe send an email to [email protected]