diff --git a/xsd/onvif/onvif.go b/xsd/onvif/onvif.go index 95769709..b8ee1dc0 100644 --- a/xsd/onvif/onvif.go +++ b/xsd/onvif/onvif.go @@ -551,7 +551,7 @@ type PTZSpeed interface { } type PTZSpeedZoom struct { - Zoom Vector1D `xml:"onvif:Zoom,omitempty"` + Zoom Vector1D `xml:"onvif:Zoom"` } type PTZSpeedPanTilt struct { @@ -559,13 +559,13 @@ type PTZSpeedPanTilt struct { } type Vector2D struct { - X float64 `xml:"x,attr,omitempty"` - Y float64 `xml:"y,attr,omitempty"` + X float64 `xml:"x,attr"` + Y float64 `xml:"y,attr"` Space xsd.AnyURI `xml:"space,attr,omitempty"` } type Vector1D struct { - X float64 `xml:"x,attr,omitempty"` + X float64 `xml:"x,attr"` Space xsd.AnyURI `xml:"space,attr,omitempty"` }