vast icon indicating copy to clipboard operation
vast copied to clipboard

Vast 3 maxOccurs of <Error> and <Error> at root

Open ecammit opened this issue 6 years ago • 1 comments

Issue 1

https://github.com/InteractiveAdvertisingBureau/vast/blob/dac12742cf6124ecfc48338c9981cd1fb4770906/vast3_draft.xsd#L80

Please clarify:

Vast 3 final spec (https://www.iab.com/wp-content/uploads/2015/06/VASTv3_0.pdf), section "2.2.4.2 Optional InLine Elements" states:

<Error>: a URI representing an error-tracking pixel; this element can occur multiple times. Errors are defined in section 2.4.2.3.

If I'm interpreting this correctly, this would seem to indicate that the maxOccurs should be "unbounded" in the xsd, not "1" -- similar to the <Impression> element.

Also, while not explicit in the spec, I would imagine, the <Error> inside the <Wrapper> would match: https://github.com/InteractiveAdvertisingBureau/vast/blob/dac12742cf6124ecfc48338c9981cd1fb4770906/vast3_draft.xsd#L293

Issue 2

There should be an <Error> element defined at the root <VAST> element. See section "6 Human Readable VAST XML Schema" in the spec as well as "2.2.5.1 Summary of VAST Tracking Elements".

ecammit avatar Jan 04 '19 18:01 ecammit

Thank you for identifying this issue. We are not currently making edits to VAST 3 any longer as it is more in long term maintenance mode. I will leave this issue open for now, but I don't expect any changes to occur. If you identify similar issues with the VAST 4.x xsd files please open a new issue and we will review.

goosemanjack avatar Feb 05 '19 17:02 goosemanjack