From: SourceForge.net <no...@so...> - 2011-01-31 01:13:02
|
Bugs item #3168448, was opened at 2011-01-30 17:13 Message generated for change (Tracker Item Submitted) made by gnallan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=3168448&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: Tidy functionality Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: GNallan (gnallan) Assigned to: Nobody/Anonymous (nobody) Summary: Changing Attributes etc Initial Comment: In one of the samples, I attempted to create a Document using Tidy.parseDOM(..) and attempted to change the Nodes in the document. While I was able to restructure the nodes (append, remove, insert-before etc.), when I attempted to change the value of an attribute in one of the nodes (using Document.setTextValue()), it threw a DOM exception (Node is read-only). The Javadoc did warn that the Document generated by JTidy did not implement all the features of org.W3C.Document. Is this exception because of this? Based on JTidy's current specs, should this (changing attribute value) even be possible? I downloaded the latest version of JTidy last week for this test. Thank you. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=3168448&group_id=13153 |