[mapguide-internals] RE: /branches root directory reserved only for MapGuide?

Jackie Ng jumpinjackie at gmail.com
Mon May 3 20:18:48 EDT 2010


Hi Dave,

I'd like to say that Maestro should be able to edit every known xsd version
of a given resource, but that is not really the case as Maestro still
doesn't have editor support for some features introduced in newer xsd
versions (eg. legend visibility control for layer styles, ping server flag
for web layouts). 

This is because all the xml serialization is handled by auto-generated
classes (generated by xsd.exe or some variant). I believe this was generated
once-off against the mapguide xsd schema set at some point in the past, and
since then hodge-podge hacks have been put in place to be able to save in
different versions of the schema. This isn't surprising given that Maestro
was originally a .net 1.1 project and partial classes didn't exist back
then. Doesn't really allow for clean code. Also it's a bit hard to generate
classes (via xsd.exe) against different versions of the xsd without causing
naming collisions in the generated code (or maybe each particular version
should reside in its own namespace).

This part of the Maestro code base has bothered me the most since taking
over. I'm pretty sure there is a cleaner way to do this, but that's a
different topic of discussion.

- Jackie
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/branches-root-directory-reserved-only-for-MapGuide-tp4996834p5000979.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.


More information about the mapguide-internals mailing list