OPC UA Schema Validation at Design/Definition Phase | OPC UA Standard | Forum

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
OPC UA Schema Validation at Design/Definition Phase
Avatar
Mohit Agarwal
Member
Members
Forum Posts: 11
Member Since:
10/18/2019
sp_UserOfflineSmall Offline
1
10/16/2020 - 08:02
sp_Permalink sp_Print sp_EditHistory

Hi,

Is there any way to validate the OPC UA schema (currently it is XML Nodeset and in future it might be JSON as well) while defining a new Companion Specification.

Basically, developer and tester will test the defined Mandatory parameters and respective rules as per specification and use CTT in relevant case, BUT is there any way, OPC UA schema can be validated using sample data similar to what we have in JSON Validator?

Avatar
Randy Armstrong
Admin
Forum Posts: 485
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
10/20/2020 - 07:48
sp_Permalink sp_Print

It is not clear what kind of validation you are expecting.

When the specification is being developed, authors are expected to use the NodeSetValidator to ensure their word document matches the NodeSet.

Once the specification has been published there are CTT test cases for some information models. Overtime it this will become more common.

Avatar
Mohit Agarwal
Member
Members
Forum Posts: 11
Member Since:
10/18/2019
sp_UserOfflineSmall Offline
3
10/21/2020 - 03:45
sp_Permalink sp_Print

Thanks Randy, I agree that CTT will be used for validation of the application which has implemented the specifications.

It was just to understand we something can be validated before implementation of the specification in the Nodeset Schema.

JSON Validator can verify the structure/type definition -- https://www.newtonsoft.com/jso.....hema.htm 

So, I was just thinking can that be done to the schema defined for the specification to ensure it is valid before products implement it.

Maybe for OPC UA, CTT is the best way for verification and validation both.

Avatar
Randy Armstrong
Admin
Forum Posts: 485
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
10/21/2020 - 06:58
sp_Permalink sp_Print

The NodeSetValidator is the tool that is required to be used.

It is constantly being enhanced to add checks which improve the quality of the companion specifications.

Forum Timezone: America/Phoenix
Most Users Ever Online: 202
Currently Online:
Guest(s) 12
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 9
Topics: 764
Posts: 2249