r1409 - trunk/relaxng

[email protected]
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Thu Oct  6 19:47:04 2005
New Revision: 1409

Modified:
   trunk/relaxng/NodeVAL.js
Log:
more checks in nextVDOM

Modified: trunk/relaxng/NodeVAL.js
==============================================================================
--- trunk/relaxng/NodeVAL.js	(original)
+++ trunk/relaxng/NodeVAL.js	Thu Oct  6 19:47:04 2005
@@ -204,7 +204,9 @@
 }
 
 ContextVDOM.prototype.nextVDOM = function() {
-	var startVdom =this.vdom;
+	if (this.vdom == null || typeof this.vdom == 'undefined') {
+		return null;
+	}
 	var nextSib = this.vdom.getNextSibling(this);
 	if (nextSib) {
 		this.vdom = nextSib;
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.