From c6e9f914fe93f3f674c20fded71bf7e18b8df600 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sun, 30 Aug 2009 12:25:00 +0200 Subject: beta 2009.08.30 12:25 --- scripts/context/ruby/base/ctx.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/context/ruby/base/ctx.rb b/scripts/context/ruby/base/ctx.rb index a077297f2..13b4045af 100644 --- a/scripts/context/ruby/base/ctx.rb +++ b/scripts/context/ruby/base/ctx.rb @@ -124,6 +124,11 @@ class CtxRunner report("loading ctx file #{@ctxname}") end + if @xmldata then + # out if a sudden rexml started to be picky about namespaces + @xmldata.gsub!(//,"") + end + begin @xmldata = REXML::Document.new(@xmldata) rescue -- cgit v1.2.3