You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xmlparser.py cannot parse PublicationDate if it is not given in different format than %Y-%m-%dT%H:%M:%SZ.
Format with UTC Offset for example 2023-05-31T10:45:30+02:00 is also valid and leads to error while importing the nodeset.
To Reproduce
Import an xml with PublicationDate in UTC offset format eg. 2023-05-31T10:45:30+02:00
awaitself.import_xml("xyz.xml")
Expected behavior
xmlparser will throw an error saying the format does not match
Describe the bug
xmlparser.py cannot parse
PublicationDate
if it is not given in different format than %Y-%m-%dT%H:%M:%SZ.Format with UTC Offset for example 2023-05-31T10:45:30+02:00 is also valid and leads to error while importing the nodeset.
To Reproduce
Import an xml with PublicationDate in UTC offset format eg. 2023-05-31T10:45:30+02:00
Expected behavior
xmlparser will throw an error saying the format does not match
Screenshots
Version
Python-Version: 3.7.0
opcua-asyncio Version: 1.0.2
Possible solution
A possible solution exists and can be added with pull request after discussion.
The text was updated successfully, but these errors were encountered: