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

List:       koffice-devel
Subject:    Re: [PATCH] KWord's DTD
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-12-05 23:42:35
[Download RAW message or body]

On Wednesday 05 December 2001 23:45, Nicolas Goutte wrote:
> The attached patch is for the file kword/kword.dtd
> 
> Dash sequences:
> I have replaced the dash sequences, as in SGML, two dashes end (or start) a 
> comment and three dashes are a parsing error. A DTD is a SGML file.
> 
> newFrameBehavior:
> This attribute was recently renamed from British English to American English, 
> however the documenation has only half followed.
> 
> xml:space="preserve"
> I have added this attribute, as we are using it implictely. In <TEXT>, the 
> spaces are important, as <FORMAT> tags depend on them.
> Note: I have done this changes according to the specification of XML. I have 
> not verified that it works with any XML tool.

Looks good, except that it's DEPRECATED, not DEPRECIATED.
Both words exist in English, but not with the same meaning.

I'm not too sure about the preserve space thing. QDom isn't always preserving
our spaces (e.g. you can't have <TEXT>   </TEXT> - more than one space, if
there's nothing else in the text, is always reduced to a single one, IIRC.)
Anyway that atllist doesn't influence validating from the dtd in any way, so this
doesn't matter much.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/ , http://www.konqueror.org/
KDE 3.0: Konquering the Desktops

_______________________________________________
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