From: SourceForge.net <no...@so...> - 2010-08-22 17:20:58
|
Bugs item #2010634, was opened at 2008-07-04 13:10 Message generated for change (Comment added) made by martinkurz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=2010634&group_id=13153 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: DOM Support Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jeff MAURY (jeffmaury) Assigned to: Nobody/Anonymous (nobody) Summary: Incorrect behaviour on Text nodes Initial Comment: On Text nodes, it is impossible to modify the content of the node. The setData method raises an exception telling the node is not modifiable. However, if you use the setNodeValue of the Node interface, no exception is raised and the node is modified. This behaviour is inconsistent and may lead JTidy adopters to write code that may be not upward compatible ---------------------------------------------------------------------- Comment By: Martin (martinkurz) Date: 2010-08-22 17:20 Message: That's really inconsistent, created a patch for DOMCharacterDataImpl in branch CodeUpdateAndJava5. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=2010634&group_id=13153 |