When PreserveWhitespace is not set, the manifest file is saved in this format:
<xsf:property name="namespace" type="string" value="http://schemas.microsoft.com/office/infopath/2003/myXSD/2008-07-29T15:31:35">
</xsf:property>
and I have errors because there are spaces within the opening and closing tags. It should look like:
<xsf:property name="namespace" type="string" value="http://schemas.microsoft.com/office/infopath/2003/myXSD/2008-07-29T15:31:35"></xsf:property>
But when I set PreserveWhitespace to true, the manifest file's xml is compressed into one line like:
<xsf:fileProperties><xsf:property name="namespace" type="string" value="http://schemas.microsoft.com/office/infopath/2003/myXSD/2008-07-29T15:31:35"></xsf:property><xsf:property name="editability" type="string" value="full"></xsf:property><xsf:property name="rootElement" type="string" value="myFields"></xsf:property>
This is causing errors as well.
Is there any middle ground?