Skip to content

Correct HTML namespaces #489

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

Merged
merged 1 commit into from
Jul 20, 2021
Merged

Correct HTML namespaces #489

merged 1 commit into from
Jul 20, 2021

Conversation

Malvoz
Copy link
Member

@Malvoz Malvoz commented Jul 20, 2021

(See Maps4HTML/MapML-Specification#198)

@prushforth This PR only corrects current namespace declarations, but there are quite a few .mapml files that have <mapml> elements without a namespace declaration. Should I fix that before we proceed to merge this PR?

@prushforth prushforth merged commit c442573 into Maps4HTML:master Jul 20, 2021
@Malvoz Malvoz deleted the html-namespace branch July 20, 2021 14:10
@prushforth
Copy link
Member

During processing of #515 I discovered that by correcting the namespace on GeoGratis resources e.g. this one, I can no longer 'force' the browser to parse the response with the XML parser, it sniffs the namespace and parses with the (X)HTML(?) parser, with the result being that it displays a very simple web page with only the text content rendered (the map-title). Not a big deal, better to have the correct namespace, but interesting.

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

Successfully merging this pull request may close these issues.

2 participants