标签: java pdf itextsharp itext
在查看我的ZUGFeRD-PDF元数据后,我发现iText#在PdfAXmpWriter中为ZUGFeRD定义了错误/旧的namespaceURI。
zf的namspaceUri是urn:ferd:pdfa:CrossIndustryDocument:invoice:1p0#,它在常规iText(适用于Java)中正确定义,但在iText#中定义urn:ferd:pdfa:invoice:1p0#
zf
urn:ferd:pdfa:CrossIndustryDocument:invoice:1p0#
urn:ferd:pdfa:invoice:1p0#
https://github.com/itext/itextpdf/blob/master/pdfa/src/main/java/com/itextpdf/text/xml/xmp/PdfAXmpWriter.java
https://github.com/itext/itextsharp/blob/master/src/extras/itextsharp.pdfa/iTextSharp/text/xml/xmp/PdfAXmpWriter.cs
你能检查一下吗?