lib/xsd/xmlparser/parser.rb in soap4r-ng-2.0.2 vs lib/xsd/xmlparser/parser.rb in soap4r-ng-2.0.3
- old
+ new
@@ -9,11 +9,10 @@
require 'xsd/qname'
require 'xsd/ns'
require 'xsd/charset'
-
module XSD
module XMLParser
class Parser
@@ -87,9 +86,10 @@
end
def xmldecl_encoding=(charset)
if @charset.nil?
@charset = charset
+ p "encoding definition: #{ charset } is configured." if $DEBUG
else
# Definition in a stream (like HTTP) has a priority.
p "encoding definition: #{ charset } is ignored." if $DEBUG
end
end