Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding root xml tag name (VAST) #9

Open
milos-pesic-zattoo opened this issue May 21, 2024 · 0 comments
Open

Adding root xml tag name (VAST) #9

milos-pesic-zattoo opened this issue May 21, 2024 · 0 comments

Comments

@milos-pesic-zattoo
Copy link

It would be great to include root xml tag name (VAST) to be able to catch problems with parsing other xml based formats (e.g vmap) earlier. Sometimes ad servers might respond with e.g vmap (xml format as well) in which case unmarshalling succeeds - and would be nicer to get an early error in that case.
It's one liner inside VAST struct:

XMLName xml.Name `xml:"VAST"`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant