• Tidak ada hasil yang ditemukan

WFS 1.1.0 test suite CR – Fix sortby tests

N/A
N/A
Protected

Academic year: 2017

Membagikan "WFS 1.1.0 test suite CR – Fix sortby tests"

Copied!
3
0
0

Teks penuh

(1)

Open Geospatial Consortium

OGC Doc 07-164

For

HELP

on using this form, see bottom of this page or look at the pop-up text over the symbols.

Proposed change affects:  AS Imp Spec Best Practices Paper Other X

Title:  WFS 1.1.0 test suite CR – Fix sortby tests

Source:  Chuck Morris, Richard Martell

Work item code:Date:

Category:F

Use one of the following categories:

F (Critical correction)

A (corresponds to a correction in an earlier release)

B (Addition of feature),

C (Functional modification of feature)

D (Editorial modification)

Detailed explanations of the above categories can be found in the TC Policies and Procedures.

Reason for change:  The sortby tests in the WFS 1.1.0 test suite don’t work for some valid WFS 1.1.0 implementations. The test scripts expect multiple feature elements inside a single gml:featureMembers element and fail if there are multiple

gml:featureMember elements that each contain a feature element, but both ways of implementing a feature collection are valid.

Summary of change:  Modified the test scripts to work with either implementation of a feature collection.

Consequences if

not approved:

Some members will not be able to pass the compliance tests and receive certification.

Clauses affected:  Test wfs-1.1.0-Basic-GetFeature-tc50.1 Test wfs-1.1.0-Basic-GetFeature-tc50.2

Other specs  Other core specifications 

(2)

Supporting Doc.

Other comments:

Status  NEW

Disposition

In GetFeature-GET.xml, tests GetFeature-tc50.1 and wfs-1.1.0-Basic-GetFeature-tc50.2

and GetFeature-POST.xml, tests GetFeature-tc51.1 and wfs-1.1.0-Basic-GetFeature-tc51.2

Replace the lines

<xsl:variable name="f1.int"

select="$request1//sf:PrimitiveGeoFeature[1]/sf:intProperty" /> <xsl:variable name="f2.int"

select="$request1//sf:PrimitiveGeoFeature[2]/sf:intProperty" /> <xsl:variable name="f3.int"

select="$request1//sf:PrimitiveGeoFeature[3]/sf:intProperty" />

with

<xsl:variable name="features"

select="$request1//sf:PrimitiveGeoFeature"/>

<xsl:variable name="f1.int" select="$features[1]/sf:intProperty" /> <xsl:variable name="f2.int" select="$features[2]/sf:intProperty" /> <xsl:variable name="f3.int" select="$features[3]/sf:intProperty" />

In GetFeature-POST.xml, tests GetFeature-tc51.3 and wfs-1.1.0-Basic-GetFeature-tc51.4

Replace the lines

<xsl:variable name="f1.str"

select="$request1//sf:AggregateGeoFeature[1]/sf:featureCode" /> <xsl:variable name="f2.str"

select="$request1//sf:AggregateGeoFeature[2]/sf:featureCode" /> <xsl:variable name="f3.str"

select="$request1//sf:AggregateGeoFeature[3]/sf:featureCode" />

with

<xsl:variable name="features"

select="$request1//sf:AggregateGeoFeature"/>

<xsl:variable name="f1.str" select="$features[1]/sf:featureCode" /> <xsl:variable name="f2.str" select="$features[2]/sf:featureCode" /> <xsl:variable name="f3.str" select="$features[3]/sf:featureCode" />

In GetFeature-POST.xml, tests GetFeature-tc51.5 and wfs-1.1.0-Basic-GetFeature-tc51.6

Replace the lines

<xsl:variable name="f1.date"

select="$request1//sf:PrimitiveGeoFeature[1]/sf:dateProperty" /> <xsl:variable name="f2.date"

select="$request1//sf:PrimitiveGeoFeature[2]/sf:dateProperty" /> <xsl:variable name="f3.date"

select="$request1//sf:PrimitiveGeoFeature[3]/sf:dateProperty" />

(3)

<xsl:variable name="features"

select="$request1//sf:PrimitiveGeoFeature"/>

Referensi

Dokumen terkait

fleksibel ditambah dengan penambahan fasilitas yang belum ada di Bandung sehingga projek pusat edukasi dan terapi anak autis ini dapat memenuhi kebutuhan dari

(6) Pendidikan Profesi Guru (PPG) sebagaimana dimaksud ayat (1) adalah program pendidikan yang diselenggarakan untuk mempersiapkan lulusan S1 kependidikan dan S1/D4

Sikap layanan yang baik merupakan persyaratan utama yang harus dimiliki oleh petugas perpustakaan terutama petugas pada bagian layanan referensi, sebab sikap

[r]

bahwa besaran tunjangan kehormatan yang diberikan kepada Bekas Anggota Komite Nasional Indonesia Pusat dan Janda/Dudanya sebagaimana ditetapkan dalam Peraturan Pemerintah Nomor 10

Abstrak berisi tidak lebih dari 250 kata dan merupakan intisari seluruh tulisan yang meliputi: latar belakang, tujuan, metode, hasil dan kesimpulan serta ditulis

In response to the question asked to determine the types of museum which the parents had visited with their children, a considerable number of the participants stated that they had

Pada penelitian ini dilakukan pengujian fungsional sistem dengan parameter dapat mengeksekusi perintah dari smartphone android, timer berjalan sesuai waktu masukan