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

List:       koffice-devel
Subject:    Re: [PATCH] OOWriter: OASIS is not version 1
From:       David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date:       2003-08-27 21:50:52
[Download RAW message or body]

On Wednesday 27 August 2003 23:13, Nicolas Goutte wrote:
> The attached patch is for koffice/filter/kword/oowriter
> 
> It only writes that the OO document is version 1.0 if there is no (oASIS) 
> extension.
> 
> The reason behind the patch is that section 1.8.1 of the OO file format 
> specifiaction allow the XML document to be read by a validating parser if 
> there is a version number known by the reading program. Avoid writing a 
> version number means that it is not allowed to use a validating parser.

Hmm, didn't think about that.
This won't do much though, since styles default to align=auto, it basically
means that the version 1 thing will never be written out.

OOo is supposed to ignore attributes it doesn't know about, so we're not
really doing anything wrong here, by using our own attribute...

Do you mean that office-version is really the OOo version, and that it
doesn't create any problem to omit it? In that case we might as well
omit it completely, it feels a bit strange to optionally set it.

-- 
David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
_______________________________________________
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