[MLZ] TEI export returns empty document

TEI export doesn't produce any data, other then an empty "exported items.xml" file.
There is a pop-up screen that states:
"An error occurred while trying to export the selected file."
Unfortunately nothing more. I have tried different settings and options and multiple items. Same message same empty file.

Does this work for anybody? Is there a way to get more information about whats causing the error?

This is OS X 10.10.2 FF35.01 MLZ 4.0.21m486.

Any help would be much appreciated. Thanks.
  • you can run debug output during export:
    http://www.zotero.org/support/debug_output
    You should also make sure that MLZ has the most recent version of the TEI translator -- this works for me on vanilla Zotero.
    See here for comparison:
    https://github.com/zotero/translators/blob/master/TEI.js
  • Dear Adam,

    thanks for pointing me to the debug output. After some tinkering I found the problem.
    It appears that another FF add-on (namely no-script) was interfering with the export. It's a bit counter-intuitive since it never interfered with MODS, LATEX, or other exports. One more time where TEI does its own thing I'm afraid. Disabling NO-script allowed me to properly export.

    I also noticed that No-script prevents me from manually submitting the output to get an error id. Again with other error this works fine, so not sure what was special about this attempt compared to others. I have attached a link to the error output, maybe it tells you something that i don't see.
    https://www.dropbox.com/s/gritzaizema4i8f/mlz_tei_error.txt?dl=0

    @fbennett the TEI export from MLZ doesn't contain any language attributes.
    since I can't post tags here, current export is:

    [title@level = "文章辨體序說"]

    I think that this is missing and @lang on the title element (or names, or ...) eg.:
    @xml:lang="zh-Hant"

    Since MLZ already contains valid tags, language attributes seem like a nice thing to have.
    Here is the full export
    https://www.dropbox.com/s/2du2u0f9742m98l/Exported Items.xml?dl=0
    Let me know how you feel about including xml:lang attributes in TEI export.
Sign In or Register to comment.