|
||||
[Chameleon-dev] [Bug 158] [Chameleon 1.1] Enable Commenting out cwc2 tags in templatebugzilla-daemon@www.maptools.org bugzilla-daemon@www.maptools.orgTue, 9 Dec 2003 18:07:42 -0500
|
http://www.maptools.org/bugzilla/show_bug.cgi?id=158 ------- Additional Comments From morissette@dmsolutions.ca 2003-12-09 18:07 ------- > If not, why are we using a hand-made parser to parse the cwc2 tags? Because we don't need a real parser. The current method is not a parser: it only looks for the CWC2 tags using regular expressions and only does textual replacements... it's as optimal as it gets while remaining very flexible and easy to maintain. A real parser would add tons of unnecessary overhead and probably wouldn't work on HTML documents anyway: most of the time HTML doesn't validate as XML (I know it could in theory, but people are lazy), and just an unclosed XML tag (such as <p> or <br> which are extremely common) is enough to confuse any XML parser. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |