Trung Dinh wrote:

> Opps, Sorry Cory,
>
> That's my bad. The String sld should be like this (this is a little 
> bit different than the other case, but we can still see the malformed 
> xml code, like "<ogc:FeatureId ="parcelall.1917"/>", which is one of 
> the place that can cause the exception:
> ---------------------------------------------------------------------
> Default StylerDefault 
> StylerparcelallnameAbstracttitle1.7976931348623157E308#9191FF0.05#6666FFbuttmiter1.01.00.0parcelallnameAbstracttitle1.7976931348623157E308#FF33990.5parcelallnameAbstracttitle1.7976931348623157E308#FF00CC0.5
> -----------------------------------------------------------

Hi Trung,

This should be:

<ogc:FeatureId fid="parcelall.1917"/>

In this case the SLDTransformer is producing mangled XML, and the 
SLDParser is barfing as it should.  The problem occurs in the 
FilterTransformer class.  Between the 2.1.x and 2.2.x branches, I see 
the following change:

-                atts.addAttribute("", "fid", "", "", fids[i]);
+                atts.addAttribute("", "fid", "fid", "", fids[i]);

So this problem was fixed on the 2.2.x branch: r15885 | jeichar | 2005-09-27

Cory.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to