-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hanwha’s camera supports few custom metadata fields.
For example, In Object/Appearance/Color
cameras support the ColorString fileld which is not officially defined.
But if I see the below document,
https://www.onvif.org/ver10/schema/common.xsd
it defines ColorDescriptor like below,
<xs:complexType name="ColorDescriptor">
xs:sequence
<xs:element name="ColorCluster" minOccurs="0" maxOccurs="unbounded">
xs:complexType
xs:sequence
<xs:element name="Color" type="tt:Color"/>
<xs:element name="Weight" type="xs:float" minOccurs="0"/>
<xs:element name="Covariance" type="tt:ColorCovariance" minOccurs="0"/>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:anyAttribute processContents="lax"/>
</xs:complexType>
</xs:element>
<xs:element name="Extension" type="xs:anyType" minOccurs="0"/>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:anyAttribute processContents="lax"/>
</xs:complexType>
Clearly it has any filed so any of the additional custom fields can be listed. But 25.06 latest tool return the error message.
STEP 11 - Get Supported Metadata(Analytics)
StepStart: 2025-09-04T06:46:32.6152185Z
Transmit done
Receive done
The element 'ColorCluster' in namespace 'http://www.onvif.org/ver10/schema' has invalid child element 'ColorString' in namespace 'http://www.onvif.org/ver10/schema'. List of possible elements expected: 'Weight, Covariance' in namespace 'http://www.onvif.org/ver10/schema' as well as any element in namespace '##other'.
STEP FAILED
So my suggestion is to make sure that even if the test tool detects an undefined field, it doesn't return an error if that tag has ‘any’ tags below it.