To support polymorphism, feature name specifications used in feature 
chaining are evaluated as CQL expressions. Because your name contains a 
'-', it is misinterpreted as a CQL subtraction (the arguments of which 
do not exist, so it results in NaN).

Please try surrounding the feature type name with single quotes (') to 
prevent evaluation as a CQL expression (single-quotes are a CQL 
literal). For example:

<linkElement>'ps-f:species'</linkElement>

Please let us know if this resolves the problem.

Kind regards,
Ben.


On 13/09/10 18:58, babsip wrote:
>
> Hi,
>
> I have a complex feature that chains to another feature (a non-feature-type
> included with<includedTypes>-directive in mapping file). The feature type I
> want to chain to is called "ps-f:species". With WFS I get the following
> error-message:
>
>     "Feature type NaN not found. Has the data access been registered in
> DataAccessRegistry?"
>
> If I change the name to e.g. "psf:species" (in the mapping file(s) as well
> as in the respective XSD), everything works fine.
>
> This seems only to be a problem with feature chaining. If e.g. the
> top-element is called "ps-f:ProtectedSite" I can access it via WFS without
> any problem.
>
> This leads me to the following questions:
>
> * which characters are allowed in feature names used for feature chaining?
>
> * Does this mean that I have to manually change the namespace in the XSD? To
> me it looks as if the feature-name is bound to the XSD's namespace. Or is
> there a way to de-couple them?
>
> Thank you in advance for your help!
>
> Barbara


-- 
Ben Caradoc-Davies <[email protected]>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to