UA-Nodeset icon indicating copy to clipboard operation
UA-Nodeset copied to clipboard

BOM problem

Open undroidwish opened this issue 2 years ago • 4 comments

UA-Nodeset/Robotics

The file OpcUaRoboticsModel.xml is not a valid XML document since it contains a UTF-8 encoded BOM at its start.

undroidwish avatar Jul 31 '23 22:07 undroidwish

Do you have a reference to a spec that says a BOM is not valid XML or is it an issue with the tool you want to use?

opcfoundation-org avatar Jul 31 '23 22:07 opcfoundation-org

Also OpcUaRoboticsModel.xml is not a normative document and will be deleted in the future. You should be able to strip the BOM with any tool like Notepad++.

opcfoundation-org avatar Jul 31 '23 22:07 opcfoundation-org

OpcUaRoboticsModel.xml is the input file for the ModelCompiler, added by the Editor to work with the .Net SDK.

@xenonforlife

GoetzGoerisch avatar Aug 01 '23 09:08 GoetzGoerisch

The ModelCompiler can accept the normative NodeSet file as input now. A separate ModelDesign is not required. That said, the ModelCompiler should be able to deal with the BOM.

Checked in a version with no BOM.

opcfoundation-org avatar Aug 01 '23 11:08 opcfoundation-org