summaryrefslogtreecommitdiff
path: root/12-xml-expressions-and-patterns.md
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-03-12 17:43:32 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-03-12 17:43:32 -0700
commit3c0d964c350b5a2eaa3fdc53e4f24a6b86d27eba (patch)
tree90b30ab2ef2fa490a2d49de2741a0a12dd860a20 /12-xml-expressions-and-patterns.md
parent84bba26776a76252a4576947adc15364f5ae8e55 (diff)
downloadscala-3c0d964c350b5a2eaa3fdc53e4f24a6b86d27eba.tar.gz
scala-3c0d964c350b5a2eaa3fdc53e4f24a6b86d27eba.tar.bz2
scala-3c0d964c350b5a2eaa3fdc53e4f24a6b86d27eba.zip
SI-5155 xml patterns do not support cdata, entity refs or comments
Diffstat (limited to '12-xml-expressions-and-patterns.md')
-rw-r--r--12-xml-expressions-and-patterns.md5
1 files changed, 1 insertions, 4 deletions
diff --git a/12-xml-expressions-and-patterns.md b/12-xml-expressions-and-patterns.md
index b6998da116..5d4a60c33d 100644
--- a/12-xml-expressions-and-patterns.md
+++ b/12-xml-expressions-and-patterns.md
@@ -115,10 +115,7 @@ representations of an XML tree
that have the same structure as described by the pattern.
XML patterns may contain [Scala patterns](#pattern-matching-expressions).
-Whitespace is treated the same way as in XML expressions. Patterns
-that are entity references, CDATA sections, processing
-instructions and comments match runtime representations which are the
-the same.
+Whitespace is treated the same way as in XML expressions.
By default, beginning and trailing whitespace in element content is removed,
and consecutive occurrences of whitespace are replaced by a single space