Free Support Forum - aspose.com

Possible Bug: Status date of .xml not read in

Hello,

I am using the namespace:

using Aspose.Project;

Though the attached xml file contains a status date, the status date is not read in. Using a .mpp file of the same project, status date is read in.

Here is how I am loading my file:

mspApp = null;

FileInfo fi = new FileInfo(fileName);

switch(fi.Extension)

{

case ".xml":

try

{

mspApp = new Aspose.Project.XMLFile (fileName);

}

catch

{

mspApp = null;

}

break;

case ".mpp":

try

{

mspApp = new MPPFile (fileName);

}

catch

{

mspApp = null;

}

break;

case ".mpx":

try

{

mspApp = new MPXFile (fileName);

}

catch

{

mspApp = null;

}

break;

}

After loading the attached file:

mspApp.Project.StatusDate

is undefined. Manually looking at XML file, the status date element is in the file.

Is this a bug? If it is, how long until a fix?

Thanks,

Dan

Really that is not a bug. StatusDate simply was not implemented for XML format.

We will publish new hot fix at the end of this week.

That is excellent news!!

Thanks,

Dan