[mapserver-dev] OSGEO 2009 Annual Report - MapServer

zach cruise zachc1980 at gmail.com
Wed Feb 3 15:36:57 EST 2010


xml is case-sensitive (monocasing cost) but it (and xml mapfile)
doesn't have to be (too late). unfortunately mapfile is often written
manually (cgi not mapscript) and the same practice would extend to xml
mapfile. most people don't think in camel-case (not to mention the
added cost of comparison).
rant: http://www.tonymarston.co.uk/php-mysql/case-sensitive-software-is-evil.html

On Mon, Feb 1, 2010 at 7:13 PM, Alan Boudreault
<aboudreault at mapgears.com> wrote:
> AFAIK, XML is case sentivive, so yes. XML is not really made to be written
> "manually". Most of xml editors auto-complete what you write based on the
> xml schema. And if you are writting it manually, there is 4 rules to follow:
>
> * All container tags (a tag which contain other tags) start with an
> uppercase.
> * All non-container tags start with a lowercase.
> * All subsequent words begin with a uppercase
> * All constant value (like FEET, INCHES, MILES, PIXELS, HILITE) are
> uppercase.
>
> regards,
> Alan
>
> zach cruise wrote:
>>
>> do the xml mapfile tags, attributes and values have to be camel-case?
>> that really sucks!
>>
>> thanks for your work though.
>>
>> On Mon, Feb 1, 2010 at 12:07 AM, Lime, Steve D (DNR)
>> <Steve.Lime at state.mn.us> wrote:
>>
>>>
>>> Hi all: I spaced putting this together and just got to it this evening.
>>> While I think I hit most of the high (and low) points of the past twelve
>>> months there is undoubtedly room for improvement. Feel free to pass changes
>>> along to me (or make 'em yourself). The draft version is at:
>>>
>>>  http://wiki.osgeo.org/wiki/MapServer_Report_2009
>>>
>>> Steve_______________________________________________
>>> mapserver-dev mailing list
>>> mapserver-dev at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>>>
>>
>> _______________________________________________
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>>
>
>
> --
> Alan Boudreault
> Mapgears
> http://www.mapgears.com/


More information about the mapserver-dev mailing list