OPCFoundation / UA-Nodeset

UA Nodeset
209 stars 149 forks source link

BOM problem #95

Open undroidwish opened 1 year ago

undroidwish commented 1 year ago

UA-Nodeset/Robotics

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

opcfoundation-org commented 1 year ago

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 commented 1 year ago

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++.

GoetzGoerisch commented 1 year ago

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

@xenonforlife

opcfoundation-org commented 1 year ago

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.