|
From: <sv...@va...> - 2009-08-16 22:57:09
|
Author: sewardj Date: 2009-08-16 23:56:53 +0100 (Sun, 16 Aug 2009) New Revision: 10832 Log: Comment that we never actually expect to see the string ]]> in a generated suppression, and hence the problem of having to split it into multiple CDATA blocks is moot. Modified: trunk/docs/internals/xml-output-protocol4.txt Modified: trunk/docs/internals/xml-output-protocol4.txt =================================================================== --- trunk/docs/internals/xml-output-protocol4.txt 2009-08-16 22:52:29 UTC (rev 10831) +++ trunk/docs/internals/xml-output-protocol4.txt 2009-08-16 22:56:53 UTC (rev 10832) @@ -318,7 +318,15 @@ why the spec calls for one or more CDATA blocks rather than exactly one. +Note that, so far, we cannot envisage a circumstance in which a +generated suppression would contain the string "]]>", since neither +"]" nor ">" appear to turn up in mangled symbol names. Hence it is +not envisaged that there will ever be more than one CDATA block, and +indeed the implementation as of Valgrind 3.5.0 will only ever generate +one block (it ignores any possible escaping problems). Nevertheless +the specification allows multiple blocks, as a matter of safety. + SFRAME ------ Either |