in reply to the axml parser v3.4
Why do you keep escaping and unescaping the []()?+? And why do you try to parse the XML yourself instead of using a parser? The code would be much much simpler and safer if you did that ... parsing XML with regexps is generally a bad idea. Also I find your s@...@...@ and m@...@ hard to read. If you do not want to use slashes (as they are present in the end tags) use s{...}{} and m{...}. I do think that's much more readable.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: the axml parser v3.4
by simonodell1 (Novice) on Apr 12, 2007 at 11:44 UTC | |
by jdporter (Paladin) on Apr 13, 2007 at 16:04 UTC | |
by Jenda (Abbot) on Apr 13, 2007 at 15:03 UTC | |
by Anonymous Monk on Apr 12, 2007 at 17:31 UTC |