Re:MyHTML – HTML Parser on Pure C with POSIX Threads Support
by Mikhail_Edoshin on Saturday March 12, 2016 @11:24AM
(#11273370)
Basic XML parsing should be very simple, it's deterministic with one-symbol lookahead. There's a number of small C parsers out there and even one written in assembly. If you want to validate it though or parse DTDs, that's a different story.
[ Parent
| on HN ]
Re:MyHTML – HTML Parser on Pure C with POSIX Threads Support
by gsnedders on Saturday March 12, 2016 @01:04PM
(#11273774)
DTDs really are the thing that should never have been in XML. Namespaces in XML make them pretty useless, given they only have a concept of QNames and not namespace URL & local name tuples, and they don't compose in any sensible way. They are such a large part of the complexity of the XML it's just sad.