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. > 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. -- https://annevankesteren.nl/ _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform