Bugzilla – Full Text Bug Listing
|Summary:||Is wording "It must specify a valid XML boolean value" specific enough?|
Description ScottKurz 2012-11-20 18:59:36 UTC
There is an XSD boolean, and I think what you're really trying to say here is that you want to accept 'true' 'false' and anything else is an error (FAILED state). In contrast to say Boolean.parseBoolean() which will match 'true' ignoring case and which defaults to false rather than blowing up. If so, maybe simply saying it can be either 'true' or 'false' would be better. This is the definition for multiple attributes in the spec (e.g. /job/@restartable)
Comment 1 cvignola 2012-12-06 22:41:07 UTC
ok - will say 'true' or 'false'