Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opc.ua.i4aas.nodeset2.xml - Line: 1818: "AccessPermissionRule_0" error #100

Open
engacosta opened this issue Sep 30, 2023 · 5 comments
Open

Comments

@engacosta
Copy link

Hello, how are you?

I am trying to import opc.ua.i4aas.nodeset2.xml but following error is indicated:

XML Parsing - File: opc.ua.i4aas.nodeset2.xml - Line: 1818 - Parsing resulted in error : "BadInvalidArgument" - for Element/Attibute Name: "Type" - Value: "AccessPermissionRule_0"Please correct errors and upload file again.
The following syntax / schema errors occured :
Failed to Import File object details in Server. Error: BadSyntaxError: A value had an invalid syntax.(0x80B60000)

Do you have a solution suggestion since I did not find nothing about in the documentation?

Thank you!

@opcfoundation-org
Copy link
Contributor

What tool are you using to import?
Seems like the tool does not support the latest NodeSet schema.

@engacosta
Copy link
Author

What tool are you using to import? Seems like the tool does not support the latest NodeSet schema.
Hi OPCF! Thank you for the quick reply.

I am using Matrikon Data Broker and I was able to import most of the the v1.05 and 1.04 Nodesets.

I also tried to use Unified Automation UAModeler with the same XML Nodeset and the software screen freeze on format conversion step (using cloned file from Github Desktop). It works as expected if I save a raw XML file, however I understand that UAModeler does not check the XML inconsistencies.

@opcfoundation-org
Copy link
Contributor

The I4AAS nodeset does not have the embedded XSD needed to parse the values using DataTypes defined in the NodeSet.
This is allowed in 1.04 but it is possible existing tools are failing because they are looking for the embedded XSD.

You should contact Matrikon and ask them if their tools support NodeSets that only support the DataTypeDefinition Attribute which was introduced in 1.04.

@engacosta
Copy link
Author

The I4AAS nodeset does not have the embedded XSD needed to parse the values using DataTypes defined in the NodeSet. This is allowed in 1.04 but it is possible existing tools are failing because they are looking for the embedded XSD.

You should contact Matrikon and ask them if their tools support NodeSets that only support the DataTypeDefinition Attribute which was introduced in 1.04.

Thank you very much for your support! I will contact Matrikon support.
"Ótimo final de semana!" (Have a great weekend in Brazilian portuguese)!

@BFrKUKA
Copy link

BFrKUKA commented Oct 9, 2023

Hello engacosta,
please be aware, that the I4AAS Companion Specification is outdated, because it is NOT based on the latest "AAS Metamodel V3" (AAS Part 1) which was released in spring this year. (OPCUA I4AAS CS is several years old and not compatible to the AAS Metamodel V3).
There are discussions if there will be an "I4AAS V3 CS" development.
Today AAS V3 is based on the updated metamodel (AAS Part 1) and the RestApi Interface (Part 2)- see here for latest specifications of AAS:
https://industrialdigitaltwin.org/en/content-hub/downloads

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants