OCR4all / LAREX

A semi-automatic open-source tool for Layout Analysis and Region EXtraction on early printed books.
MIT License
177 stars 33 forks source link

METS reader: support namespace prefixes other than mets or none #340

Open bertsky opened 5 months ago

bertsky commented 5 months ago

https://github.com/OCR4all/LAREX/blob/7808bbd7a0c7de426ca3a84acedb1659d1e5e533/src/main/java/de/uniwue/web/io/MetsReader.java#L32-L36

This (and potentially other) place ensures that METS cannot be read, if the namespace prefix is not precisely mets:. But at least unprefixed XMLs should be supported IMO.

TalenWang-AIcv commented 5 months ago

您好,邮件已收到,我会尽快处理,谢谢!