Re: file format changes

Richard Hult <[email protected]> 03 Jan 2003 15:42:30 +0100
Newsgroups gmane.comp.gnome.apps.mr-project.user
Message-ID <1041604949.32759.106.camel@sliff>
fre 2003-01-03 klockan 14.55 skrev john read:
> >> Hello,
> >> I have read that you are expecting to finalize the file format in
> 0.9. As expected, it is not possible to read in a 0.6 file when using
> 0.7. Looking through the files, I could not see any major differences
> between the formats (and params, etc).
> >> 
> >> I want to start using mrproject to store real project data, but would
> have problems reentering all the data each update. Is there any way to
> help us upgrade the files for release update?? For example, at the
> lowest level it would be possible to edit the XML files if you could
> give the field changes. A better solution is ,obviously, and upgrade
> program.
> 
> >If you can't load a 0.6 file with 0.7, it's a bug. What is the output
> >if you run the following:
> 
> >xmllint --noout --dtdvalid /usr/share/mrproject/dtd/mrproject-0.6.dtd
> >your-file.mrproject
> ===============================================
> The error seems to be in the 0.6 file. This error comes when I run
> against the 0.6 file. The 0.7 file has no error.
> 
> No declaration for attribute default_group of element resource-groups
> Document mrproject/test.mrproject does not validate against
> /usr/share/mrproject/dtd/mrproject-0.6.dtd

That bug has been fixed in CVS, and the 0.8pre version. There is a patch
at http://sloff.org/~rhult/stuff/dtd.diff with the fix.

There a a few small file format bugs when using constraints as well,
that will be fixed in the next release.

Regards,
Richard
-- 
Richard Hult                    [email protected]
CodeFactory AB                  http://www.codefactory.se/