lib/nokogiri/xml.rb in nokogiri-maglev--1.5.0.1 vs lib/nokogiri/xml.rb in nokogiri-maglev--1.5.2
- old
+ new
@@ -33,9 +33,15 @@
Nokogiri::XML::Document.parse(thing, url, encoding, options, &block)
end
end
module XML
+ # Original C14N 1.0 spec canonicalization
+ XML_C14N_1_0 = 0
+ # Exclusive C14N 1.0 spec canonicalization
+ XML_C14N_EXCLUSIVE_1_0 = 1
+ # C14N 1.1 spec canonicalization
+ XML_C14N_1_1 = 2
class << self
###
# Parse an XML document using the Nokogiri::XML::Reader API. See
# Nokogiri::XML::Reader for mor information
def Reader string_or_io, url = nil, encoding = nil, options = ParseOptions::STRICT