Hi everyone,
first I have to say I have tested several xml diff tools and so far I like
diffxml most, not only because it's documentation is pretty cool. :)
I generated a diff between two GnuCash account database. However, if I try to
apply the patch to either of the files (to make sure it's not a reverse-
issue), I'm getting the following error message:
Failed to parse Patch:
org.diffxml.patchxml.PatchFormatException: Error at operation:
<move childno="2675" length="1" new_charpos="1" node="/node()[1]/node()
[4]/node()[2675]" old_charpos="2" parent="/node()[1]/node()[4]"/>
at org.diffxml.patchxml.DULPatch.apply(DULPatch.java:793)
at org.diffxml.patchxml.PatchXML.main(PatchXML.java:332)
Caused by: org.diffxml.patchxml.PatchFormatException: charpos past end of text
node.
at org.diffxml.patchxml.DULPatch.deleteText(DULPatch.java:555)
at org.diffxml.patchxml.DULPatch.deleteText(DULPatch.java:589)
at org.diffxml.patchxml.DULPatch.doMove(DULPatch.java:710)
at org.diffxml.patchxml.DULPatch.apply(DULPatch.java:773)
... 1 more
I don't want to append my GnuCash accounts-database to a bug report, that's
why I didn't open one. ;)
What's a good way for myself to analyze where the problem lies? Maybe I'll be
able to nail it down and provide a patch. :) My primary disadvantage so far is
that I'm new to XPath.
Best regards,
Dirk.
|