Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

<references> must happen before <info>? #61

Open
junghao opened this issue Mar 29, 2020 · 0 comments
Open

<references> must happen before <info>? #61

junghao opened this issue Mar 29, 2020 · 0 comments

Comments

@junghao
Copy link

junghao commented Mar 29, 2020

We got "automated error message from Google" which indicated <references> returned by our cap service has invalid content.

Error details: cvc-complex-type.2.4.a: Invalid content was found starting with element 'references'. One of '{"urn:oasis:names:tc:emergency:cap:1.2":info, WC["http://www.w3.org/2000/09/xmldsig#"]}' is expected.

After some random copy-pastes I found that <references> must happen before <info> otherwise the validator will not happy. Is this in CAP spec or it's just a bug?

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant