[mapguide-users] Error creating Layer
using MgResourceService::SetResource method
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Thu Aug 14 03:59:40 EDT 2008
It could happen while somewhere else, but the files have a three byte
UTF-8 Byte-Order-Marker (BOM).
MapGuide does not handle such a BOM correctly, and I have written a bug
report for it:
http://trac.osgeo.org/mapguide/ticket/233
If you manage to upload the header file with a BOM, all calls to that
touch the header fails, including "EnumerateResources".
If you are unsure what I talk about, try opening the files with a hex
editor, and you will see the three bytes.
To fix it, remove the three bytes. (In notepad++, choose "Format" ->
"Encode as UTF-8 (no BOM)")
Regards, Kenneth Skovhede, GEOGRAF A/S
wkhattak skrev:
> Hi,
>
> The Content & Header files are as follows:
>
> regards,
>
> W Khattak
>
> http://www.nabble.com/file/p18976891/Junction%2BNumber-CONTENT.xml
> Junction+Number-CONTENT.xml
> http://www.nabble.com/file/p18976891/Junction%2BNumber-HEADER.xml
> Junction+Number-HEADER.xml
>
More information about the mapguide-users
mailing list