More namespace stuff

"Peter Bowman" <[email protected]> Wed, 3 Mar 2004 16:59:55 -0000
Newsgroups gmane.editors.bitflux.devel
Message-ID <003301c40140$f71acd00$6400000a@pete>
Hi Chregu,

I'm writing functions to replace the XHTML functions for things like =
image
insert, so that it inserts tags relevant to my schema.

I discovered a problem where if I have code like:

Var object =3D document.createElementNS("", "mytag");
Alert(object.XMLNode.namespaceURI);

The alert would show the xhtml namespace rather than no namespace. I =
believe
this is due to line 72 of bxeXMLNode.js which sets the namespace to =
xhtml if
it's blank.

Thanks,
Pete.


-- 
bx-editor-dev mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev