list at codefusion.co.za
Tue Jun 15 12:03:59 CEST 2004
On Tuesday 15 June 2004 11:49, David Faure wrote:
> One more note on that: Bo suggested <Note> instead of <note> or <NOTE>
> (most of the storage format has title-cased words currently).
> But it's more common in XML to use all-lowercase words.
> Proper XML would even be <namespaceprefix:note>, but that's not necessary if there's
> only one namespace being used, as is the case here.
> I would suggest to use "<nick-name>" instead of "<NickName>", etc.
> This would be more consistent with modern XML specs.
I fully support this and think we should stick as close as possible to standard
or accepted practices when it comes to XML.
> Is there a plan to write a formal schema for this XML format? In that case I would suggest
> using XML Schema or RelaxNG instead of a DTD. This allows to validate existing files
> throughly, including showing an error if a color was specified as "blue" instead of #FF0000,
> which a DTD doesn't allow. If there's some interest in this (and time for it), I could write
> a RelaxNG schema that we could all use to validate the generated XML.
Sounds good, would assist us a lot when validating content and debugging...
More information about the format