I have a schema “CapabilityType” in which i have an attribute “id” of type xs:ID for each CapabilityTypeDocument.
I also have a schema “Capability” in which there is an attribute “primary_type_id” of type xs:IDREF
both schemas reside in the same collection.
When i try to set the attribute /Capability/@primary_type_id to a value that was queried from /CapabilityType/@id Tamino returns and error “StoreException occurred: insert failed” with the stacktrace being Tamino access failure (INOXDE7714, (cvc-id.1): undefined IDREF value, Line 1, Column 54: [IDREF value: df4gjp1x]) where ‘df4gjp1x’ is an @id of a CapabilityType
It seems like the IDREFs are only within the context of a schema instead of a collection.
Q1: Is there a way arround this ?
Q1.1: is it even worth making /CapabilityType/@id an xs:ID type and /Capability/@primary_type_id an xs:IDREF instead of an xs:string ?
–joeycz
X-Application Version: 4.1.1
Tamino Version : 4.1.1
Platform : Win2k
WebContainer : Tomcat 4.1.1
JDK Version : 1.4.1
#Tamino#webMethods#API-Management