[Geoserver-devel] cite tests failing

Cite tests are failing with a common error:
Variable Name/
ResponseID Variable Type Expected Actual Match Type Messages
1 REQUEST
CUSTOM A valid document A NON valid document AND

    * Thu Oct 12 14:19:08 EDT 2006 : Line = 1 Column = 795 Message =
      {cvc-datatype-valid.1.2.1: 'MPolygons.4cdac8:10e3dbe0f76:-7f55' is
      not a valid 'NCName' value.}
    * Thu Oct 12 14:19:08 EDT 2006 : Line = 1 Column = 795 Message =
      {cvc-attribute.3: The value 'MPolygons.4cdac8:10e3dbe0f76:-7f55'
      of attribute 'fid' on element 'cgf:MPolygons' is not valid with
      respect to its type.}

The error is occurring in most filter operations.

Any ideas what may be causing this?

--
Brent Owens
(The Open Planning Project)

Are you using the geoserver account, or your own? If I could look at
the log it would be easier to figure out.

Brent Owens wrote:

Cite tests are failing with a common error:
Variable Name/
ResponseID Variable Type Expected Actual Match Type Messages
1 REQUEST
CUSTOM A valid document A NON valid document AND

    * Thu Oct 12 14:19:08 EDT 2006 : Line = 1 Column = 795 Message =
      {cvc-datatype-valid.1.2.1: 'MPolygons.4cdac8:10e3dbe0f76:-7f55' is
      not a valid 'NCName' value.}
    * Thu Oct 12 14:19:08 EDT 2006 : Line = 1 Column = 795 Message =
      {cvc-attribute.3: The value 'MPolygons.4cdac8:10e3dbe0f76:-7f55'
      of attribute 'fid' on element 'cgf:MPolygons' is not valid with
      respect to its type.}

The error is occurring in most filter operations.

Any ideas what may be causing this?

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com

The FID isn't getting set right. Our old script relied on OID's, which are no longer valid, and I don't know if anyone updated it to set the primary keys right. If there's a primary key then it should use that. This behavior is the result of geotools not finding any good fid, so it just generates one randomly. You can also do an alter table and force add oids. But the better thing to do is change our scripts to have a new column called fid that is the primary key.

Chris

Brent Owens wrote:

Cite tests are failing with a common error:
Variable Name/
ResponseID Variable Type Expected Actual Match Type Messages
1 REQUEST
CUSTOM A valid document A NON valid document AND

    * Thu Oct 12 14:19:08 EDT 2006 : Line = 1 Column = 795 Message =
      {cvc-datatype-valid.1.2.1: 'MPolygons.4cdac8:10e3dbe0f76:-7f55' is
      not a valid 'NCName' value.}
    * Thu Oct 12 14:19:08 EDT 2006 : Line = 1 Column = 795 Message =
      {cvc-attribute.3: The value 'MPolygons.4cdac8:10e3dbe0f76:-7f55'
      of attribute 'fid' on element 'cgf:MPolygons' is not valid with
      respect to its type.}

The error is occurring in most filter operations.

Any ideas what may be causing this?

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org

I modified the recent patch that chooses the fid mapper to be a little
smarter. It now checks the table for an oid column, and if its there it
uses the oid mapper, this takes care of the case of where the user
created the table with the "WITH OID" flag on.

-Justin

Chris Holmes wrote:

The FID isn't getting set right. Our old script relied on OID's, which
are no longer valid, and I don't know if anyone updated it to set the
primary keys right. If there's a primary key then it should use that.
This behavior is the result of geotools not finding any good fid, so it
just generates one randomly. You can also do an alter table and force
add oids. But the better thing to do is change our scripts to have a
new column called fid that is the primary key.

Chris

Brent Owens wrote:

Cite tests are failing with a common error:
Variable Name/
ResponseID Variable Type Expected Actual Match
Type Messages
1 REQUEST
CUSTOM A valid document A NON valid document AND

    * Thu Oct 12 14:19:08 EDT 2006 : Line = 1 Column = 795 Message =
      {cvc-datatype-valid.1.2.1: 'MPolygons.4cdac8:10e3dbe0f76:-7f55' is
      not a valid 'NCName' value.}
    * Thu Oct 12 14:19:08 EDT 2006 : Line = 1 Column = 795 Message =
      {cvc-attribute.3: The value 'MPolygons.4cdac8:10e3dbe0f76:-7f55'
      of attribute 'fid' on element 'cgf:MPolygons' is not valid with
      respect to its type.}

The error is occurring in most filter operations.

Any ideas what may be causing this?

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

!DSPAM:1004,452f1a0f63381510810322!

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

!DSPAM:1004,452f1a0f63381510810322!

--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com