Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: More namespace stuff: msg#00012

Subject: Re: More namespace stuff


On 3/3/04 5:59 PM, Peter Bowman wrote:

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 = document.createElementNS("", "mytag");
Alert(object.XMLNode.namespaceURI);

I don't see any problems right now with removing those "else if" lines.

commited for now ;)

chregu

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.



--
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  chregu@xxxxxxxxxx  |  gnupg-keyid 0x5CE1DECB
--
bx-editor-dev mailing list
bx-editor-dev@xxxxxxxxxxxxxxxx
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev



<Prev in Thread] Current Thread [Next in Thread>