Hi, >From this old thread >https://sourceforge.net/p/deegree/mailman/deegree-users/?viewmonth=201009&viewday=17 > you can read that Markus Schneider from the deegree project and unnamed >people from the OGC WFS group considered "that the schema is broken, but it's >o.k. to use underscores."
Also http://stackoverflow.com/questions/3367205/is-something-wrong-with-my-regex explains: a) from XML Schema reference on regexp: \w - Any character that might appear in a word. A shortcut for '[#X0000-#x10FFFF]-[\p{P}\p{Z}\p{C}]' (all characters except the set of "punctuation", "separator", and "other" characters). b) underscore character definition in Unicode is 'LOW LINE' (U+005F), category: punctuation, connector [Pc] Thus underscore seems to be a punctuation mark and punctuation marks are not allowed in \w and therefore underscore breaks the WFS schema. -Jukka Rahkonen- ________________________________________ nmtoken wrote: Sorry, coming to this thread a little late after experiencing the same error... geowolf wrote > So, I have to assume that \w does not include "_" as a valid char. I know it's only a little book, but Regular Expression Pocket Reference by Tony Stubblebine <http://shop.oreilly.com/product/9780596004156.do> tells me that (Class shorthands \w, ...), a word character is often all ASCII alphanumeric characters plus the underscore, however... can include additional locale or Unicode alphanumerics. So this definition tells us that the underscore should be matched by the regex and should work with strict CITE conformance to WFS 1.1.0. I'm not sure whether this makes an error like the below a bug in GeoServer (2.7.0), or a bug with one or more XML validators, but it does seem to be a bug. James -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WFS-GetFeature-Post-Request-tp5171303p5206460.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
