Yes, the code add a "?" char before the "<?xml version="1.0" 
encoding="UTF-8"?>" line.
Regards,
Matteo



That would suggest that the data in the resource is invalid xml?
Have you tried to examine the layerDefString variable before the crash?

Regards, Kenneth Skovhede, GEOGRAF A/S



Matteo skrev:
> Hi Kenneth,
>   I have found the bug. The problem is on BuildLayerDefinitionData sub of 
> Legend.aspx file. When the sub process a runtime layer the line 
> doc.LoadXml(layerDefString) get a error. I solve the problem saving the xml 
> definition of layer in a file and load it
>
> The same problem there is in MapGuide Enterprise 2010 so I think also in 
> MapGuide Open Source 2.1
>
> Regards
> Matteo
>
>
> Have you tried with a subset of the filter? eg: only: callStatus like 
> 'Completed'.
> I have had trouble with composite filters on OGR datasources, but single 
> filters work fine.
> The "valid = 01" part looks a little suspicious to me, is "valid" a 
> numeric or text column?
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
> _______________________________________________
> mapguide-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>   
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users



-- 
View this message in context: 
http://n2.nabble.com/Legend-and-runtime-Layer-filter-tp2249502p2658472.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to