As I know, HTML5 has standard parsing algorithm:
http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#parsing
But I didn't find a corresponding one for XML. Does it have ?
I also found one for XHTML.
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-xhtml-syntax.html#xml-parser
But it is extremely general compared to the HTML5's. Is it the same with XML's ?