[Bug 25294] DOMParser.parseFromString with application/whatever+xml

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25294

--- Comment #3 from David Junger <tffy@free.fr> ---
I know I can just pass "application/xml" or "text/xml". I just don't like that
the DOMParser as specified uses an argument that *looks* like a MIME type but
doesn't behave accordingly. It's misleading, especially with disagreeing
implementations.
If you want a small enumeration, why not just use {"html", "xml"} and nothing
else, since that's what really matters for the algorithm at this point? but
it's too late for that, so loosening the definition would be the next best
thing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 8 April 2014 21:25:13 UTC