Dear Open Hub Users,
We’re excited to announce that we will be moving the Open Hub Forum to
https://community.blackduck.com/s/black-duck-open-hub.
Beginning immediately, users can head over,
register,
get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.
On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at
[email protected]
Hello,
Congratulations for your forum.
I'm learning mapguide, and I'm trying to use theme function. Unfortunately i'm having the error message:
An exception occurred in DB XML component.
Error: XML Indexer: Parse error in document at line, 1, char 2276. Parser message: Not enough elements to match content model : '((LineStyle,Thickness,Color,Unit,SizeContext),ExtendedData1)'.
When i do:
...
String xmlString = doc.DocumentElement.OuterXml;
String uniqueName = this.MakeUniqueLayerName(map, GetParameter(this.args, LAYERNAME
), GetParameter(this.args, THEMENAME
));
String legendLabel = layer.GetLegendLabel();
legendLabel = legendLabel + (
+ GetParameter(this.args, THEMENAME
) + )
;
MgResourceIdentifier layerResId = new MgResourceIdentifier(Session:
+ GetParameter(this.args, SESSION
) + //
+ uniqueName + .LayerDefinition
);
resourceService.SetResource(layerResId, new MgByteReader(xmlString, text/xml
), null);
...
Thanks,
Best Regards
Greetings toomuch,
I think you're posting in the wrong forum. If you're looking for support for MapGuide, you'll have to join their Mailing List. This is the forums for Ohloh, an Open Source Directory. Best of luck,
-jay