r1714 - in branches/bxe_2_0: mozile relaxng

[email protected] Mon, 13 Aug 2007 08:03:40 +0200 (CEST)
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Mon Aug 13 08:03:40 2007
New Revision: 1714

Log:
add NS support to bxe:nextelement


Modified:
   branches/bxe_2_0/mozile/mozilekb.js
   branches/bxe_2_0/relaxng/RelaxNG.js

Modified: branches/bxe_2_0/mozile/mozilekb.js
==============================================================================
--- branches/bxe_2_0/mozile/mozilekb.js	(original)
+++ branches/bxe_2_0/mozile/mozilekb.js	Mon Aug 13 08:03:40 2007
@@ -418,7 +418,7 @@
 					//we're at the end of the line
 					if (textNode.data.replace(/[\s\n\t\r]*$/,"").length <= cssr.startOffset) {
 						if (lala.vdom.bxeNextelement) {
-						eDOMEventCall("appendNode",document,{"appendToNode": lala, "localName":lala.vdom.bxeNextelement, "namespaceURI":null});// ,"namespaceURI":widget.InsertNamespaceURI})
+						eDOMEventCall("appendNode",document,{"appendToNode": lala, "localName":lala.vdom.bxeNextelement, "namespaceURI":lala.vdom.bxeNextelementNS});// ,"namespaceURI":widget.InsertNamespaceURI})
 						}
 						// useless for now, bt maybe needed again later
 						// FIXME: check, if allowed :)

Modified: branches/bxe_2_0/relaxng/RelaxNG.js
==============================================================================
--- branches/bxe_2_0/relaxng/RelaxNG.js	(original)
+++ branches/bxe_2_0/relaxng/RelaxNG.js	Mon Aug 13 08:03:40 2007
@@ -435,6 +435,7 @@
 					break;
 				case "nextelement":
 					this.bxeNextelement = childNodes[i].firstChild.data;
+					this.bxeNextelementNS = childNodes[i].getAttribute("ns");
 					break;
 				case "onnew":
 					this.bxeOnnewType = childNodes[i].getAttribute("type");
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs