uDIG
  1. uDIG
  2. UDIG-1698

WFS-T message dosn't respect OGC XSD schema

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: UDIG 1.1.1
    • Fix Version/s: UDIG 1.1.1
    • Component/s: webservices
    • Labels:
      None
    • Environment:
      Mac OS X

      Description

      WFS-T request sended by Udig doesn't respect OGC GML Schema:

      Udig request:
      <?xml version="1.0" encoding="UTF-8"?>
      <Transaction xmlns:tows="http://tinyows.org/" xmlns="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" version="1.0.0" service="WFS" lockAction="ALL"><Insert><tows:frida fid="newtows:frida.9223372036854775807"><tows:gfshapeid></tows:gfshapeid>
      <tows:gftypid></tows:gftypid>
      <tows:gfname></tows:gfname>
      <tows:the_geom><gml:Polygon srsName="EPSG:31467"><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates decimal="." cs="," ts=" ">3421368.1687915605,5796426.6957636485 3422452.8084796686,5798470.824406621 3424788.955500209,5797970.221473648 3424747.2385891275,5794674.585498243 3421910.4886356145,5792839.041410675 3421368.1687915605,5796426.6957636485</gml:coordinates>
      </gml:LinearRing>
      </gml:outerBoundaryIs>
      </gml:Polygon>
      </tows:the_geom>
      </tows:frida>
      </Insert>
      </Transaction>

      TinyOWS Log debug:
      [Mon Jul 12 15:54:38 2010] [ERROR] Element '

      {http://www.opengis.net/wfs}

      Transaction', attribute 'lockAction': The attribute 'lockAction' is not allowed.

      [Mon Jul 12 15:54:38 2010] [ERROR] Element '

      {http://tinyows.org/}

      frida', attribute 'fid': 'newtows:frida.9223372036854775807' is not a valid value of the atomic type 'xs:ID'.

      [Mon Jul 12 15:54:38 2010] [ERROR] Element '

      {http://tinyows.org/}

      gfshapeid': '' is not a valid value of the atomic type 'xs:short'.

      [Mon Jul 12 15:54:38 2010] [ERROR] Element '

      {http://tinyows.org/}

      gftypid': '' is not a valid value of the atomic type 'xs:short'.

        Activity

        Hide
        Ben Caradoc-Davies added a comment -
        "[Mon Jul 12 15:54:38 2010] [ERROR] Element '{http://tinyows.org/}frida', attribute 'fid': 'newtows:frida.9223372036854775807' is not a valid value of the atomic type 'xs:ID'."

        This is a bad one. xs:ID is a NCNAME, in which NC mean No Colons. Might need more fid validation in GeoTools.
        Show
        Ben Caradoc-Davies added a comment - "[Mon Jul 12 15:54:38 2010] [ERROR] Element '{ http://tinyows.org/ }frida', attribute 'fid': 'newtows:frida.9223372036854775807' is not a valid value of the atomic type 'xs:ID'." This is a bad one. xs:ID is a NCNAME, in which NC mean No Colons. Might need more fid validation in GeoTools.
        Hide
        Olivier Courtin added a comment -
        FYI, same log and behaviour with Udig 1.2-RC3
        Show
        Olivier Courtin added a comment - FYI, same log and behaviour with Udig 1.2-RC3

          People

          • Assignee:
            Unassigned
            Reporter:
            Olivier Courtin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: