On Friday, June 10, 2011 20:36:36 PM Pierre wrote: > Also, another question about your proposal : would it be strict regarding > the content types ? > I mean : a positiveInteger attribute for a given node must remain a > positiveInteger, and that could even be checked at compilation time... Yes, that would be possible. Note that while these checks are better than nothing it is not possible to completely guarantee valid ODF at compile time. There are cases where an attibute is allowed when another one is not present or where elements must occur in the right sequence. Checking values from an enumeration or types like positive integers is definitely possible.
Cheers, Jos _______________________________________________ calligra-devel mailing list calligra-devel@kde.org https://mail.kde.org/mailman/listinfo/calligra-devel