GML is always only text, so as long as the insert / update request is valid, GeoServer should handle it. I've never tried WFS-T with boolean values, and perhaps it is not well tested. There may be some tricks to setting it up, or maybe even a GeoServer bug. I suggest that you ask Jody Garnett if there are any issues surrounding this. I sent a copy of this e-mail to him.
Jody:
Any ideas or known problems related to this?
Yes I think I do, can you take this bug to the GeoServer list - they are very close to 1.3.0 and would like the
report. In general xml schema, java objects, and databases trip up while passing typed data around. GeoTools 2.1.1 used by GeoServer has a very primitive parser that is trying to "upcovert" your text value to a boolean object.
We have a better parser waiting in the wings, but are waiting for the smoke to clear on an rnd branch before rolling it out.
I assume you are having this fun with something like OracleSpatial?
So the problem is that booleans dont work with update / inserts? I know there is an issue with booleans and oracle, not sure if it has been fixed yet. What backend datastore are you using?
-Justin
Jody Garnett wrote:
Doug Cates wrote:
Rafe:
GML is always only text, so as long as the insert / update request is valid, GeoServer should handle it. I've never tried WFS-T with boolean values, and perhaps it is not well tested. There may be some tricks to setting it up, or maybe even a GeoServer bug. I suggest that you ask Jody Garnett if there are any issues surrounding this. I sent a copy of this e-mail to him.
Jody:
Any ideas or known problems related to this?
Yes I think I do, can you take this bug to the GeoServer list - they are very close to 1.3.0 and would like the
report. In general xml schema, java objects, and databases trip up while passing typed data around. GeoTools 2.1.1 used by GeoServer has a very primitive parser that is trying to "upcovert" your text value to a boolean object.
We have a better parser waiting in the wings, but are waiting for the smoke to clear on an rnd branch before rolling it out.
I assume you are having this fun with something like OracleSpatial?