Hi people,
I've just added a bug to OSOR bugtracker which could be interesting for
some of you:
https://forge.osor.eu/tracker/index.php?func=detail&aid=14498&group_id=89&atid=732
I was using the method stringToType() [1] to convert a string into a
right Type for gvSIG to manage it. Due to the way I am using it (loading
the string from a external XML file), it would be very positive give a
bit more flexibility into the entry data - I mean, instead of only admit
"String", admit also "STRING".
I have added a patch for this in the bugtracker. Please, find it also
attached.
best,
amaneiro
55c55
< if (strType.equalsIgnoreCase("String") ||
strType.equalsIgnoreCase("Varchar"))
---
> if (strType.equals("String"))
57c57
< if (strType.equalsIgnoreCase("Double"))
---
> if (strType.equals("Double"))
59c59
< if (strType.equalsIgnoreCase("Integer"))
---
> if (strType.equals("Integer"))
61c61
< if (strType.equalsIgnoreCase("Boolean"))
---
> if (strType.equals("Boolean"))
63c63
< if (strType.equalsIgnoreCase("Date"))
---
> if (strType.equals("Date"))
_______________________________________________
Gvsig_internacional mailing list
[email protected]
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional