On Mon, Jan 14, 2013 at 10:14 AM, Matthijs Laan
<[email protected]>wrote:

> 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.
>

Nope, since #SHAPE# is not a valid XML element name.
E.g. with something like:

<?xml version="1.0" encoding="UTF-8"?>
<container>
  <#test#>
  </#test#>
</container>

the eclipse XML validator states the document is not well formed

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
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

Reply via email to