From 8db57b88ea98d3617a03636e57d322959c1659eb Mon Sep 17 00:00:00 2001 From: s-heppner Date: Mon, 6 Jan 2025 10:50:25 +0100 Subject: [PATCH] adapter.rdf: Add trailing slash to AAS namespace Previously, there was a trailing slash (`/`) missing in the AAS namespace resulting in invalid URIs, e.g.: `https://admin-shell.io/aas/3/0Identifiable/` instead of: `https://admin-shell.io/aas/3/0/Identifiable/`. This adds the trailing slash to the namespace in the RDF serializer. Fixes #365 --- basyx/aas/adapter/rdf/rdf_serialization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basyx/aas/adapter/rdf/rdf_serialization.py b/basyx/aas/adapter/rdf/rdf_serialization.py index 863a2ea5..6823e376 100644 --- a/basyx/aas/adapter/rdf/rdf_serialization.py +++ b/basyx/aas/adapter/rdf/rdf_serialization.py @@ -29,7 +29,7 @@ from basyx.aas import model from .. import _generic -NS_AAS = _generic.XML_NS_MAP["aas"] +NS_AAS = _generic.XML_NS_MAP["aas"]+"/" class AASToRDFEncoder():