[mapserver-commits] [mapserver/mapserver] 5a3d2b: Support xs:int for WFS feature properties.

GitHub noreply at github.com
Wed Jun 11 06:40:03 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/mapserver/mapserver
  Commit: 5a3d2b414a038b7469a527e73c5ca058b202dfa0
      https://github.com/mapserver/mapserver/commit/5a3d2b414a038b7469a527e73c5ca058b202dfa0
  Author: mathieudugal <mathieu.dugal at bentley.com>
  Date:   2014-06-04 (Wed, 04 Jun 2014)

  Changed paths:
    M mapwfs.c

  Log Message:
  -----------
  Support xs:int for WFS feature properties.

xs:integer is an unbounded integer whereas xs:int is a signed 32 bits integer.
see : http://stackoverflow.com/questions/15336872/xsd-what-is-the-difference-between-xsinteger-and-xsint
The interpretation of what an xs:integer is can vary depending on the implementation. For example
Microsoft's System.Xml.Schema.XmlSchemaDataType.ValueType maps xs:integer to System.decimal
and xs:int to System.Int32
see : http://bytes.com/topic/net/answers/172493-xmlschemadatatype-xs-integer-system-decimal

This code change will remove any ambiguity when the property is known to be an int32.


  Commit: 7a5c1d6ab27be9b183eeaf0f571083dd03c7e1d9
      https://github.com/mapserver/mapserver/commit/7a5c1d6ab27be9b183eeaf0f571083dd03c7e1d9
  Author: mathieudugal <mathieu.dugal at bentley.com>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M mapwfs.c

  Log Message:
  -----------
  Update mapwfs.c


  Commit: 6c745fcd531a102e42abae71c986922a2ffc5c25
      https://github.com/mapserver/mapserver/commit/6c745fcd531a102e42abae71c986922a2ffc5c25
  Author: Martin Kofahl <martin.kofahl at gmail.com>
  Date:   2014-06-11 (Wed, 11 Jun 2014)

  Changed paths:
    M mapwfs.c

  Log Message:
  -----------
  Merge pull request #4936 from mathieudugal/patch-1

Support xs:int for WFS feature properties.


Compare: https://github.com/mapserver/mapserver/compare/52942b264809...6c745fcd531a


More information about the mapserver-commits mailing list