Opened 12 years ago

Closed 12 years ago

#4205 closed defect (invalid)

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 (2)

comment:1 by sdikiy, 12 years ago

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.

comment:2 by sdikiy, 12 years ago

Resolution: invalid
Status: newclosed

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.