Re: BXE xml:lang problem
Roland Wallnöfer <[email protected]> Wed, 31 May 2006 11:31:57 +0200
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============1131595969==
Content-Type: multipart/alternative;
boundary="------------000905030907010608000706"
This is a multi-part message in MIME format.
--------------000905030907010608000706
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: quoted-printable
Roland Walln=F6fer schrieb:
> Hi everyone,
>
> I have a problem with BXE. If I change the file contextmenu.xml=20
> (lenya\resources\misc\bxeng) to make for e.g. the q - element and the=20
> attribute xml:lang in BXE appear (to be able to be set by users) this=20
> works fine.
> When I define the q attribute for some part of (XML) content in BXE=20
> that also works fine - also for saving. But if I want to define the=20
> xml:lang attribute (in BXE "edit attributes") for e.g. the p=20
> (paragraph) or the q element I cannot exit BXE - no matter if with or=20
> without saving. I can perform any other changes to the content I'd=20
> like to but as long as I didn't remove the xml:lang ("de" or "en" in=20
> my case) I cannot exit. As soon as the xml:lang attribute is removed=20
> everything works fine.
> BXE don't even reports an error message and I am not able to exit BXE=20
> or do anything else. It seems that BXE crashes hard.
>
> I use BXE with Lenya 1.2.5-dev, and Cocoon 2.1.7 under Windows XP
>
> Any hints will be welcome.
>
> Thanks
> Roland
After some not very effictive tries to find the problem I have found out=20
that it is a Java Script error. I got following error message:
Fehler: uncaught exception: [Exception... "An attempt was made to create=20
or change an object in a way which is incorrect with regard to=20
namespaces" code: "14" nsresult: "0x8053000e=20
(NS_ERROR_DOM_NAMESPACE_ERR)" location:=20
"http://localhost:8080/lenya/bxeng/js/bxeXMLDocument.js Line: 277"]
any hints to fix this problem?
Thanks a lot
Roland
--------------000905030907010608000706
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content=3D"text/html;charset=3DISO-8859-15"
http-equiv=3D"Content-Type">
</head>
<body bgcolor=3D"#ffffff" text=3D"#000000">
Roland Walln=F6fer schrieb:
<blockquote cite=3D"[email protected]" type=3D"cite">
<meta content=3D"text/html;charset=3DISO-8859-15"
http-equiv=3D"Content-Type">
<p class=3D"MsoNormal"><span style=3D"" lang=3D"EN-GB">Hi everyone,<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"" lang=3D"EN-GB"><o:p></o:p>I hav=
e a
problem with BXE. If I change the file contextmenu.xml
(lenya\resources\misc\bxeng)
to make for e.g. the q - element and the attribute <a
class=3D"moz-txt-link-freetext" href=3D"xml:lang">xml:lang</a> in BXE
appear (to
be able to be set by users) this works fine.<o:p></o:p><br>
When I
define the q attribute for some part of (XML) content in BXE that also
works
fine – also for saving. But if I want to define the <a
class=3D"moz-txt-link-freetext" href=3D"xml:lang">xml:lang</a> attribute
(in BXE “edit
attributes") for e.g. the p (paragraph) or the q element I cannot exit
BXE – no matter
if with or without saving. I can perform any other changes to the
content I’d like
to but as long as I didn’t remove the <a class=3D"moz-txt-link-free=
text"
href=3D"xml:lang">xml:lang</a> (“de” or “en” in =
my
case) I
cannot exit. As soon as the <a class=3D"moz-txt-link-freetext"
href=3D"xml:lang">xml:lang</a> attribute is removed everything
works
fine.<o:p></o:p><br>
BXE don’t
even reports an error message and I am not able to exit BXE or do
anything else.
It seems that BXE crashes hard.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"" lang=3D"EN-GB"><o:p></o:p>I use=
BXE
with Lenya 1.2.5-dev, and Cocoon 2.1.7 under Windows XP<o:p></o:p></span>=
</p>
<span style=3D"" lang=3D"EN-GB"><o:p></o:p>Any hints
will be welcome.<br>
<br>
Thanks<br>
Roland<br>
</span>
</blockquote>
After some not very effictive tries to find the problem I have found
out that it is a Java Script error. I got following error message:<br>
<br>
Fehler: uncaught exception: [Exception... "An attempt was made to
create or change an object in a way which is incorrect with regard to
namespaces"=A0 code: "14" nsresult: "0x8053000e
(NS_ERROR_DOM_NAMESPACE_ERR)"=A0 location:
<a class=3D"moz-txt-link-rfc2396E" href=3D"http://localhost:8080/lenya/bx=
eng/js/bxeXMLDocument.jsLine:277">"http://localhost:8080/lenya/bxeng/js/b=
xeXMLDocument.js Line: 277"</a>]<br>
<br>
any hints to fix this problem?<br>
<br>
Thanks a lot<br>
Roland<br>
</body>
</html>
--------------000905030907010608000706--
--===============1131595969==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users
--===============1131595969==--