From 3c8dbfdf5f272df696ec235712cb031df1c4249b Mon Sep 17 00:00:00 2001 From: Hannes Stiebitzhofer Date: Fri, 2 Oct 2026 19:34:56 +0200 Subject: [PATCH] fix(EN10168 v0.5.0): render url / qr-code / image supplementary values in the product description ProductDescription.SupplementaryInformation never passed a value's Type to the KeyValue template, so a B-field with Type "url" printed as plain text and one with Type "qr-code" or "image" printed its data URI as text. Seen on the Steel Mill SE demo certificate, where B20 carries the passport URL and B21 the passport QR code. For Type url, email, phone, qr-code and image, the bare Value and the Type are now passed, so the template renders a link or a graphic. Every other type keeps the "Value Unit" text it always rendered. Mirror of material-identity/schema legacy/schemas/EN10168/v0.5.0/stylesheet.xsl (schema PR #405); the two files are byte-identical again. Checked by rendering all 12 test/fixtures/EN10168/v0.5.0 certificates with the old and the new stylesheet: text output identical. npx jest: 272 passed. Co-Authored-By: Claude Opus 5.5 --- schemas/EN10168/v0.5.0/stylesheet.xsl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/schemas/EN10168/v0.5.0/stylesheet.xsl b/schemas/EN10168/v0.5.0/stylesheet.xsl index bab6890a..ef38c34e 100644 --- a/schemas/EN10168/v0.5.0/stylesheet.xsl +++ b/schemas/EN10168/v0.5.0/stylesheet.xsl @@ -250,13 +250,18 @@ + + - + +