CybOXProject / schemas

CybOX Schemas and Schema Development
42 stars 17 forks source link

WhoisObj:WhoisContactType is defined in a non-standard way #406

Open rpiazza opened 8 years ago

rpiazza commented 8 years ago

Here is the definition in the XSD for the contact_type attribute of WhoisObj:WhoisContactType

xs:annotation xs:documentationThe contact_type field specifies what type of contact this is. Only values from WhoisObj:RegistrarContactTypeEnum can be used./xs:documentation /xs:annotation xs:simpleType /xs:simpleType /xs:attribute I’m not sure why this was so complex – can’t you just add type=”WhoisObj:WhoisContactTypeEnum” to the attribute tag? Also the documentation – says “values from WhoisObj:RegistrarContactTypeEnum”. Given the rest of the definition and the fact that there is no such enumeration, this seems like a typo.