getCapabilities returns an invalid xml

Description

When sending a getCapabilities request to the wms server, the returned xml is not valid against the http://www.digitalearth.gov/wmt/xml/capabilities_1_1_1.dtd - http://www.digitalearth.gov/wmt/xml/capabilities_1_1_1.dtd.

Environment

None

Activity

codehaus 
April 10, 2015 at 4:48 PM

CodeHaus Comment From: cholmes - Time: Tue, 6 Apr 2004 09:51:25 -0500
---------------------
<p>EXTERNAL MESSAGE:

SUBJECT: RE: <span class="error">&#91;jira&#93;</span> Closed: (<a href="https://jira.codehaus.org/browse/GEOS-113" title="getCapabilities returns an invalid xml" class="issue-link" data-issue-key="GEOS-113"><del>GEOS-113</del></a>) getCapabilities returns an invalid xml

No, I'm sorry, we don't. I've never figured out how to get that working

(though I've never even tried). You can submit it as a wish to jira!

Not that it'll make me start working on it, but at least I won't forget

that someone wants it. On the up side I'd like a 1.2.0-rc1 out on

friday, so at the very least we can try to get releases out relatively

often, and you can try it out soon. If you want the latest you have to

build off of cvs, which isn't too hard. check out

<a href="http://sourceforge.net/cvs/?group_id=25086" class="external-link" rel="nofollow">http://sourceforge.net/cvs/?group_id=25086</a>

Then you just need ant, which is super easy to install, and then you

type 'ant war', and it'll make the war right up for you. And I just

added 'ant test', which will deploy geoserver right there for you on

port 8080, you can connect right away.</p>

<p><a href="http://join.msn.com/?pgmarket=en-ca&amp;page=byoa/prem&amp;xAPID=1994&amp;DI=1034&amp;SU=http://hotmail.com/enca&amp;HL=Market_MSNIS_Taglines" class="external-link" rel="nofollow">http://join.msn.com/?pgmarket=en-ca&amp;page=byoa/prem&amp;xAPID=1994&amp;DI=1034&amp;SU=http://hotmail.com/enca&amp;HL=Market_MSNIS_Taglines</a></p>

<p>----------------------------------------------------------

This mail sent through IMP: <a href="https://webmail.limegroup.com/" class="external-link" rel="nofollow">https://webmail.limegroup.com/</a></p>

codehaus 
April 10, 2015 at 4:48 PM

CodeHaus Comment From: jweyre - Time: Tue, 6 Apr 2004 09:45:24 -0500
---------------------
<p>EXTERNAL MESSAGE:

SUBJECT: RE: <span class="error">&#91;jira&#93;</span> Closed: (<a href="https://jira.codehaus.org/browse/GEOS-113" title="getCapabilities returns an invalid xml" class="issue-link" data-issue-key="GEOS-113"><del>GEOS-113</del></a>) getCapabilities returns an invalid xml

Do you guys have a nightly build of the .war file anywhere on sourceforge,

so someone can run the latest server.</p>

<p>Thanks,

Jamie Eyre</p>

<p>---<del>Original Message Follows</del>---

From: jira@codehaus.org

To: jweyre@hotmail.com

Subject: <span class="error">&#91;jira&#93;</span> Closed: (<a href="https://jira.codehaus.org/browse/GEOS-113" title="getCapabilities returns an invalid xml" class="issue-link" data-issue-key="GEOS-113"><del>GEOS-113</del></a>) getCapabilities returns an invalid xml

Date: Tue, 6 Apr 2004 08:23:25 -0400 (EDT)</p>

<p>Message:</p>

<p> The following issue has been closed.</p>

<p> Resolver: Chris Holmes

Date: Tue, 6 Apr 2004 8:21 AM</p>

<p>Fixed for cite tests. Gabriel actually fixed it correctly, it's just that

cite tests are sucky. They have thier own list of valid types, which are

more than the spec (which is just gml2) but more than are possible. But

none of them are GML2-GZIP. I don't know how to change them, so I'm just

leaving the option out of our capabilities section. Users can still request

it if they know about it. I know, lame solution, but it's the best we can

do and still pass cite tests (which I feel is important as we're the

reference implementation).

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

View the issue:

<a href="http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-113" class="external-link" rel="nofollow">http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-113</a></p>

<p>Here is an overview of the issue:

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

Key: <a href="https://jira.codehaus.org/browse/GEOS-113" title="getCapabilities returns an invalid xml" class="issue-link" data-issue-key="GEOS-113"><del>GEOS-113</del></a>

Summary: getCapabilities returns an invalid xml

Type: Bug</p>

<p> Status: Closed

Priority: Blocker

Resolution: FIXED</p>

<p> Original Estimate: 1 day

Time Spent: Unknown

Remaining: 1 day</p>

<p> Project: GeoServer

Components:

WMS

WFS

Fix Fors:

1.2.0

Versions:

1.2-beta</p>

<p> Assignee: Gabriel Roldán

Reporter: James Eyre</p>

<p> Created: Thu, 11 Mar 2004 2:30 AM

Updated: Tue, 6 Apr 2004 8:21 AM

Environment: Windows 2000

Tomcat 5.0.19 / Resin 3.0.4</p>

<p>Description:

When sending a getCapabilities request to the wms server, the returned xml

is not valid against the

<a href="http://www.digitalearth.gov/wmt/xml/capabilities_1_1_1.dtd" class="external-link" rel="nofollow">http://www.digitalearth.gov/wmt/xml/capabilities_1_1_1.dtd</a>.</p>

<p>---------------------------------------------------------------------

JIRA INFORMATION:

This message is automatically generated by JIRA.</p>

<p>If you think it was sent incorrectly contact one of the administrators:

<a href="http://jira.codehaus.org/secure/Administrators.jspa" class="external-link" rel="nofollow">http://jira.codehaus.org/secure/Administrators.jspa</a></p>

<p>If you want more information on JIRA, or have a bug to report see:

<a href="http://www.atlassian.com/software/jira" class="external-link" rel="nofollow">http://www.atlassian.com/software/jira</a></p>

<p>_________________________________________________________________

MSN Premium includes powerful parental controls and get 2 months FREE*

<a href="http://join.msn.com/?pgmarket=en-ca&amp;page=byoa/prem&amp;xAPID=1994&amp;DI=1034&amp;SU=http://hotmail.com/enca&amp;HL=Market_MSNIS_Taglines" class="external-link" rel="nofollow">http://join.msn.com/?pgmarket=en-ca&amp;page=byoa/prem&amp;xAPID=1994&amp;DI=1034&amp;SU=http://hotmail.com/enca&amp;HL=Market_MSNIS_Taglines</a></p>

codehaus 
April 10, 2015 at 4:48 PM

CodeHaus Comment From: cholmes - Time: Tue, 6 Apr 2004 08:21:48 -0500
---------------------
<p>Fixed for cite tests. Gabriel actually fixed it correctly, it's just that cite tests are sucky. They have thier own list of valid types, which are more than the spec (which is just gml2) but more than are possible. But none of them are GML2-GZIP. I don't know how to change them, so I'm just leaving the option out of our capabilities section. Users can still request it if they know about it. I know, lame solution, but it's the best we can do and still pass cite tests (which I feel is important as we're the reference implementation).</p>

codehaus 
April 10, 2015 at 4:48 PM

CodeHaus Comment From: groldan - Time: Tue, 16 Mar 2004 19:21:50 -0600
---------------------
<p>WFS capabilities did not validate because it was constructing the xmlschemalocation in the wrong way.

I started with a clean checkout of the code base. When buiding the war with 'ant war', the schemas are copied to /data/capabilities/wfs/1.0.0/</p>

<p>That url was created using Request.getBaseUrl() + "wfs/1.0.0/" + "WFS-capabilities.xsd" so the schema was never found.

That's where the problems came from, since in a previous version of this file, prior to the introduction of Request.getBaseUrl, it was doing WFS_URI + " " + ServerConfig.getInstance().getWFSConfig).getWfsCapLocation();</p>

<p>may be theese changes have coincided with the time when I introduced GML2.gz?</p>

<p>anyway, it should validate now, at least I can validate it since the schema can now be found.</p>

<p>thats for WFS capabilities.</p>

<p>WMS capabilities comes later, it certainly lacks an empty element &lt;VendorSpecificCapabilities/&gt; and is writting and empty &lt;Format/&gt; element, wich is illegal.</p>

codehaus 
April 10, 2015 at 4:48 PM

CodeHaus Comment From: groldan - Time: Tue, 16 Mar 2004 17:03:53 -0600
---------------------
<p>EXTERNAL MESSAGE:

SUBJECT: Re: <span class="error">&#91;jira&#93;</span> Reopened: (<a href="https://jira.codehaus.org/browse/GEOS-113" title="getCapabilities returns an invalid xml" class="issue-link" data-issue-key="GEOS-113"><del>GEOS-113</del></a>) getCapabilities returns an invalid xml

I catched the problem, wil commit in an hour or so.

We need to declare the custom output format in the .xsd, also GML2.gz is

illegal, will replace by GML2-GZIP


Original Message -----

From: &lt;jira@codehaus.org&gt;

To: &lt;gabriel.roldan@telefonica.net&gt;

Sent: Tuesday, March 16, 2004 7:11 PM

Subject: <span class="error">&#91;jira&#93;</span> Reopened: (<a href="https://jira.codehaus.org/browse/GEOS-113" title="getCapabilities returns an invalid xml" class="issue-link" data-issue-key="GEOS-113"><del>GEOS-113</del></a>) getCapabilities returns an invalid xml</p>

<p>Message:</p>

<p> The following issue has been reopened.</p>

<p> Reopener: David Zwiers

Date: Tue, 16 Mar 2004 1:11 PM</p>

<p>Does not pass cite tests for wfs or wms. Also cannot create new instances of

cite tests, as it requires a valid capabilities document.

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

View the issue:

<a href="http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-113" class="external-link" rel="nofollow">http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-113</a></p>

<p>Here is an overview of the issue:

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

Key: <a href="https://jira.codehaus.org/browse/GEOS-113" title="getCapabilities returns an invalid xml" class="issue-link" data-issue-key="GEOS-113"><del>GEOS-113</del></a>

Summary: getCapabilities returns an invalid xml

Type: Bug</p>

<p> Status: Reopened

Priority: Critical</p>

<p> Original Estimate: 1 day

Time Spent: Unknown

Remaining: 1 day</p>

<p> Project: GeoServer

Components:

WMS

Fix Fors:

1.2-beta</p>

<p> Assignee: Gabriel Roldán

Reporter: James Eyre</p>

<p> Created: Thu, 11 Mar 2004 2:30 AM

Updated: Tue, 16 Mar 2004 1:11 PM

Environment: Windows 2000

Tomcat 4.1.12</p>

<p>Description:

When sending a getCapabilities request to the wms server, the returned xml

is not valid against the

<a href="http://www.digitalearth.gov/wmt/xml/capabilities_1_1_1.dtd" class="external-link" rel="nofollow">http://www.digitalearth.gov/wmt/xml/capabilities_1_1_1.dtd</a>.</p>

<p>---------------------------------------------------------------------

JIRA INFORMATION:

This message is automatically generated by JIRA.</p>

<p>If you think it was sent incorrectly contact one of the administrators:

<a href="http://jira.codehaus.org/secure/Administrators.jspa" class="external-link" rel="nofollow">http://jira.codehaus.org/secure/Administrators.jspa</a></p>

<p>If you want more information on JIRA, or have a bug to report see:

<a href="http://www.atlassian.com/software/jira" class="external-link" rel="nofollow">http://www.atlassian.com/software/jira</a></p>

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Components

Priority

Created March 11, 2004 at 7:30 AM
Updated October 31, 2015 at 4:51 PM
Resolved May 26, 2015 at 2:43 PM