From 0b8e03b59fd491000b1a38b9fad6dde07aa2ad7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martynas=20Jusevi=C4=8Dius?= Date: Sun, 18 Oct 2026 18:11:24 +0200 Subject: [PATCH] Vendor the RDFa editor's resources key that skips XML literals rdfa-editor/translations.xsl declares the resources key too, and key declarations of one name are merged across the stylesheet. Left without #435's exclusion it still indexed the descriptions inside an XML literal, so a document whose assistant turn returned a graph describing the document itself still failed in the browser: the page title's ac:label(key('resources', $resource-uri, $results)) (client.xsl) got two descriptions. Located in the composed client SEF, where it was the only one of seven resources-family keys without the predicate. Byte-identical to AtomGraph/RDFa-Editor#35. Co-Authored-By: Claude Opus 5.5 --- .../linkeddatahub/xsl/rdfa-editor/translations.xsl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/rdfa-editor/translations.xsl b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/rdfa-editor/translations.xsl index 77df9c3df..308c5e676 100644 --- a/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/rdfa-editor/translations.xsl +++ b/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/rdfa-editor/translations.xsl @@ -47,8 +47,11 @@ version="3.0"> - + host catalog that names its terms with IRIs resolves through the same lookup. Not the + content of an rdf:parseType="Literal": an XML literal is a value, not RDF (RDF/XML 6), + and a host's keys of the same name are merged with this one - matching a description + inside a literal gave the host two for one IRI --> +