Why a DTD and not a XML-Schema ?

[email protected] Thu, 18 Dec 2003 16:35:05 +0100
Newsgroups gmane.linux.zynot.general
Message-ID <[email protected]>
Hi everybody,


I am new to this mailing list and I hope I would be able to help
Xeta development team.

After a short discussion with "theDevil-" on IRC I would like to know,
why you have decided to use a DTD for Xbuild and not an XML-Schema ?

IMHO, DTD is document oriented and not application orientated like XML-Sc=
hema.

How do you make the difference between :=20

"10 april 2004" and "10/04/2004" or "04/10/2004" if they all are
PCDATA ?

XML-Schema allows you strong typing for your attributes or elements (and =
therefore=20
IMHO it is much safer).

To use XML-SCHEMA from C++ there is, for example, two open source librari=
es like :=20
Xerces-C++ http://xml.apache.org/xerces-c/
or=20
Gnome's one : http://www.xmlsoft.org/ (C and not C++ oriented)
allowing C++ programs parsing easly XML files.

Do you plan to use one of them ? to write a new one ? Or to use another o=
ne ?

As short example of what you can do with XML-Schema you may read this :
http://www.xml.com/pub/a/2000/11/29/schemas/part1.html

Thank you to let me know what are your points of view and be lenient with
a new mailing list subscriber.=20
I do not want to make a "troll" or to create=20
(again?) a passionate discussion  on the subject if the subject is closed=
.


Best regards
Pac.


PS: Sorry for my poor english I am just a frenchie :=3D)
PSS: Two words about me : Currently I am finishing a Master in Computer S=
cience in=20
Paris (France) and Montr=E9al (Canada).