Closed FelixD999 closed 9 months ago
It's likely more stringent about schema format with some of the updates we've done recently, most notably with enforcing the usage of arrays. I'm guessing there's a scheme reference to "Policy" somewhere that doesn't resolve. Are you able to provide copies of these schema file? They appear to be OEM not something I would find in DMTF publications.
Thanks for your answer. Attached is the OEM schema file related to NmDomain. DMTF_554.zip
There are quite a few CSDL issues I see in the schemas that need to be corrected. It would be good if the tool wouldn't crash in the first place, but as things stand with those schemas, they cannot be parsed properly.
At least specifically with some of the "Policy" types of properties, a few things stick out to me...
NmPolicy
doesn't contain a Policy
EntityType. I suspect this is supposed to be Collection(NmPolicy.NmPolicy)
.Edm.String
. NavigationProperty terms cannot reference primitive types like this; they need to reference some sort of EntityType definition.The schema issue in NmDomain_v1.xml at line 165 is what's causing this specific crash though.
After used version 2.3.6, tool cannot finish check and aborted validation with KeyError 'Policy'.
We tried a lower version (2.3.1) and it ran to completion, although there were errors at the same URL.
The log is as follows:
ConformanceLog_09_27_2023_170928.txt
May I know the meaning of KeyError "Policy" and how to successfully run the tool?
Thanks, Felix