Closed TAlonglong closed 3 months ago
Good. It was not flexible enough indeed Would it be possible to leave out the version? so we are not locked into it? Something like this:
<xsl:when test="(contains($myurl,'?SERVICE=WMS') and contains($myurl, 'REQUEST=GetCapabilities')) or (contains($myurl,'?service=WMS') and contains($myurl, 'request=GetCapabilities'))">
Sure. I had no idea I could use such syntax.
The only thing I see now is the ? being tied to service|SERVICE
Can we assume the question mark or do we need to check for it?
You are right! I guess the order of the arguments do not matter. So we can just remove the question mark.
OK, will fix
Added extra check to test if OGC WMS resource contains getcapabilities string on satellite data
Closes #249