Sorry for the late reply.
This error is thrown when the plugin tries to deal with a block element, like a table (table-wrap
) or figure (fig
) inside a paragraph (p
) element. We don’t use such an approach and never nest them, although it’s allowed by JATS specifications. This part of the code should parse the image/table and place it after the corresponding paragraph and according to my tests, it works well. Can you send me the part of XML where the problem appears, e.g., paragraph, or the whole file if you don’t know where it breaks, in the private message?
Hi @Ana,
I was able to reproduce 2 problems:
-
The first one is related to insufficient column length in the
publication_settings
table, which truncates the parsed file. This is going to be changed in OJS 3.4: Extend all setting_value columns in settings table to mediumText · Issue #8157 · pkp/pkp-lib · GitHub -
formulas inside
disp-formula
are parsed as raw text because the plugin doesn’t support them. I’ve hoped to finish the work earlier but the war changed the plans, nevertheless, I’ll try to add this feature around OJS 3.4 release.