[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: DTD for kspread, karbon and krita
From:       David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date:       2003-03-23 10:03:44
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 23 March 2003 03:48, Nicolas Goutte wrote:
> I am not telling that it is the most important in KOffice. (Things like 
> printing or version control are much much more important.)
> 
> But if we are dicussing about DTD files, the current situation is not good. 
> DTD files are not supposed to be informative or human readable only but they 
> are supposed to be machine processable files.
> 
> So if your DTD do not correspond to the current XML syntax, there are things 
> that you cannot do anymore. "xmllint --valid" is one example. As far as I 
> know, Quanta needs a correct DTD to work with too. And it breaks any other 
> validating parser.

I'm not saying we should have broken DTDs.
I'm saying that if the developers who know about the file format (e.g. of kspread)
add all the elements, attributes and documentation into the DTD, but make some 
syntax errors in the process, it's easy for anyone else who has xmllint and 
knows DTD syntax to come after him and fix things
(like coolo and you IIRC did in the past).

- -- 
David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+fYaA72KcVAmwbhARApZpAJ41d6ExuBOSMyUuS+TVlJqIYHTyOwCggm+Z
UNCYUjhagMFR2KC01PIdJpo=
=Ajp/
-----END PGP SIGNATURE-----

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic