Re: Can't reopen old file in ver 0.9 or 0.9.1 on Red Hat 9 ( Shrike )

Richard Hult <[email protected]> 11 Jun 2003 23:16:05 +0200
Newsgroups gmane.comp.gnome.apps.mr-project.user
Organization CodeFactory AB
Message-ID <[email protected]>
> I found some messages from mid-April 2003 where some Alan Pence's message 
> was talking about something similar.  I checked my directory permissions 
> and they look fine.
> 
> I figured that since mrproject used XML based files, that I should have no 
> problems, but alas, I've hit a snag.
> 
> Here's what the top of my data file looks like, if this helps:
> 
> <?xml version="1.0"?>
> <project xmlns="http://mrproject.codefactory.se/format/project/1"
> name="UNIX Environement Hardening Phase 1" company="Hidden" manager="Mark 
> Jeanmougin">
>   <tasks>
> 
> Any hints?  I'm looking at a saved project from 0.9.1 and it is a 
> different format, but it doesn't look that far off.  Is there a converter 
> utility or should I write my own?

You could try validating it with the dtd-file that is installed with
MrProject, /usr/share/mrproject/dtd/mrproject-0.5.1.dtd 

xmllint that comes with libxml2 can do this:

xmllint --noout --dtdvalid /usr/share/mrproject/dtd/mrproject-0.5.1.dtd
file.mrproject

This should give some hints on what's wrong.

Regards,
Richard

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