[Phoenix-commits] rev 14136 -
public/phoenix/trunk/phoenix/prototypes/prototype1/src/chrome/content
andi at wyona.com
andi at wyona.com
Mon Jun 12 18:49:41 CEST 2006
Author: andi
Date: 2006-06-12 18:49:40 +0200 (Mon, 12 Jun 2006)
New Revision: 14136
Modified:
public/phoenix/trunk/phoenix/prototypes/prototype1/src/chrome/content/cmsui.js
Log:
Base functionality for extracting the specification version from the introspection file.
Modified: public/phoenix/trunk/phoenix/prototypes/prototype1/src/chrome/content/cmsui.js
===================================================================
--- public/phoenix/trunk/phoenix/prototypes/prototype1/src/chrome/content/cmsui.js 2006-06-12 16:29:38 UTC (rev 14135)
+++ public/phoenix/trunk/phoenix/prototypes/prototype1/src/chrome/content/cmsui.js 2006-06-12 16:49:40 UTC (rev 14136)
@@ -40,6 +40,7 @@
var xmlDocument = null;
var success = null;
var namespace = null;
+ var nsNode = null;
/* DEBUG */ dump("cmsui.js:CMSUI.introspection() invoked\n");
@@ -57,6 +58,13 @@
// load successful, get version
namespace = xmlDocument.evaluate('introspection/namespace', xmlDocument, null, XPathResult.ANY_TYPE, null);
+ /* DEBUG */ dump("cmsui.js:CMSUI.introspection: introspection namespace result type = \"" + namespace.resultType + "\"\n");
+ /* DEBUG */ dump("cmsui.js:CMSUI.introspection: introspection namespace = \"" + namespace + "\"\n");
+
+ nsNode = namespace.iterateNext();
+ do {
+ /* DEBUG */ dump("cmsui.js:CMSUI.introspection: namespace node name = \"" + nsNode.nodeName + "\"\n");
+ } while (nsNode = namespace.iterateNext());
} else {
// load failed
throw new CMSUIException("cmsui.js:CMSUI.introspection: loading introspection file \"" + aURI + "\" failed.");
More information about the Phoenix-commits
mailing list