Re: mrproject file validation

Richard Hult <[email protected]> 28 May 2003 15:55:18 +0200
Newsgroups gmane.comp.gnome.apps.mr-project.user
Organization CodeFactory AB
Message-ID <[email protected]>
ons 2003-05-28 klockan 00.15 skrev Thaddeus Quintin:
> Greetings-
> I'm working on a Senior Project to implement a Java version of a 
> MrProject/MSProject style program.  One of our goals of this project is to 
> provide compatibility with MrProject files.  
> 
> We've ran into a snag when it comes to XML document validation.  Newer 
> .mrproject files don't have a DOCTYPE declared within them and the .dtds 
> included with the source code are for older versions of MrProject.

There are two DTDs shipped with MrProject, one for the old format and
one for the new.

We should probably be able to add a DOCTYPE without breaking anything,
if that's necessary.

> I'm wondering what measures are used to validate the integrity of the project 
> files.  Perhaps an XML schema is used now?  Any information on this subject 
> would be much appreciated.

We still use DTD validation.

Regards,
Richard

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