admin@glassfish.java.net

Re: V3 configuration data types API change (please read)

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Fri, 01 Feb 2008 19:23:13 -0800

Lloyd L Chambers wrote:
> String is used almost everywhere, with the prominent exception of fairly
> widespread use of 'boolean'. Arguably such booleans are unlikely to
> vary across a <config> though, so the problem generally does not assert
> itself.

The way boolean attributes are defined in the DTD, it doesn't seem like
you can use a property reference in the attribute value. They're defined
using the "boolean" entity, rather than as CDATA. That might be a bug,
or a missing feature, that these attributes can't vary from server to
server based on a property, unlike string valued attributes.

> Actually, I'm quite surprised, I thought we had 'int' in a number of
> places. For 9.1, everything went in as a String, and maybe 9.0
> corrected most of the 'int' cases to String. So I'm pleasantly
> surprised that we have much less of an issue than I thought!

Great!