aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v6/sst_from_xml.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v6/sst_from_xml.rb')
-rw-r--r--lib/sisu/v6/sst_from_xml.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/sisu/v6/sst_from_xml.rb b/lib/sisu/v6/sst_from_xml.rb
index 728f3f54..ee864b03 100644
--- a/lib/sisu/v6/sst_from_xml.rb
+++ b/lib/sisu/v6/sst_from_xml.rb
@@ -64,8 +64,12 @@
module SiSU_sstFromXML
require_relative 'sysenv' # sysenv.rb
class Convert
- require 'rexml/document'
- include REXML
+ begin
+ require 'rexml/document'
+ include REXML
+ rescue LoadError
+ SiSU_Utils::CodeMarker.new(__LINE__,__FILE__,:fuchsia).error('rexml/document NOT FOUND (LoadError)')
+ end
def initialize(opt)
@opt=opt
@sisu,@sisu_base=[],[]