Am 24.05.17 um 09:34 schrieb Anne van Kesteren:
On Tue, May 23, 2017 at 8:23 PM, Eric Rahm <er...@mozilla.com> wrote:
I was hoping to write a more thorough blog post about this proposal (I have
some notes in a gist), but for now I've added comments inline. The main
takeaway here is that I want to do a bare-bones replacement of just the
parts of expat we currently use. It needs to support DTD entities, have a
streaming interface, and support XML 1 v4. That's it, no new features, no
rewrite of our entire XML stack.

"XML5" supports entities (at least my original version did), I think
the main problem is that there's no support for external DTDs. Not
sure how much that differs from parsing the internal subset. Either
way, that's always been a feature that as far as the web is concerned
is not supported so could conceivably be a Firefox-only thing. Only
XUL needs it.

Technical correction, our use of DTDs is independent of XUL, we use the same thing for XHTML UI parts. Which is the reason why we're not using HTML there.

We do intend to get rid of it, that's what L20n and Fluent are for, and we're more than happy to see more people fight for that :-)

Truth be told, though, we can only drop support when the last bit of UI is converted to L20n, and not just in Firefox, but also the other stuff. Y'know, Thunderbird, too, I guess.

Axel

My current goal is a drop-in replacement for expat with just the features
gecko cares about, so just 1.0 version 4 I guess. It's possible whatever we
end up with could be merged with another library when XML5 is settled, but I
don't want to wait for that.

Contrary to Henri, I think XML 1.0 edition 5 (which isn't "XML5") is
worth considering given
https://bugzilla.mozilla.org/show_bug.cgi?id=501837. It's what Chrome
ships and our current implementation doesn't seem to align with either
the 4th or 5th edition of XML 1.0.



_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to