From koffice-devel Sat Apr 28 12:44:02 2001 From: David Faure Date: Sat, 28 Apr 2001 12:44:02 +0000 To: koffice-devel Subject: Re: kword/demos and kword.dtd X-MARC-Message: https://marc.info/?l=koffice-devel&m=98846209716834 On Thursday 26 April 2001 17:00, Stephan Kulow wrote: > Hi! > > I tried xmllint on chapters.kwd and found it's old :) > Then I opened and saved it and found this. Similiar errors I got for > DTPTest. Is the DTD supposed to say what a valid kword document is? Hmm, you should have tried the templates. At least those I've ported. Didn't port chapters.kwd indeed. > chapters2.kwd:8: validity error: Element FRAME doesn't carry attribute > newFrameBehaviour Now that's strange, because in the DTD I read : Anything wrong here ? > chapters2.kwd:14: validity error: No declaration for attribute customdef on > element COUNTER Indeed missing. Added. But not supported currently. And shouldn't be saved if empty. if ( !m_custom.isEmpty() ) element.setAttribute( "customdef", m_custom ); Hmm, I guess you tested before this fix. > flatland.kwd:20: validity error: Element OFFSETS doesn't carry attribute after > DTD fixed. Thanks. -- David FAURE, david@mandrakesoft.com, faure@kde.org http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/ KDE, Making The Future of Computing Available Today _______________________________________________ Koffice-devel mailing list Koffice-devel@master.kde.org http://master.kde.org/mailman/listinfo/koffice-devel