Activity report on

  *[JIRA] Bug SKER4947 - StringChopper will not handle cdata*

  Scarab Link: http://sesat.no/scarab/issues/id/SKER4947
  Module: Sesat> Kernel


  Activity generated by Mick Semb Wever ([EMAIL PROTECTED]) at 11/14/2008 10:26

  *Reasons for the changes*


  *Comments*
  - By Mick Semb Wever - 11/14/2008 10:26 ---
  "Here's a slightly different approach to handle CDATA.

Extend the StringChopper to *always* escape what's inside the CDATA (since it's 
likely dangerous to be used verbosely in our html output), and then strip away 
the "<![CDATA[" and "]]>" prefix and ending.

If this is done first, then the truncation (and element-tag balancing) can 
occur afterwards.
This approach should only incur a performance hit when the CDATA actually 
exists."
_______________________________________________
Kernel-issues mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-issues

Svar til