rehamaltamimi / gwtwiki

Automatically exported from code.google.com/p/gwtwiki
0 stars 0 forks source link

Parser is too stric on #redirect #50

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.get text from article on ENSO in simplewiki-20100317-pages-articles.xml.bz2 
(it says #Redirect [[El Niño-Southern Oscillation]])
2. parse it

What is the expected output? What do you see instead?
I expect a redirect, but I got a link inside an ordered list

What version of the product are you using? On what operating system?
3.0.11, WnidowsXP, Java 1.5

Please provide any additional information below.
Method parseRedirect inside class AbstractParser only recognizes #redirect or 
#REDIRECT. I'm parsing simplewiki-20100317-pages-articles.xml.bz2 and in 
several articles (Carbohydrates, ENSO, International organizations)it says 
#Redirect
I think t should be case unsensitive.

Original issue reported on code.google.com by pablogrisafi1975@gmail.com on 1 Sep 2010 at 3:25

GoogleCodeExporter commented 8 years ago

Original comment by axelclk@gmail.com on 1 Sep 2010 at 5:04

GoogleCodeExporter commented 8 years ago
Changed in SVN:
http://code.google.com/p/gwtwiki/source/detail?r=2154

Original comment by axelclk@gmail.com on 1 Sep 2010 at 5:06