[CITE-Forum] Fwd: namespace problem in CITE WFS 1.1.0
jeffery.fitzgerald at gmail.com
jeffery.fitzgerald at gmail.com
Fri Sep 10 09:12:52 EDT 2010
Is there a way any future tests (and ideally any existing ones) could
provide an interface to set the prefix and namespace URL for the tests to
use rather than assuming a hardcoded one?
Fitz
On Sep 10, 2010 9:06am, Luis Bermudez <lbermudez at opengeospatial.org> wrote:
> Dear Arthur,
> I think the solution you are proposing is good.
> Not sure if this helps, but here:
> http://www.w3.org/TR/xml-names/#NT-Prefix it is well define what the
> construction of a prefix can be. A prefix is a NCName, which means it
> cannot start with a number. I think you can add "_" before the number you
> are using for the prefix.
> Cheers,
> Luis
> Luis Bermudez, Ph.D.
> Director of Interoperability Certification
> Open Geospatial Consortium (OGC)
> Office: +1 (301) 760-7323 | Fax: +1 (202) 640-4339
> http://www.opengeospatial.org/contact
> The OGC: Making Location Count...
> -----------------------------------
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they are
> addressed. Any unauthorized review; use, disclosure or distribution is
> prohibited. If you are not the intended recipient, please contact the
> sender by reply e-mail and destroy all copies of the original message.
> -----------------------------------
> On Sep 10, 2010, at 7:27 AM, Arthur Liu wrote:
> > Hi Luis and all,
> >
> > Great thanks for your help and I am sorry that I missed the last e-mail.
> >
> > My problem is the prefix (sf) which displays before the featuretype
> (PrimitiveGeoFeature). Our WFS server doesn't support the customized
> prefix and namespace URL, but will generate a hash code as the prefix
> like 123456: PrimitiveGeoFeature.
> > Because the test engine will look for a featuretype named sf:
> PrimitiveGeoFeature but the featuretype we generated is 123456:
> PrimitiveGeoFeature. That's why we cannot pass the certification.
> >
> > I think the best solution for us is to create a mechanism to specify
> the prefix and namespace URL for the featuretype.
> >
> > Regards,
> > Arthur
> >
> > -----Original Message-----
> > From: Luis Bermudez [mailto:lbermudez at opengeospatial.org]
> > Sent: Friday, September 10, 2010 5:45 AM
> > To: Arthur Liu
> > Cc: cite-forum at lists.opengeospatial.org
> > Subject: Re: [CITE-Forum] Fwd: namespace problem in CITE WFS 1.1.0
> >
> > Dear Arthur,
> >
> > Have you solved this issue ?
> >
> > If not, can you please provide an example of the typename parameter
> that is causing the error as well as the error message ?
> >
> > Best Regards,
> >
> > Luis
> >
> > Luis Bermudez, Ph.D.
> > Director of Interoperability Certification Open Geospatial Consortium
> (OGC)
> > Office: +1 (301) 760-7323 | Fax: +1 (202) 640-4339
> http://www.opengeospatial.org/contact
> >
> >
> > The OGC: Making Location Count...
> >
> > -----------------------------------
> > This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they are
> addressed. Any unauthorized review; use, disclosure or distribution is
> prohibited. If you are not the intended recipient, please contact the
> sender by reply e-mail and destroy all copies of the original message.
> > -----------------------------------
> >
> >
> >
> >
> >
> >
> >
> >
> > On Aug 30, 2010, at 10:02 AM, Andreas Schmitz wrote:
> >
> >> Raj Singh wrote:
> >>
> >> Hi,
> >>
> >>> Begin forwarded message:
> >>>
> >>>> From: Arthur Liu arthur.liu at autodesk.com>
> >>>> Date: August 25, 2010 5:29:05 AM EDT
> >>>> To: "'cite-forum at lists.opengeospatial.org'"
> >>>> cite-forum at lists.opengeospatial.org>
> >>>> Subject: [CITE-Forum] namespace problem in CITE WFS 1.1.0
> >>>>
> >>>> Hi all,
> >>>>
> >>>> When running the test of WFS 1.1.0, I get an error for following
> >>>> request
> >>>>
> >>>> http://xxx?&request=GetFeature&service=WFS&version=1.1.0&typename=sf
> >>>> :PrimitiveGeoFeature&namespace=xmlns(sf=http://cite.opengeospatial.o
> >>>> rg/gmlsf)
> >>>>
> >>>> The reason is the namespace of the type name. The product have our
> own way to encode and decode the namespace.
> >>>>
> >>>> I would like to know if the namespace parameter must be resolved?
> >>> And Is it permitted that I use a hardcode namespace for CITE test
> >>> data?
> >>
> >> I'm not sure that I understand your question. Your service will need
> >> to be able to respond to a request like this, because that's one way
> >> to send GetFeature requests specified in the WFS spec. The encoding of
> >> the requests should be standard URL encoding, using a character
> >> encoding of UTF-8. For this request, I don't think there are
> >> characters which need to be encoded. What error are you getting?
> >>
> >> Best regards, Andreas
> >> --
> >> lat / lon GmbH
> >> Aennchenstrasse 19 53177 Bonn, Germany
> >> phone ++49 +228 18496-0 fax ++49 +228 1849629
> >> http://www.lat-lon.de http://www.deegree.org
> >> Follow deegree on Twitter: http://twitter.com/deegree_org
> >> _______________________________________________
> >> CITE-Forum mailing list
> >> CITE-Forum at lists.opengeospatial.org
> >> https://lists.opengeospatial.org/mailman/listinfo/cite-forum
> >
> >
> _______________________________________________
> CITE-Forum mailing list
> CITE-Forum at lists.opengeospatial.org
> https://lists.opengeospatial.org/mailman/listinfo/cite-forum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20100910/51157340/attachment.htm
More information about the CITE-Forum
mailing list