This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Do not throw the IOException, please.
Some parameter values are not allowed (e.g. ASCII control characters). So it is about whether to throw IllegalArgumentException or IOException. IOException makes more sence for me because this methods is typically used during serializing XML to some I/O resourse, so the whole serialization process needs to catch an IOException anyway. REOPEN if you prefer the IllegalArgumentException solution or any other.
IOException is also safer than IlleagalArgument as it is checked exception.
Fix caused API change.
new openide spec number 1.40 New public static methods signatures: String toElementContent(String) throws CharConversionException String toAttributeValue(String) throws CharConversionException
Flame war at http://openide.netbeans.org/servlets/ReadMsg?msgId=170271&listName=dev gives reasons why name and parameters had to be changed.
Resolved for 3.4.x or earlier, no new info since then -> verified
Resolved for 3.4.x or earlier, no new info since then -> closing.