[PATCH] XML Policy
Jason Keirstead
jason at keirstead.org
Wed Feb 23 00:38:30 GMT 2005
On February 22, 2005 08:23 pm, Frans Englich wrote:
> From the discussion so far it is of course implied that the document should
> not appear on developer.kde.org, but if the second draft fixes what people
> thought needed to be, they should not hesitate to drop a line. Is everyone
> happy? :)
One more comment :P
I don't really agree with the section on XML Schemas either. Having to specify
"Type" at the end of a type name reminds me too much of hungarian notation
( int intThis ). It is not necessary in the least to have this in the name to
infer that the declaration is for a type, I mean, it is in the freaking tag
itself!
Eg, how is this:
<xsd:element name="container" type="containerType" />
...more clear than:
<xsd:element name="container" type="container" />
Not to mention that this guideline once again does not follow actual practice
already in use in KDE ( see kdeui/kxmlgui.xsd or
kdecore/kconfig_compiler/kcfg.xsd for example, or my own recently posted
http://kopete.kde.org/files/kopetemessage.xsd. None of the names of custom
types in these files end in "Type" )
--
Jason Keirstead
http://www.keirstead.org
More information about the kde-core-devel
mailing list