HTML_IN Converter Done

The Goal is to have a working converter : HTML in to DOM Tree.

Actually, the converter is not 100% done, but I am going to tackle the DocBook converter first, since I want to get more experience with the converters, before taking any decision about how we can handle style.

I also need during the upcoming week to seek for the latest bug before going ahead.

Adding roundtrip unit test

I added different tests to show the possible results of a roundtrip conversion : HTML --> DOM --> HTML, typically, which could happens when you save a Page from the WYSIWYG editor. I am now having stable conversion. (Previously, some <div> would be always added).

Fix stupid XPATH tests

I discovered today that I misunderstood the union in XPATH. (the | sign). I thought that it was meaning logical "and", but it means the logical "or". So I changed my predicates in my tests to fix this big problem. I could discover some bug thanks to that.

Adding missing features in the HTML_OUT converter

I quickly added missing features in the HTML_OUT converter to have roundtrip conversion working well.

MoinMoin: ValentinJaniaut/GSoC/Diary/2010-06-28 (last edited 2010-06-28 21:08:18 by ValentinJaniaut)