Hi
ok, here we go for an answer.
On 3/3/04 12:34 AM, Peter Bowman wrote:
Hi Chregu,
Since you've said it's better to ask here, I don't feel so bad for
posting all this...
you don't have to feel bad, at all.
There seem to be some issues with the drop down list of tags just under
the File menu.
I'll try to be as clear as I can!
- When I change the elements by choosing a new tag from the drop down
list, the underlying xml is changed, but not the display. E.g. if I have
<para>Text</para> and change para to head, the xml becomes
<head>Text</head> but it displays as though it were aa para.
That worked for me. Did you define a css (with .head) for <head>?
Otherwise it will just take the standard layout.
- In the tag view, a similar thing happens. The new tags are not shown
when edits are made.
that's actually a known bug (just filled) ->
http://bugzilla.bitflux.ch/show_bug.cgi?id=579
- In the normal view, when a tag is chosen that according to the relaxng
must have child elements, the child elements are not inserted as when
using the context menu. This results in xml that does not validate. E.g.
a table that must have at least one tr. Only the <table> tag will get
inserted. I'd be happy for tags like this to not show in the list.
ok. the relaxng support is not perfect everywhere right now. you're
right, that the elements, which can't have text as immediate children,
shouldn't be shown there. as an intermediate fix, you can exclude some
elements from the "styles" dropdown. See the config.xml from the uni
example and the <context type="dontShow"> part there
http://cvs.bitflux.ch/chora/co.php/bxeng/examples/uni/config.xml?login=2&rt=editor&r=1.14
the bug is filed:
http://bugs.bitflux.ch/cgi-bin/bugzilla/show_bug.cgi?id=580
- If I have xml like <para>This is <b>bold</b></para>, and my relaxng
forbids <b> tags within <head> tags, BXE still lets me choose <head>
from the drop down. I then get <head>This is <b>bold</b></head>, which
doesn't validate.
the same as above. the validation of the "style" dropdown isn't perfect.
Other things I've noticed too:
- If I delete all the content, and then hit Enter, I get:
this.parentNode.insertBeforeIntern is not a function in ElementVAL.js
line 109.
Stack: ()@ElementVal.js:109
("", "content")@bxeXMLNode.js:573
nonctrlKeyPressHandler([object Event])@mozilekb.js...
How exactly do you delete it? with selection or backspace?
- BXE doesn't seem to respect the ordering within relaxng files. Is this
a bug, or not implemented, or am I just getting it wrong? It's hard to
stop users putting the header of a table at the bottom...!
it's only with <optional> from relaxng AFAIK, but yes, known bug ->
http://bugs.bitflux.ch/cgi-bin/bugzilla/show_bug.cgi?id=581
chregu
- Just as an aside, BXE crashes my Windows version of Mozilla quite a
lot (versions 1.3 up to 1.6, "quite a lot" = 2 out of 3 tries). It works
fine on Linux. Removing all of Mozilla and reinstalling doesn't seem to
help. Just wondering if anyone else has come across this, as it's not a
BXE problem per se. It hangs on line 37 of Mozile's http.js after 13 or
14 files are shown to have loaded (docu.load).
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
|