Unable to Import OpcUaIANodeSet2.xml|OPC UA Companion Standards|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Unable to Import OpcUaIANodeSet2.xml
Avatar
Shubhi Gogna Shubhi Gogna
Member
Members
Forum Posts: 27
Member Since:
04/01/2014
sp_UserOfflineSmall Offline
1
01/23/2022 - 21:42
sp_Permalink sp_Print

Hi Team, 

I am trying to import OpcUaIANodeSet2.xml in my server, but it fails to parse the XML file. The problem with XML is at line number 1221, for Element/Attibute Name: "Locale" - Value: "enIndicates if the colour is switched on.Indicates if the colour is switched on."

The problem was missing quotes at line 1221 and 1494 i.e. <Description Locale="enIndicates….".

Quotes were missing in <Description Locale="enIndicates…." Should be like below:

<Description Locale="en">Indicates if the colour is switched on.Indicates if the colour is switched on.Indicates if the colour is switched on.</Description>

It looks like XML file needs to be corrected. Can you please confirm. Please let me know if this needs to be raised anywhere else.

Regards,

Shubhi Gogna

Avatar
Randy Armstrong
Admin
Forum Posts: 1444
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
01/24/2022 - 01:34
sp_Permalink sp_Print

Looks like you have a bad file. The one available here is fine:
https://files.opcfoundation.or.....deSet2.xml

Avatar
Shubhi Gogna Shubhi Gogna
Member
Members
Forum Posts: 27
Member Since:
04/01/2014
sp_UserOfflineSmall Offline
3
01/24/2022 - 19:49
sp_Permalink sp_Print

Hi Randy,

I am using the same XML as you have mentioned. In this XML also, I see problems. For Ex: at line 1221, for Node:- ns=1;i=6023, the value of Description is mentioned as below with wrong placement of angular brackets.

Actual Line:

<Description Locale="enIndicates if the colour is switched on.Indicates if the colour is switched on.">Indicates if the colour is switched on.</Description>

Expected Line:

<Description Locale="en">Indicates if the colour is switched on.Indicates if the colour is switched on. Indicates if the colour is switched on.</Description>

This behavior is present at many places in the XML file. Can you please confirm if this is issue.

Regards,

Shubhi Gogna

Avatar
Randy Armstrong
Admin
Forum Posts: 1444
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
02/04/2022 - 02:45
sp_Permalink sp_Print

Please enter a mantis issue:
https://mantis.opcfoundation.o.....default=no

You can manually edit your copy of the file in the meantime.

Avatar
Noradavis davis
usa
New Member
Members
Forum Posts: 1
Member Since:
01/21/2023
sp_UserOfflineSmall Offline
5
01/21/2023 - 04:27
sp_Permalink sp_Print sp_EditHistory

Hi Team,. I am trying to import OpcUaIANodeSet2.xml in my server, but it fails to parse the XML file. The problem with XML is at line number ...Questions about OPC UA companion specifications ... Companion specification for HVAC. Replies: 4. Views 570 ... Unable to Import OpcUaIANodeSet2.xml.I am trying to Import Boiler  spacebar clicker    NodeSet XML but it fails to due to Schema Violation. I downloaded from https://github.com/OPCFoundati.This overview explains the need and scope of OPC UA Companion Specifications. OPC UA Companion Specifications are developed for various reasons:.

Avatar
Randy Armstrong
Admin
Forum Posts: 1444
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
6
01/22/2023 - 13:23
sp_Permalink sp_Print

Your error messages make no sense. Can you post the exact schema violation errors?

Please ensure you are using the latest version of the tool.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 22
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1345
Posts: 4562