CybOXProject / schemas

CybOX Schemas and Schema Development
42 stars 17 forks source link

Location annotations are incorrect #361

Open gtback opened 9 years ago

gtback commented 9 years ago

This line appears 5 times: 3 in core ([1] [2] [3]) and twice in common ([1] [2]):

This field is implemented through the xsi:type extension mechanism. The default type is CIQAddressInstanceType in the http://cybox.mitre.org/extensions/Identity#CIQAddress-1 namespace. This type is defined in the extensions/location/ciq_address_3.0.xsd file or at the URL http://cybox.mitre.org/XMLSchema/extensions/location/ciq_address/1.0/ciq_address_3.0.xsd.

  1. The type name should be CIQAddress3.0InstanceType.
  2. The namespace should be http://cybox.mitre.org/extensions/Address#CIQAddress3.0-1 (from the targetNamespace defined in the schema file (though perhaps it should be Location instead of Address, given the name of the extension).
  3. The URL should be: http://cybox.mitre.org/XMLSchema/extensions/location/ciq_address_3.0/1.0/ciq_address_3.0.xsd