Re: Translate uni example to inline editing

Christian Stocker <[email protected]> Thu, 26 Feb 2004 11:34:52 +0100
Newsgroups gmane.editors.bitflux.devel
Message-ID <[email protected]>
Hi

On 2/26/04 11:24 AM, Michael Rolli wrote:

> Hi Chregu
> 
> 
>>Ok, the inlineXHTML example works now ;) I found the bug and 
>>fixed it somehow..
> 
> Yes it does and it's so brillant. ;-) Love it.
> 
> Putting this stuff into the cms environment I have some problems now. In
> there it doesn't work correctly anymore and I'm pretty sure that the
> reason is the missing ns-definition in the main element:
> 
> <main xmlns:xhtml="http://www.w3.org/1999/xhtml">

I get
*****
<main xmlns:xhtml="http://www.w3.org/1999/xhtml">

                     <xhtml:p>
                         Bitflux Editor is a browser based Wysiwyg XML 
Editor – and that changes everything! You can edit now your content 
semantically and at the same time display it to your users and editors 
in its final form.
                     </xhtml:p>
etc..
***

which looks ok to me. <main> has no namespace (as all the others also 
don't have), but the xhtml elements within main du have the 
XHTML-namespace. I don't see anything wrong there. Do you expect <main> 
to be in the XHTML namespace as well? Then you'd have to change the 
content.xml and the relaxng specs

chregu


> 
> I can't find the code where this stuff is put togehter. Where do you
> build this /iba/page/main stuff together?
> 
> Cheerz
> Michael
> 

-- 
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