[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    RE: insert cursor into DOM
From:       "Radu Preotiuc-Pietro" <radu.preotiuc-pietro () oracle ! com>
Date:       2008-09-19 22:39:42
Message-ID: 20080919153942234.00000005192 () RADUP02
[Download RAW message or body]

Without seeing the stack trace I can assume that the exception is thrown by=
 the DOM implementation of the document that you are trying to import into,=
 because it only supports DOM instances that it itself created. Is that a c=
orrect assumption?
 =

Radu


________________________________

	From: Juraj Kojdjak [mailto:supowski@gmail.com] =

	Sent: Wednesday, September 17, 2008 7:26 AM
	To: dev@xmlbeans.apache.org
	Subject: insert cursor into DOM
	=

	=

	I try to insert some document represented by cursor into another document:=

	document.importNode(cursor.getDomNode())
	=

	but it throws exception: NOT_SUPPORTED_ERR: The implementation does not su=
pport the requested type of object or operation.
	=

	what I miss? Is there any other solution how to solve my original problem?=
\
	=

	thx,
	supowski
	=



[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3395" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=703362722-19092008><FONT face=Arial 
color=#0000ff size=2>Without seeing the stack trace I can assume that the 
exception is thrown by the DOM implementation of the document that you are 
trying to import into, because it&nbsp;only supports DOM instances that it 
itself created. Is that a correct assumption?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=703362722-19092008></SPAN><SPAN 
class=703362722-19092008></SPAN><SPAN class=703362722-19092008><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=703362722-19092008><FONT face=Arial 
color=#0000ff size=2>Radu</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> Juraj Kojdjak 
  [mailto:supowski@gmail.com] <BR><B>Sent:</B> Wednesday, September 17, 2008 
  7:26 AM<BR><B>To:</B> dev@xmlbeans.apache.org<BR><B>Subject:</B> insert cursor 
  into DOM<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV dir=ltr>I try to insert some document represented by cursor into another 
  document:<BR>document.importNode(cursor.getDomNode())<BR><BR>but it throws 
  exception: NOT_SUPPORTED_ERR: The implementation does not support the 
  requested type of object or operation.<BR><BR>what I miss? Is there any other 
  solution how to solve my original 
problem?\<BR><BR>thx,<BR>supowski<BR></DIV></BLOCKQUOTE></BODY></HTML>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic