[
https://issues.apache.org/jira/browse/PLC4X-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17368870#comment-17368870
]
Matthias Milan Strljic commented on PLC4X-301:
----------------------------------------------
i had a quick peek at the problem and a possible solution would be to allow
kind of all types except of the ";" but also to strictly match the possible
dataTypes in the classificator?
So that we switch from:
"^ns=(?<namespace>\\d+);(?<identifierType>[isgb])=((?<identifier>[^:]+))?(:(?<datatype>[a-zA-Z_]+))?"
To Something like:
^ns=(?<namespace>\d+);(?<identifierType>[isgb])=((?<identifier>[a-zA-Z\d_:,.-]+))?(:(?<datatype>[(BOOL)(INT64)]))?
It is a bit dirty because of the coupling between the Pattern and the available
types but could solve the problem exept of opverlapping cases. For those we
would have to change the delimiter to the ";" of OPC UA for the OPC-Driver
> OPCUA address identifier with colon will not work
> -------------------------------------------------
>
> Key: PLC4X-301
> URL: https://issues.apache.org/jira/browse/PLC4X-301
> Project: Apache PLC4X
> Issue Type: Bug
> Components: Driver-OPC-UA
> Affects Versions: 0.8.0
> Reporter: Torsten
> Priority: Major
>
> If a field address has an identifier like
> „ns=6;s=::AsGlobalPV:dsMES.Read.ProductionOrder“, the colons in the field
> identifier does not match to the Regex in
> org.apache.plc4x.java.opcua.protocol.OpcuaField.
> Such fields are not accesable at the moment.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)