Ticket #4205 (closed defect: invalid)

Opened 15 months ago

Last modified 15 months ago

Incorrect work with tables in a name containing an underscore.

Reported by: sdikiy Owned by: colivier
Priority: normal Milestone:
Component: TinyOWS Version: unspecified
Severity: normal Keywords:
Cc:

Description

If the name of the table looks like: "foo_foo"
We have an error:

[ERROR] Element '{http://www.opengis.net/wfs}Query', attribute 'typeName': [facet 'pattern'] The value 'tows:foo_foo' is not accepted by the pattern '((\w:)?\w(=\w)?){1,}'.
[ERROR] Element '{http://www.opengis.net/wfs}Query', attribute 'typeName': 'tows:foo_foo' is not a valid value of the list type '{http://www.opengis.net/wfs}TypeNameListType'.

Change History

Changed 15 months ago by sdikiy

I do not know how it works.
I took advantage of the changes proposed here:
 https://portal.opengeospatial.org/files/?artifact_id=33885
and the problem will not be repeated.

Changed 15 months ago by sdikiy

  • status changed from new to closed
  • resolution set to invalid

There is a simple way to omit the problem:
tinyows.xml

...
  <layer ...
         name="FooFoo"
         ...
         table="foo_foo"
  />
...
Note: See TracTickets for help on using tickets.