Re: More namespace stuff
Christian Stocker <[email protected]> Thu, 04 Mar 2004 17:47:38 +0100
| Newsgroups | gmane.editors.bitflux.devel |
|---|---|
| Message-ID | <[email protected]> |
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 | [email protected] | gnupg-keyid 0x5CE1DECB
--
bx-editor-dev mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev