Hi Andrea;

I just want to be sure I am understanding the question correctly.  By 
"attributes are non qualified" I think Justin is trying to say that he 
is only finding the first attribute with a local part that matches.

Andrea Aime wrote:
>>> Got it, but there were two questions here. The first one is still
>>> unanswered:
>>> "attributes are non qualified". Hum, what do we do with GML Feature 
>>> attributes like gml:name?
So simpleFeature.getAttribute("name") would indeed match content created 
with a "gml:name" (the gml prefix internally would of been matched 
against a NameImpl("http://schemas.opengis.net/gml/3.2.1/gml.xsd","name";).

That is:
> <element name="name" type="gml:CodeType">
>     <annotation>
>       <documentation>The gml:name property provides a label or identifier for 
> the object,...</documentation>
>     </annotation>
> </element>
Is this what you are talking about? It looks to be the one referenced in 
"StandardObjectProperties" ...

Cheers,
Jody

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to