Skip to content

Added Exchange of Electronic Certificate of Origin focal use case#167

Merged
KDean-Dolphin merged 11 commits into
mainfrom
5_electronic_certificate_of_origin
Feb 19, 2026
Merged

Added Exchange of Electronic Certificate of Origin focal use case#167
KDean-Dolphin merged 11 commits into
mainfrom
5_electronic_certificate_of_origin

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Nov 18, 2025

Comment thread focal/5_electronic_certificate_of_origin.html Outdated
Comment thread focal/5_electronic_certificate_of_origin.html Outdated
@ghost
Copy link
Copy Markdown
Author

ghost commented Dec 18, 2025

The source has been updated to replace the udef and uref tags with span tags with the class attribute set to udef or uref as appropriate, so that class of validation errors has been fixed.

The latest Mermaid generator creates a more conformant SVG, but still not 100%; the output includes several empty rect tags, which fail validation because they're missing width and height. I've added a comment about it in the SVG conformance issue in the Mermaid repository.

The validator is incorrectly reporting an invalid setting on the SVG role attribute. I've raised that as an issue in the Validator repository.

@jandrieu
Copy link
Copy Markdown
Collaborator

It appears that we can't publish right now because the validator refuses to accept mermaid output.

We were able to confirm that the validator SHOULD be accepting rects with default width of "auto" per the CSS spec for width (https://www.w3.org/TR/CSS2/visudet.html#propdef-width), which is referred to by the SVG2 spec (https://www.w3.org/TR/SVG2/geometry.html#Sizing).

Hopefully we can get the validator updated, as the mermaid folks correctly point out that their code is compliant. @KDean-GS1 will put an issue in the validator repo and see what we can get from them.

@ghost
Copy link
Copy Markdown
Author

ghost commented Dec 18, 2025

Issue raised here: validator/validator#1988

@ghost
Copy link
Copy Markdown
Author

ghost commented Jan 8, 2026

Issue #168 raised to get validator updated.

@jandrieu
Copy link
Copy Markdown
Collaborator

jandrieu commented Feb 4, 2026

It looks like the validator has been updated, but something is still failing.

I'll note that the page build and deployment action works fine, but the autopublish on PR does not. That's still a mystery.

However, we have identified some improvements. The validator no longer complains about height/width for most elements in side an SVG, but has some other problems (height/width on foreign objects, and complains about duplicate aria roles even though that is the recommended pattern).

@KDean-Dolphin Is updating the issue over there. validator/validator#1987

@KDean-Dolphin
Copy link
Copy Markdown
Collaborator

The validator issue has been resolved. The action now runs.

@KDean-Dolphin KDean-Dolphin merged commit 6ce1fe3 into main Feb 19, 2026
1 of 7 checks passed
@KDean-Dolphin KDean-Dolphin deleted the 5_electronic_certificate_of_origin branch February 19, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants