summaryrefslogtreecommitdiff
path: root/src/library/scala/xml/SpecialNode.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/xml/SpecialNode.scala')
-rw-r--r--src/library/scala/xml/SpecialNode.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/xml/SpecialNode.scala b/src/library/scala/xml/SpecialNode.scala
index b0cd95a2f4..68fafc5def 100644
--- a/src/library/scala/xml/SpecialNode.scala
+++ b/src/library/scala/xml/SpecialNode.scala
@@ -15,10 +15,10 @@ import scala.runtime.compat.StringBuilder
/** <code>SpecialNode</code> is a special XML node which
* represents either text (PCDATA), a comment, a PI, or an entity ref.
- *
+ * SpecialNodes also play the role of XMLEvents for pull-parsing.
* @author Burak Emir
*/
-abstract class SpecialNode extends Node {
+abstract class SpecialNode extends Node with pull.XMLEvent {
/** always empty */
final override def attributes = Null