Re: Namespace problem
Christian Stocker <[email protected]> Fri, 14 May 2004 16:08:42 +0200
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
hi sorry for the late answer... On 12.5.2004 11:47 Uhr, [email protected] wrote: > Hi! > > Let me begin by thanking your for your editor which, when used with the > sample applications, gives an excellent impression. > > I'm currently fighting with adapting BXE to a relatively simple XML RNG > structure on the model of the echo-atom sample that comes with BXE. I've > prepared a config.xml that points to a XSL and the schema as well as a > sample XML file which conforms to the RNG schema. I've tried the style > sheet with xsltproc on the XML file and the result is what I'd expect it > to be. The index.html is essentially identical to that in the echo-atom > sample. > > However, I keep getting the following error: > > ------------ > 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: > "file:///PATH_TO_BXE/bxe/js/bxeXMLDocument.js > Line: 37"] > Source File: > file:///PATH_TO_BXE/bxe/js/bxeXMLDocument.js > Line: 37 > ------------- > > Now, this seems to indicate that I made a namespace related error -- > which may very well be the case. However, even after extended scrutiny > I can't find one... mmh mmh mmh. we do an XPath search on that line.. Can you try with adding your namespaces to the index.html document like in the uni example. This way: <meta name="bxeNS" content="dc=http://purl.org/dc/elements/1.1/" /> and see if that helps chregu > > Any help / any suggestion would be welcome. > > > Best regards, > > Marc -- 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-users mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users