[jdom-interest] Attribute.getBooleanValue()

Zoltan Grose zgrose at pacbell.net
Wed Apr 17 10:12:01 PDT 2002

I brought this up about a year ago, but I have more info now.

Attribute.getBooleanValue() returns true on the values "true", "on" or 
"yes" and false on "false", "off" or "no". I am starting to work with 
XML Schema and I noticed that xs:boolean can be "true", "false", "1" or 
"0". I'm not sure if there is another way to extract typed information 
out of JDOM, but this seems like an easily fixed inconsistency.


More information about the jdom-interest mailing list