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?
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 '<'.