On 2013-01-12 21:28, Andrea Aime wrote:
>
> All the issues could be referred to a single cause:
> the SimpleFeaturePropertyAccessorFactory
> uses a regular expression to match valid property patterns that is way
> too strict
> for real world, valid simple feature elements: it did not consider the
> possibility
> of having dots, or accented chars, or dashes and the like in the name,
> nor having
> the indexed access referring to the first instance, e.g., attribute[1].
Ah, so my workaround for special characters in property names in CQL
would no be longer needed? Ie.
ff.property("./*[name()='#SHAPE#']").evaluate(feature) to get the value
of a property with special characters in its name.
I encountered the jxpath regexp here:
http://osgeo-org.1560.n6.nabble.com/CQL-filter-on-property-with-special-character-td4646057.html
Matthijs
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel