Skip to content

Commit f98d418

Browse files
committed
Set up "xml:" namespace on initialize
1 parent df74a0b commit f98d418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rexml/parsers/baseparser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def stream=( source )
185185
@tags = []
186186
@stack = []
187187
@entities = []
188-
@namespaces = {}
188+
@namespaces = {"xml" => "http://www.w3.org/XML/1998/namespace"}
189189
@namespaces_restore_stack = []
190190
end
191191

0 commit comments

Comments
 (0)