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

Message document extracted from a COLLECT must contain all required namespaces #110

Closed
petringo opened this issue Nov 11, 2021 · 1 comment · Fixed by #111
Closed

Message document extracted from a COLLECT must contain all required namespaces #110

petringo opened this issue Nov 11, 2021 · 1 comment · Fixed by #111
Assignees
Labels

Comments

@petringo
Copy link
Contributor

Sometimes the message document within a COLLECT document may not contain all namespace declarations, if some of them are already declared within the <collect:MeteorologicalBulletin> element. Although this is not recommended practice, it is valid. Such cases must be handled correctly, so that resulting message document contains all namespace declarations used within the document.

@petringo
Copy link
Contributor Author

petringo commented Dec 9, 2021

Actually, namespace declarations were in place, resulting in a valid XML document. But the xmlns attributes were not necessarily in the root element. This is what to change here.

petringo added a commit to fmidev/aviation-message-archiver that referenced this issue Dec 9, 2021
@kasarit kasarit closed this as completed Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants