Wednesday, 15 September 2004

Vote for Java 5.0 Bug #5102290

« don't wait for the translation - powered by blojsom | Main | I resigned *and* moved on ... »
Yesterday I filed a bug for Java 5.0. Bug ID#: 5102290 (requires login). Synopsis: Properties.storeToXML creates invalid XML if form-feed character present

There are a couple of new methods (storeToXML and loadFromXML) on the java.util.Properties object that allow you to export and load your properties files to and from an XML format. It's a simple format. Works like a champ. Well, it works until one of your keys and/or values contains a form-feed character (\f). So, even though the character gets written out as , this is an invalid character in XML 1.0. Try to read in that XML file you've just written and you'll get a nice exception from your XML parser.

Update: Already there are 8 more votes bringing the total to 9. Thanks. Keep 'em coming!
Posted by david at 4:33 PM in java ... just java

 

[Trackback URL for this entry]

Your comment:

(not displayed)
 
 
 

Live Comment Preview:

 
« First  « Prev   1 2 3 4 5   Next »  Last »
« September »
SunMonTueWedThuFriSat
   1234
567891011
12131415161718
19202122232425
2627282930