Bugs item #2010634, was opened at 2008-07-04 21:10
Message generated for change (Comment added) made by aditsu
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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Jeff MAURY (jeffmaury)
>Assigned to: Adrian Sandor (aditsu)
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: Adrian Sandor (aditsu)
Date: 2010-10-27 10:48
Message:
Fixed now, thank you
----------------------------------------------------------------------
Comment By: Martin (martinkurz)
Date: 2010-08-23 01: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
|