BXE for distributed WISIWYG (was: bxe does not work with absolute paths)

Sandro Zic <[email protected]> Thu, 24 Oct 2002 17:24:09 +0200
Newsgroups gmane.editors.bitflux.devel
Message-ID <[email protected]>
On Wednesday 23 October 2002 22:39, Christian Stocker wrote:
> On 23 Oct 2002, Christian Stocker wrote:
> > On Wed, 2002-10-23 at 20:17, Sandro Zic wrote:
> > > On Wednesday 23 October 2002 19:18, Christian Stocker wrote:
> > > > Just as a sidenode. The xml-files have to come from the same host as
> > > > the index.html. Therefore, if index.html comes from
> > > > http://example.com you can't laod the xml files from
> > > > http://other.com, they even have to come from the same port.
> > >
> > > As far as I see, BXE does not support xinclude?
> >
> > Nope. But if someone is interested, I have some JS code lying around,
> > which does xincludes in Mozilla 1.1 for reading. Writing to xincluded
> > sources is another issue, but if need is there for that, I can try to
> > implement it as well.

We currently don't need this functionality, thanks for your offer! We'll let 
you know once we need it and it's still not implemented in BXE :)

> > > If it does or if you plan to
> > > integrate it, will this restriction run counter multiple xinclusion of
> > > distributed XML documents, located at different hosts?
> >
> > Nope, not possible by default
> > (http://www.mozilla.org/projects/security/components/same-origin.html )
> >
> > But you have basically 3 possibilities to circumvent it

Thanks for the hints!

In general, I think that BXE developers should very much take care of such 
aspects, because BXE is a client-side application well suited for distributed 
systems, especially because it works with XML. Adding XInclude or XPointer to 
BXE should make it ready for distributed content editing, at least to include 
XML fragments from other hosts into a new XML document created with BXE. This 
is where we see the strength of BXE: to work as a client-side, browser-based 
WISYWIG editor for collaborative content creation in distributed groups of 
interest - uuhh, too many buzzwords here :)

> Thanks to a hint by brian, I found this extensive documentation about
> security and signing in mozilla:
>
> http://books.mozdev.org/chapters/ch12.html#77088
>
> The other chapters are worth reading as well, by the way :)

Yes, the book is excellent!

--Sandro
-- 
bx-editor-dev mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev