aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rexml/doctype.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/doctype.rb')
-rw-r--r--lib/rexml/doctype.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/rexml/doctype.rb b/lib/rexml/doctype.rb
index d70ea6fd6c..084676afa9 100644
--- a/lib/rexml/doctype.rb
+++ b/lib/rexml/doctype.rb
@@ -163,6 +163,20 @@ module REXML
end
end
+ class ExternalEntity < Child
+ def initialize( src )
+ super()
+ @entity = src
+ end
+ def to_s
+ @entity
+ end
+ def write( output, indent )
+ output << @entity
+ output << "\n"
+ end
+ end
+
class NotationDecl < Child
def initialize name, middle, rest
@name = name