]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Comment that we never actually expect to see the string ]]> in a
authorJulian Seward <jseward@acm.org>
Sun, 16 Aug 2009 22:56:53 +0000 (22:56 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 16 Aug 2009 22:56:53 +0000 (22:56 +0000)
generated suppression, and hence the problem of having to split it
into multiple CDATA blocks is moot.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10832

docs/internals/xml-output-protocol4.txt

index 7da70a99a04d34ea75eab747d49b09174eeb8424..7db5d152ae92a344adf6a2e0c70344245b4a3d13 100644 (file)
@@ -318,6 +318,14 @@ ending with data "]]" and the other beginning with data "<".  This is
 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
 ------