RE: Translate uni example to inline editing
Michael Rolli <[email protected]> Thu, 26 Feb 2004 15:39:47 +0100
| Newsgroups | gmane.editors.bitflux.devel |
|---|---|
| Message-ID | <[email protected]> |
Me again. ;^) Ok, I took my article705.txt xml code and used it as "inline.xml" in the inlineXHTML-example. And it didn't worked. Same troubles as in CMS-Environment. So, then I changed the following thing: <main> -> <main xmlns:xhtml="http://www.w3.org/1999/xhtml"> And then it worked!!!! ;^) So, this xmlns:xhtml declaration in the <main>-elemnt is actually important, very important. bxeng stopped dropping this <xhtml: -stuff How can I make the bifluxgenerator-pipeline to add this declaration to the standard <main>-element which I currently getting? Cheers, Michael > -----Original Message----- > From: Michael Rolli [mailto:[email protected]] > Sent: Thursday, February 26, 2004 3:23 PM > To: 'Christian Stocker'; '[email protected]' > Subject: RE: [bx-editor-dev] Translate uni example to inline editing > > > > That's the output of /admin/wysiwyg/getArticle/705 > > > http://aumwww.unibe.ch/~mr/bxecmstests/article705.txt > > > > mmmh, the namespace declarations are missing here and some xhtml > > elements don't have a namespace at all. Did you > Was just too lazy, therefore not all of them had with xhtml-ns. ;^) > > > copy&paste from the Mozilla XML View? Try "View Source", this > > should give you the actual sent document, not an interpreted one ;) > Nope. Done with wget and piped into the file. not interpreted. > BTW: I've done it again and completed those ns things inside > main before. > Same url as above. > > > > That's the output of "Debug -> Show XML Document" in editor (same > > > article) > > > http://aumwww.unibe.ch/~mr/bxecmstests/debug_show_xml_output.txt > > > > really strange. I just tested with your document (fixed with > > namespaces) on the inlineXHTML example and there it shows the > > namespaces.. (with a0: > > as prefix instead of xhtml: but that doesnt matter. and maybe > > it's just my developement version of bxe, which screws up the > > prefixes right now) > That's actually the stuff (/iba/page/Article/main) as I see > in source mode of editor. (the same as in Show XML Document): > > <p> Lorem <b>ipsum</b> dolor sit amet, consectetuer > adipiscing elit, sed diam nonummy nibh euismod tincidunt ut > laoreet dolore <sub>magna aliquam erat volutpat. Ut wisi enim > </sub>ad minim veniam, quis nostrud exerci tation ullamcorper > suscipit lobortis nisl ut aliquip ex ea commodo consequat. > Duis autem vel eum iriure do<b>lor in hendrerit in vulputate > velit esse molestie consequat, vel illum dolore eu feugiat > nulla facilisis </b>at vero eros et accumsan et iusto odio > dignissim qui blandit praesent luptatum zzril delenit augue > duis dolore te feugait nulla facilisi. Ut wisi enim ad minim > veniam, quis nostrud exerci tation ullamcorper suscipit > lobortis nisl ut aliquip ex ea commodo consequat. Duis autem > ve<i>l eum iriure dolor in hendrerit in vulpu</i>tate velit > esse molest<sup>ie consequat, vel illum dolore eu > feugiat</sup> nulla facilisis at vero eros et accumsan et > iusto odio dignissim qui blandit praesent luptatum zzril > delenit augue duis dolore te feugait nulla facilisi. Lorem > ipsum dolor sit amet, consectetuer adipiscing elit, sed diam > nonummy nibh euismod tincidunt ut laoreet dolore magna > aliquam erat volutpat. </p> > > > which mozilla version are you using? > BXE Version: 0.9.3-dev > BXE Build Date: 200402201805 > User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; > rv:1.5) Gecko/20031007 > -- bx-editor-dev mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev