Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: app-schema plugin
-
Labels:None
Description
cgu:CodeWithAuthorityType is not treated as ComplexAttribute by EMFAppSchemaReader, with the symptom being that codeSpace is not set despite ClientProperties being set in app-schema. Seen in PIRSA MinOcc mo:Commodity/commodityGroup and commodityName. Debugging indicates that a bare string is passed for encoding, not a ComplexAttribute as expected.
<complexType name="CodeWithAuthorityType"> <annotation> <documentation>gml:CodeWithAuthorityType requires that the codeSpace attribute is provided in an instance.</documentation> </annotation> <simpleContent> <restriction base="gml:CodeType"> <attribute name="codeSpace" type="anyURI" use="required"/> </restriction> </simpleContent> </complexType>
I sort of know how to fix it.. this is another case of complex type with simple content. The fix for last time was half done, I guess.