Re: XML Schema



Well, the DTD's just describe the documents format.  You don't need them per say
unless you want to validate files.  The advantage of XSchemas are that they allow for
data types both complex and simple to be defined.  Actually I am going to use the
simpler Relax-NG stuff.  The great thing about using either one is that they are
easier to read than DTD's and one can write a compiler to create C structures based
on the schema file.  Since it is only used to define the file format and since work
can go on on other parts without having the validator/compiler I don't think that
using them will have any negative impact.  However if you think that having a DTD
around would be good I can do it both ways.

-J5

"James K. Lowden" wrote:

John Palmieri wrote:

I'm getting a little bit of a feel for XML Schema's.  ... I think they are a
better way to represent the shapes instead of DTD's.

John, what do we need that DTD's don't provide?  libxml supports DTDs and is
starting to support XPath and XSLTs.  We'll get done sooner if we stick with more
mature stuff.  That is, I think we're better off a little behind libxml than a
little in front of it.

--jkl

_______________________________________________
Dia-list mailing list
Dia-list gnome org

http://mail.gnome.org/mailman/listinfo/dia-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]