I ran the rtf2xml filter on a reasonably small MS WORD
document, and the output looks reasonable (albeit a
little cluttered). Good job.
I also found that the PRINTDATE fieldcode is not
processed by the script. In the code is a note saying
you want bugs reported, so I'm reporting it. ;-)
Output from stderr below.
* As an added note:
1. It would be 'nice' if people can add fieldcodes in
2. Could the script OUTPUT something to the XML
stream nominating the "skipped" field code in-line
(perhaps as a comment)? In that way I could fix-up
the XML with a subsequent processing step, or
manually if it was a small issue.
In general I find with these sorts of filter programs
it is better to KEEP all information, even if there is
an error, so something can be done with the partial
result. If you use a comment, then the comment could
remind "me" to submit a bug report to sourceforge (as
Well done & thanks.
module is field_strings.py
function is FieldStrings.__field_instruction_func
no key for "PRINTDATE" " PRINTDATE \@ "MMMM yyyy" \*
Log in to post a comment.