04/14/2020
In the model xml file, I have a ':' character and a '~' in some SymbolicName attributes for Object elements. These characters are causing exceptions to be thrown while running ModelCompiler. They fail in different ways, the colon I think because it is also the namespace prefix delimiter, but the '~' fails in a method Validate2() in the ModelCompiler.
Is there some way to include these characters by escaping them, or encoding them in the xml? Or are they even allowed in OPCUA spec?
Also, same question for BrowseName text, can those characters be embedded in the content of the xml element?
How can I get these characters through the modelcompiler so that they are exposed in OPCUA?
05/30/2017
The SymbolicName is limited to characters that can be used for variable names in programming languages.
If you have BrowseNames that have special characters then you need to explicitly define the BrowseName element and choose a different SymbolicName.
Any characters that cause problems for XML parsers need to be escaped using XML conventions. i.e. '<' becomes '<'.
1 Guest(s)