Implement the "XML5" syntax #43

Closed
kmcallister opened this Issue Oct 13, 2014 · 3 comments

Projects

None yet

3 participants

@kmcallister
Contributor

A parser for well-formed XML 1.0 is a very different beast from a HTML parser. But there's this XML5 spec that is quite similar to HTML parsing and could re-use a lot of the machinery, if not the actual parse rules. Servo could potentially use this for all XML parts of the Web platform. See servo/servo#3319.

@kmcallister kmcallister added the XML label Oct 13, 2014
@jdm
Member
jdm commented Oct 14, 2014

For the record, this has been proposed as a potential project for the VALS Semester of Code, so please talk to me before starting any work on this.

@kmcallister
Contributor

Awesome! I would love to help students with html5ever projects.

@Ygg01 Ygg01 added a commit to Ygg01/html5ever that referenced this issue Mar 24, 2015
@Ygg01 Ygg01 Adds XML5 parsing to html5ever
Adds XML5 parser based on [spec](https://github.com/annevk/xml5) by
@annevk. Currently working draft resides on
https://github.com/Ygg01/xml5_draft and is rendered using
[Bikeshed](https://github.com/tabatkins/bikeshed).

This patch is only concerned with making it work right, according to
spec. Things to be done:
- Finish up the spec. Talk to SVG/MathML/XHTML people from Servo,
see what are their wishes. Lots of stuff is missing. Things like
stream definition, null handling,
- Unify XML5 and HTML5 parsers.
- Add support for DTD. Right now it panics. Perhaps this is
the correct behavior ;) (See [defused
xml](http://blog.python.org/2013/02/announcing-defusedxml-fixes-for-
xml.html) for juicy details )
- Add C API for XML parser

Closes #43.
77448b4
@Ygg01 Ygg01 added a commit to Ygg01/html5ever that referenced this issue Apr 6, 2015
@Ygg01 Ygg01 Adds XML5 parsing to html5ever
Adds XML5 parser based on [spec](https://github.com/annevk/xml5) by
@annevk. Currently working draft resides on
https://github.com/Ygg01/xml5_draft and is rendered using
[Bikeshed](https://github.com/tabatkins/bikeshed).

This patch is only concerned with making it work right, according to
spec. Things to be done:
- Finish up the spec. Talk to SVG/MathML/XHTML people from Servo,
see what are their wishes. Lots of stuff is missing. Things like
stream definition, null handling,
- Unify XML5 and HTML5 parsers.
- Add support for DTD. Right now it panics. Perhaps this is
the correct behavior ;) (See [defused
xml](http://blog.python.org/2013/02/announcing-defusedxml-fixes-for-
xml.html) for juicy details )
- Add C API for XML parser

Closes #43.
626e887
@Ygg01 Ygg01 added a commit to Ygg01/html5ever that referenced this issue Apr 13, 2015
@Ygg01 Ygg01 Adds XML5 parsing to html5ever
Adds XML5 parser based on [spec](https://github.com/annevk/xml5) by
@annevk. Currently working draft resides on
https://github.com/Ygg01/xml5_draft and is rendered using
[Bikeshed](https://github.com/tabatkins/bikeshed).

This patch is only concerned with making it work right, according to
spec. Things to be done:
- Finish up the spec. Talk to SVG/MathML/XHTML people from Servo,
see what are their wishes. Lots of stuff is missing. Things like
stream definition, null handling,
- Unify XML5 and HTML5 parsers.
- Add support for DTD. Right now it panics. Perhaps this is
the correct behavior ;) (See [defused
xml](http://blog.python.org/2013/02/announcing-defusedxml-fixes-for-
xml.html) for juicy details )
- Add C API for XML parser

Closes #43.
bbc890b
@SimonSapin SimonSapin closed this Jul 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment