Andreas Hartmann | 26 Apr 2006 14:04
Picon
Favicon

BXE inserts Namespace Prefixes a0, a1, a2, ...

Hi list,

when I save a document with XHTML as the default namespace,
BXE uses prefixes like a0, a1, a2, ... instead of the empty
prefix.

Is there anything I could have configured in a wrong way,
or is there a way to avoid this behaviour?

Thanks in advance!

-- Andreas

-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann <at> wyona.com                     andreas <at> apache.org

--

-- 
bx-editor-users mailing list
bx-editor-users <at> lists.bitflux.ch
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users

Christian Stocker | 26 Apr 2006 14:15
Picon

Re: BXE inserts Namespace Prefixes a0, a1, a2, ...


On 26.4.2006 14:04 Uhr, Andreas Hartmann wrote:
> Hi list,
> 
> when I save a document with XHTML as the default namespace,
> BXE uses prefixes like a0, a1, a2, ... instead of the empty
> prefix.
> 
> Is there anything I could have configured in a wrong way,
> or is there a way to avoid this behaviour?

It's not always avoidable, unfortunately, but we do the same and it
works for us.

Do you have the xhtml namespace defined in the "starting" html document,
like:

<meta name="bxeNS" content="xhtml=http://www.w3.org/1999/xhtml"/>

maybe that helps (but I'm not sure)

I just remember, that it was a pain to get them removed (the prefixes),
but that's about it :)

chregu

> 
> Thanks in advance!
> 
> -- Andreas
(Continue reading)

Andreas Hartmann | 26 Apr 2006 14:23
Picon
Favicon

Re: BXE inserts Namespace Prefixes a0, a1, a2, ...

Christian Stocker wrote:
> 
> On 26.4.2006 14:04 Uhr, Andreas Hartmann wrote:
>> Hi list,
>>
>> when I save a document with XHTML as the default namespace,
>> BXE uses prefixes like a0, a1, a2, ... instead of the empty
>> prefix.
>>
>> Is there anything I could have configured in a wrong way,
>> or is there a way to avoid this behaviour?
> 
> It's not always avoidable, unfortunately, but we do the same and it
> works for us.

It leads to a problem when people start copying&pasting the raw XML,
because the prefixes are not declared in the target document. But
I don't think this can be avoided.

> Do you have the xhtml namespace defined in the "starting" html document,
> like:
> 
> <meta name="bxeNS" content="xhtml=http://www.w3.org/1999/xhtml"/>

I'll check this.

> maybe that helps (but I'm not sure)
> 
> I just remember, that it was a pain to get them removed (the prefixes),
> but that's about it :)
(Continue reading)


Gmane