Skip to content

Commit

Permalink
adapter.rdf: Add trailing slash to AAS namespace
Browse files Browse the repository at this point in the history
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
  • Loading branch information
s-heppner committed Jan 6, 2025
1 parent f2da76b commit 6bd05e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basyx/aas/adapter/rdf/rdf_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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():
Expand Down

0 comments on commit 6bd05e5

Please sign in to comment.