Sjoerd Mullender wrote: > > ... > > CDATA sections are not part of the markup, so the XML parser > is allowed to coallese the multiple CDATA sections and other character > data into one string before it gives it to the application. Allowed but not required. Most SAX parsers will not. Some DOM parsers will and some won't. :( > So, yes, this requires smarts on the XML parsing stage, but I think > those smarts need to be there anyway. I don't follow this part. Typically those "smarts" are not there. At the end of one CDATA section you get an event and at the beginning of the next you get a different event. It's the application's job to glue them together. :( Fixing this is one of the goals of EventDOM. -- Paul Prescod - ISOGEN Consulting Engineer speaking for himself Pop stars come and pop stars go, but amid all this change there is one eternal truth: Whenever Bob Dylan writes a song about a guy, the guy is guilty as sin. - http://www.nj.com/page1/ledger/e2efc7.html
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4