Re: [Inkscape-devel] Extensions (inx) files
I've seen several things (SOAP for example) that, for data types, just use Schema's own namespaced data types. In fact, the data types are the only part of XSD that I like. :-)
bob
-----Original Message-----
From: Marcin Floryan <mfloryan@...1877...> Sent: Apr 16, 2008 9:17 AM To: Ted Gould <ted@...11...> Cc: Inkscape Devel List inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] Extensions (inx) files
Ted,
Things are funny at times. I have just reached a point where I am slightly confused how the XSD should be written (to define parameters) and so I've looked into your XSD and you seem to have been stuck at the same point :-) There is no neat way to define
<param type="int" ..>int</param> <param type="float">float</param> since XSD does not support element typing based on attribute values (fair enough). So either we have some less strict XSD rules (and relay on further validation in code) or we change that element's name to reflect the type as well (I opt for the latter, but wonder what people here think).
PS. I suppose this is why you can have <input type="submit" maxlength="12" ...> in XHTML though logically it does not make sense :-)
Marcin Floryan http://marcin.floryan.pl/ [GPG Key ID: 0D5581C5]
participants (1)
-
Bob Jamison