summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2009-08-30 12:25:00 +0200
committerHans Hagen <pragma@wxs.nl>2009-08-30 12:25:00 +0200
commitc6e9f914fe93f3f674c20fded71bf7e18b8df600 (patch)
tree8ded03adf7b4320e916a2a10b96456584c18b24f /scripts
parentd4f9912131353d01960eeed7a0d80e7227710b44 (diff)
downloadcontext-c6e9f914fe93f3f674c20fded71bf7e18b8df600.tar.gz
beta 2009.08.30 12:25
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/ruby/base/ctx.rb5
1 files changed, 5 insertions, 0 deletions
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!(/<ctx:job>/,"<ctx:job xmlns:ctx='http://www.pragma-ade.com/rng/ctx.rng'>")
+ end
+
begin
@xmldata = REXML::Document.new(@xmldata)
rescue