Re: bug if using javascript with Xforms

Martin Honnen <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization Liberty Development
Message-ID <[email protected]>

Adam FLinton wrote:


> I have been trying a number of javascript wysiwyg editors with Xforms 
> (i.e. to edit textareas) & I always get this error (e.g. using tiny mce):
> 
> Error: uncaught exception: [Exception... "Object cannot be created in 
> this context"  code: "9" nsresult: "0x80530009 
> (NS_ERROR_DOM_NOT_SUPPORTED_ERR)"  location: 
> "file:///D:/Data/Hl7/XML/XForm/tinymce/jscripts/tiny_mce/tiny_mce.js 
> Line: 9"]

Well then post the code, at least that line 9 which causes the error, 
but we need to see the context too.
You will get that error for instance when createCDATASection is called 
on an HTML document (where CDATA sections are not supported).

-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.