Hi list,

I'm upgrading Geoserver from 2.3.5 to 2.8.1 and my client code cannot work anymore. Basically it sends a WFS Url request with a filter to Geoserver. The filter looks as follows:

<fes:Filter xmlns:fes='http://www.opengis.net/fes/2.0' xmlns:gml='http://www.opengis.net/gml/3.2'> <fes:PropertyIsLike matchCase='false' wildCard='*' singleChar='#' escapeChar='!'>
        <fes:ValueReference>...</fes:ValueReference>
        <fes:Literal>...</fes:Literal>
    </fes:PropertyIsLike>
</fes:Filter>

With version 2.8.1 I receive the exception message:*XML document structures must start and end within the same entity*

I have been able to get around this by replacing /*singleChar='#'*/ with /*singleChar='%'*/, but still cannot understand why the '#' causes the problem. Also, '.' and '_' do not work either and I receive the same exception message. Only '%' works.

Btw, Geoserver 2.3.5 was running with Java 6; when I updated to 2.8.1 I also updated to Java 8.

If someone could shed some light on this I'd appreciate it.

Best regards,
Nhan Vo



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to