Hi, Vincent
I test the xhtml parser. There is the focus:
1. base text format
underline. I think you can fix it.
2. List
both number and bulleted.
The problem is in wikimodel xhtmlparser. It don't parser nested list
correctly. I think it hard to fix but I will try my best.
3. Link
For input <html><body><a
href=\"http://xwiki.org\">xwiki</a></body></html>, the
xhtmlparser
generate
beginDocument()
beginParagraph([])
beginFormat([])
xwiki<http://xwiki.org> endFormat([])
endParagraph([])
endDocument()
I use XhtmlParser and EventDumpListener.
But the WikiModelXHTMLParser don't handle the event. Maybe
XDOMGeneratorListener have some problem to generate link block. Any
suggestion about this? Thanks.
4. table
Xhtmlparser can generate table event, but XDOMGeneratorListener don't
handle the event correctly. Is it not finished?
5. img
Xhtmlparser just ignore the <img> tag. But it's OK since I use
imagetagfilter to handle the <img>
6. param of text
like <p align="center">text</p>. how to handle the algin parameter?
I think, if the problem above can be fixed, xhtmlparser will work for
conversion from xhtml to xwiki syntax.
Thanks.
Wang Ning