Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error while inserting a node into a dom using a java

 
s ithu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys,

i am trying to insert a node into a dom using a java method.

But i get this error
hierarchy request_err : An attempt was made to insert a node where it is not permitted

so i changed permission using chmod command but still it is not working ......



 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


This was the line which threw the exception, right? Well, you can't make a node be its own child. Probably you meant for the node to be a child of something else.
 
s ithu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your help
I changed code like this so it is working now.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic