I have an annotated endpoint using @PayloadRoot and @XPathParam. I have @XPathParams mapping to String types and Double types without any problems.

I have one @XPathParam that maps to a Boolean, but it is always set to true for any valid XSD boolean value (see http://www.w3.org/TR/xmlschema-2/#boolean).

Is this supposed to work or should I just make it map to a String and do the conversion to boolean myself in my endpoint?