Or RelaxNG. Much simpler than Schema, easier to read. Supported by libxml2.
bob
-----Original Message-----
From: bulia byak <buliabyak@...400...> Sent: Apr 16, 2008 12:41 PM To: Ted Gould <ted@...11...> Cc: Inkscape Devel List inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] Extensions (inx) files
On Wed, Apr 16, 2008 at 2:09 PM, Ted Gould <ted@...11...> wrote:
Yes, I'm not quite how to do this in XSD, but it seems that it has to be doable. I'd really hate to have to change the XML format just to be able to represent it in XSD. I'm not sure that's a good trade off.
Can some XML expert step up here? :)
Just don't use XSD. It's wrong to assume that of all schema languages, this one is in any way special or "official". It's just one of the many, and a quite poor one at that. As for me, I prefer Schematron, where such check would be trivial.
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel