In our application once we parse the html file in the generated node list we are adding new attributes to the tags but when we are trying to call the toHtml() method to print the html it is giving us stack over flow error.
I have tried to increase the java stack size significantly but still i am getting the same error.
I have seen the bugs list on this exception, the new attribute is being added correctly to the node.
Any help regarding this highly appreciated.
thanks and regards,
Vijaya Bhaskar Peddinti
PS: I tried with both 1.6 and 2.0 version.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Perhaps you have included an element that references itself or its parent. It's recursive you know. Elements contain other elements and printing recurses down the hierarchy so if you ever add an element that you 'borrowed' from somewhere else in the parse, it's likely that it references itself directly or indirectly after your edits.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear All,
In our application once we parse the html file in the generated node list we are adding new attributes to the tags but when we are trying to call the toHtml() method to print the html it is giving us stack over flow error.
I have tried to increase the java stack size significantly but still i am getting the same error.
I have seen the bugs list on this exception, the new attribute is being added correctly to the node.
Any help regarding this highly appreciated.
thanks and regards,
Vijaya Bhaskar Peddinti
PS: I tried with both 1.6 and 2.0 version.
new attributes are added to almost all the tags in the node list.
Perhaps you have included an element that references itself or its parent. It's recursive you know. Elements contain other elements and printing recurses down the hierarchy so if you ever add an element that you 'borrowed' from somewhere else in the parse, it's likely that it references itself directly or indirectly after your edits.