Blog

Error during importing of MS-PROJECT XML file

March 25, 2014 - 19:16 pm
1 comment(s)

Hello,

If i try to import file that respect MS-PROJECT XML schema the application return an error if some tasks does not have start date.

The ms-proejct xsd doesn't seam require start information as mandatory

<xsd:element name="Start" type="xsd:dateTime" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The scheduled start date of the task.</xsd:documentation>
</xsd:annotation>
</xsd:element>
 
 
I think that the problem could be solved working on com.projectlibre.core.pm.exchange.MspImporter class, within the method importTasks, in order to manage when task.getPropertyValue("start") return null and then appling a default start date
 
Regards
Fabiano

1 Comment

March 28, 2014 - 07:38 am

Thanks for the note... what version of MSP are you running ?  What is your OS (should not matter but who knows) and what version of ProjectLibre?