Menu

#26 PolicySet does not encode(description).

open
nobody
None
5
2008-05-30
2008-05-30
No

When I set the description of a PolicySet to "<hello>" and then call the encode() method, it generates obviously invalid XML.

Given that you want the code to be of "high quality", why do you construct XML documents by concatenating characters, and not by using a specialized XMLWriter like suggested at <http://www.koders.com/java/fidC52D4148799A84CDD7AA51D6A13A03129903D717.aspx>? To me, your current practice looks very error-prone.

Roland

Discussion


Log in to post a comment.