Parsing error
Jonathan Blake
blake.jon at gmail.com
Thu Jun 25 00:07:45 EDT 2009
On Wed, May 13, 2009 at 6:50 AM, Derek Atkins<warlord at mit.edu> wrote:
> Jonathan Blake <blake.jon at gmail.com> writes:
>
>> It seems that the version on Vista is deleting a single (epoch) date
>> when I open a good file and save.
>>
>> 4244,4246d4243
>> < <trn:date-posted>
>> < <ts:date>1969-12-31 15:59:59 -0800</ts:date>
>> < </trn:date-posted>
>
> Hmm.. Could you open the raw data file and find the
> XML surrounding this entry?
Well, I guess I'm limping along without using Gnucash on Vista since
it's taken me this long to get back to this. The surrounding XML
follows. To recap, I can open a valid file in Gnucash on Vista, make
no changes, save the file, and the file has become invalid.
<gnc:transaction version="2.0.0">
<trn:id type="guid">3e65aed7a2da52e7df9d8a683f2ff38e</trn:id>
<trn:currency>
<cmdty:space>ISO4217</cmdty:space>
<cmdty:id>USD</cmdty:id>
</trn:currency>
<trn:date-posted>
<ts:date>1969-12-31 15:59:59 -0800</ts:date>
</trn:date-posted>
<trn:date-entered>
<ts:date>2009-04-24 17:14:31 -0700</ts:date>
<ts:ns>570032000</ts:ns>
</trn:date-entered>
<trn:description>Opening Balance</trn:description>
<trn:splits>
<trn:split>
<split:id type="guid">db57ddb8e5952c25e8c3101ed98dea65</split:id>
<split:reconciled-state>y</split:reconciled-state>
<split:reconcile-date>
<ts:date>2009-04-30 19:59:59 -0700</ts:date>
</split:reconcile-date>
<split:value>454151/100</split:value>
<split:quantity>454151/100</split:quantity>
<split:account
type="guid">e628efdb5a03335689d3c653c44ef5c1</split:account>
</trn:split>
<trn:split>
<split:id type="guid">fb5f357917a50b341b28d59057a0f619</split:id>
<split:reconciled-state>n</split:reconciled-state>
<split:value>-454151/100</split:value>
<split:quantity>-454151/100</split:quantity>
<split:account
type="guid">5c247bc8b4aa3d39042b079ed6037cde</split:account>
</trn:split>
</trn:splits>
</gnc:transaction>
--
Jon
More information about the gnucash-user
mailing list