zhangchn / wiki2touch-standalone-ui

Automatically exported from code.google.com/p/wiki2touch-standalone-ui
1 stars 1 forks source link

indexer.cpp: namespace that should be ignored remains. #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
                                        case -2: // Media
                                        case -1: // Wiki
                                        case  1: // Talk
                                        case  2: // User  
                                        case  3: // User talk
                                        case  4: // Wikipedia
                                        case  5: // Wikipedia talk
                                        case  6: // Image
                                        case  7: // Image talk
                                        case  8: // Mediawiki
                                        case  9: // Mediawiki talk
                                        case 12: // Help 
                                        case 13: // Help talk
                                        case 14: // Category
                                        case 15: // Category talk
all these namespace should be ignored. but when run with zh dump, case after 8 
will not ignored.

What version of the product are you using? On what operating system?
N/A.

Please provide any additional information below.
I checked the source, found the bug came from tagAttributesSize. it's value 
should be reset to 0 when a collecting a new tag.

Original issue reported on code.google.com by simpzan on 5 Sep 2011 at 2:27