legolas558 | 15 Aug 2008 18:41
Picon
Favicon
Gravatar

Using BXE and docbook

Hi all,

I have read 
http://lists.bitflux.ch/pipermail/bx-editor-dev/2006-February/000432.html 
and tried to re-patch the current BXE (revision 1847) to have DocBook 
work. Patch is attached.

I am really missing a DocBook example, but I understand that you cannot 
add it as it is not (explicitly) supported. I really need BXE to work on 
DocBook files for my open source project. I have added by testcase (I 
test it by putting it in the examples/ directory); it contains the 
Kahlua DocBook NG release (http://www.docbook.org/docbook-ng/kahlua/) 
simplified Docbook scheme. I haven't chosen it for any particular 
reason, just picked up one.

When I access the 'docbook/' website (Mozilla Firefox 2.0.0.16) I get a 
hung BXE loading screen and the following in error console

-------------------------
Error: this.ownerDocument has no properties
Source file: http://localhost/~legolas558/bxe/js/bxeXMLDocument.js
Line: 249

Error: [Exception... "An attempt was made to create or change an object 
in a way which is incorrect with regard to namespaces"  code: "14" 
nsresult: "0x8053000e (NS_ERROR_DOM_NAMESPACE_ERR)"  location: 
"http://localhost/~legolas558/bxe/js/bxeXMLDocument.js Line: 58"]
Source file: http://localhost/~legolas558/bxe/js/bxeXMLDocument.js
Line: 58
-------------------------
(Continue reading)


Gmane