1# -*- encoding: utf-8 -*- 2# REXML is an XML toolkit for Ruby[http://www.ruby-lang.org], in Ruby. 3# 4# REXML is a _pure_ Ruby, XML 1.0 conforming, 5# non-validating[http://www.w3.org/TR/2004/REC-xml-20040204/#sec-conformance] 6# toolkit with an intuitive API. REXML passes 100% of the non-validating Oasis 7# tests[http://www.oasis-open.org/committees/xml-conformance/xml-test-suite.shtml], 8# and provides tree, stream, SAX2, pull, and lightweight APIs. REXML also 9# includes a full XPath[http://www.w3c.org/tr/xpath] 1.0 implementation. Since 10# Ruby 1.8, REXML is included in the standard Ruby distribution. 11# 12# Main page:: http://www.germane-software.com/software/rexml 13# Author:: Sean Russell <serATgermaneHYPHENsoftwareDOTcom> 14# Date:: 2008/019 15# Version:: 3.1.7.3 16# 17# This API documentation can be downloaded from the REXML home page, or can 18# be accessed online[http://www.germane-software.com/software/rexml_doc] 19# 20# A tutorial is available in the REXML distribution in docs/tutorial.html, 21# or can be accessed 22# online[http://www.germane-software.com/software/rexml/docs/tutorial.html] 23module REXML 24 COPYRIGHT = "Copyright © 2001-2008 Sean Russell <ser@germane-software.com>" 25 DATE = "2008/019" 26 VERSION = "3.1.7.3" 27 REVISION = %w$Revision: 39952 $[1] || '' 28 29 Copyright = COPYRIGHT 30 Version = VERSION 31 32 @@entity_expansion_text_limit = 10_240 33 34 # Set the entity expansion limit. By default the limit is set to 10240. 35 def self.entity_expansion_text_limit=( val ) 36 @@entity_expansion_text_limit = val 37 end 38 39 # Get the entity expansion limit. By default the limit is set to 10240. 40 def self.entity_expansion_text_limit 41 return @@entity_expansion_text_limit 42 end 43end 44