From 7b7e00327e2701f13fe7bed33fd16e04abd29243 Mon Sep 17 00:00:00 2001 From: Alejandro Alfonso Yero Date: Thu, 26 Feb 2026 13:41:56 -0500 Subject: [PATCH] The `NodeId` parsing logic was updated to use `lstrip()` instead of `strip()` for the value part, correctly handling leading whitespace at the end of tag names. --- opcua/ua/uatypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opcua/ua/uatypes.py b/opcua/ua/uatypes.py index 229e0fca..a1d33ea8 100644 --- a/opcua/ua/uatypes.py +++ b/opcua/ua/uatypes.py @@ -351,7 +351,7 @@ def _from_string(string): continue k, v = el.split("=", 1) k = k.strip() - v = v.strip() + v = v.lstrip() if k == "ns": namespace = int(v) elif k == "i":