
On Tue, Apr 15, 2008 at 04:32:49PM +0000, Ted Gould wrote:
On Tue, 2008-04-15 at 15:12 +0200, Marcin Floryan wrote:
I was playing with some extensions recently and started wondering that it would be nice if the extension files (inx) could be made into properly formatted XML documents with their own namespace and an XSD to come with it.
YES!!! PLEASE!!!
OK. I have done a bit. Now all the .inx files are proper XML documents and have a namespace and there is schema to validate the files and ... all the current .inx files actually validate against it (I used mono-xmltool to validate but I hope it is good enough a validator). Now perhaps would be a good time to hook some validation into the build process (and into the code?) but that would probably need a small C app (all validators I have at hand now are either in Java or .NET).
The new schema file is attached and any comments are most welcome (I have applied some formatting to it so that it is easier to read than the SVN version).
And finally - thanks guys for introducing me to the beautiful world of RelaxNG! It is simple yet powerful and within a day or so I was able to handle all params and even the notebook pretty easily. -- Marcin Floryan http://marcin.floryan.pl/ [GPG Key ID: 0D5581C5]