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

List:       koffice-devel
Subject:    Re: Time Variable Format
From:       Nicolas Goutte <nicog () snafu ! de>
Date:       2001-12-27 21:30:05
[Download RAW message or body]

On Thursday 27 December 2001 21:45, David Faure wrote:
> On Thursday 27 December 2001 21:39, Thomas Zander wrote:
> > On Thu, Dec 27, 2001 at 09:15:16PM +0100, Nicolas Goutte wrote:
> > > On Thursday 27 December 2001 20:04, Thomas Zander wrote:
> > > > This would mean that both the loading and the saving would have to be
> > > > updated to reflect this. The now fails with the last of those 2 XMLs.
> > > > I will look into that. Ok, committed a fix for that.
> > > > The saving is a whole lot more work; so I'll wait for your anwer
> > > > first :)
> > >
> > > However, how do old versions of KWord (for example 1.1.1) behave if
> > > <FORMAT id="4"> points to more than one character?
> >
> > If the bug I just fixed was also in 1.1.1 (no reason to believe it was
> > not) then the loading of a 'newer' file will cause extra characters to
> > appear after the variable in a 1.1.1 KWord. I don't think that can be
> > fixed. :(
>
> Yup. Then maybe we should rather drop the "very nice" solution,
> and simply put the text in a child element of the format tag.
> Rather extend the XML (old kword will simply skip unknown tags)
> than modify it.

Personally, I would prefer a new attribute than a new tag. Unknown attributes 
are skipped too (and can be declared as #IMPLICIT in the DTD.)

<FIELD> has already an attribute called "value". Perhaps we could generalized 
it for any <VARIABLE> type.

Have a nice day/evening/night!
_______________________________________________
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