On 2/9/08, Magnus Manske magnusmanske@googlemail.com wrote:
Of course, I cheap out in another regard there: wiki2xml parses images and links alike, and parses even links with "too many" parameters. My reasons for that:
It just depends a lot on what exactly the levels of parsing/code generation/extensions etc are in the final product. It would seem incomplete for me to not parse image options and to pretend that "thumbnail" is some mysterious third party extension keyword that I don't need to know anything about. OTOH, I'm not planning on doing anything with <ref> beyond recognising that it's a particular, valid XML-style construct.
(Another mini milestone, it now parses that example perfectly, images and all. Though I'm sure there are still plenty of tables that will break it)
Steve