Hi Unified Automation Team,
I use the Uamodeler tool to build my nodespace.
We will plan to use in the futur your XML parser (still in beta) that my colleague is testing.
The problem is that the nodeset XML file generated by the modeler seems not well formatted. Below is a very simple XML file generated by UAmodeler :
http://yourorganisation.org/test2/
http://opcfoundation.org/UA/
ns=1;i=35
ns=1;i=40
ns=1;i=47
test
i=5002
ns=1;i=58
ns=1;i=85
BaseObject
ns=1;i=58
i=5001
You can see the problem in bold : the ns=1 seems to be not necessary because the reference are related to the OPC Foundation XSD.
To the opposite, I think there must be ns=1 to the other node like this :
test
ns=1;i=5002
ns=1;i=58
ns=1;i=85
BaseObject
ns=1;i=58
ns=1;i=5001
It is as if the XSD was swapped. Maybe should I set something particular in settings but I don't know what to do.
Any help is appreciated.
Regards,
Sébastien
XML file generated by the modeler
Moderator: uamodeler
- Support Team
- Hero Member
- Posts: 3078
- Joined: 18 Mar 2011, 15:09
Re:XML file generated by the modeler
Hi Sébastien,
The order of the namespace uris was not defined in the XML schema when the UaModeler 1.1 was released.
To set the namespace uris correctly you can edit the settings file uamodeler.ini.
(For Windows 7 it is located at C:UsersUserNameAppDataRoamingunifiedautomationuamodeler)
You have to add to the section
and save the models.
The order of the namespace uris was not defined in the XML schema when the UaModeler 1.1 was released.
To set the namespace uris correctly you can edit the settings file uamodeler.ini.
(For Windows 7 it is located at C:UsersUserNameAppDataRoamingunifiedautomationuamodeler)
You have to add
Code: Select all
UriOrder=2
Code: Select all
[XML-Schema]
Best regards
Unified Automation Support Team
Unified Automation Support Team
-
- Sr. Member
- Posts: 12
- Joined: 13 Apr 2012, 10:23
Re:XML file generated by the modeler
Thanks for youre response, it works perfectly now.
Regards,
Sébastien
Regards,
Sébastien