From b841aef66f44b94084e6bbaad226d9074fcc4c49 Mon Sep 17 00:00:00 2001 From: bdoubrov Date: Tue, 20 Feb 2024 10:41:03 +0000 Subject: [PATCH] Update error messages in PDF/A and PDF/UA profiles. PDF/UA-2 (8.2.5.26-2, 8.4.3-2, 8.4.3-3, 8.4.5.7-1, 8.4.5.8-2, 8.9.2.2-2, 8.10.2.3-2), PDF/UA-1 (7.2-13, 7.2-14, 7.21.7-2), PDF/A-4 (6.2.10.6-1, 6.2.10.7-1, 6.2.10.8-1), PDF/A-2 (6.4.1-1, 6.4.1-2), PDF/A-2U (6.2.11.7.2-2). Update readme --- PDF_A/PDFA-2A.xml | 6 +++--- PDF_A/PDFA-2B.xml | 4 ++-- PDF_A/PDFA-2U.xml | 6 +++--- PDF_A/PDFA-3A.xml | 6 +++--- PDF_A/PDFA-3B.xml | 4 ++-- PDF_A/PDFA-3U.xml | 6 +++--- PDF_A/PDFA-4.xml | 6 +++--- PDF_A/PDFA-4E.xml | 6 +++--- PDF_A/PDFA-4F.xml | 6 +++--- 9 files changed, 25 insertions(+), 25 deletions(-) diff --git a/PDF_A/PDFA-2A.xml b/PDF_A/PDFA-2A.xml index 32bdc13d..ec953699 100644 --- a/PDF_A/PDFA-2A.xml +++ b/PDF_A/PDFA-2A.xml @@ -1018,7 +1018,7 @@ The Unicode values specified in the ToUnicode CMap shall all be greater than zero (0), but not equal to either U+FEFF or U+FFFE toUnicode == null || (toUnicode.indexOf("\u0000") == -1 && toUnicode.indexOf("\uFFFE") == -1 && toUnicode.indexOf("\uFEFF") == -1) - The glyph has an invalid Unicode value, which is either 0, or is equal to U+FEFF or U+FFFE + The glyph has Unicode value 0, U+FEFF or U+FFFE, which is invalid by Unicode standard @@ -1137,7 +1137,7 @@ - A Widget annotation dictionary shall not contains the A or AA keys + A Widget annotation dictionary shall not contain the A or AA keys containsA == false && containsAA == false A Widget annotation contains %1 key(s) @@ -1149,7 +1149,7 @@ - A Field dictionary shall not contains the A or AA keys + A Field dictionary shall not contain the A or AA keys containsAA == false A Form field dictionary contains the AA entry diff --git a/PDF_A/PDFA-2B.xml b/PDF_A/PDFA-2B.xml index 602d9d15..bdf6aa62 100644 --- a/PDF_A/PDFA-2B.xml +++ b/PDF_A/PDFA-2B.xml @@ -1103,7 +1103,7 @@ - A Widget annotation dictionary shall not contains the A or AA keys + A Widget annotation dictionary shall not contain the A or AA keys containsA == false && containsAA == false A Widget annotation contains %1 key(s) @@ -1115,7 +1115,7 @@ - A Field dictionary shall not contains the A or AA keys + A Field dictionary shall not contain the A or AA keys containsAA == false A Form field dictionary contains the AA entry diff --git a/PDF_A/PDFA-2U.xml b/PDF_A/PDFA-2U.xml index e323e5e6..1297e030 100644 --- a/PDF_A/PDFA-2U.xml +++ b/PDF_A/PDFA-2U.xml @@ -1018,7 +1018,7 @@ The Unicode values specified in the ToUnicode CMap shall all be greater than zero (0), but not equal to either U+FEFF or U+FFFE toUnicode == null || (toUnicode.indexOf("\u0000") == -1 && toUnicode.indexOf("\uFFFE") == -1 && toUnicode.indexOf("\uFEFF") == -1) - The glyph has an invalid Unicode value, which is either 0, or is equal to U+FEFF or U+FFFE + The glyph has Unicode value 0, U+FEFF or U+FFFE, which is invalid by Unicode standard @@ -1125,7 +1125,7 @@ - A Widget annotation dictionary shall not contains the A or AA keys + A Widget annotation dictionary shall not contain the A or AA keys containsA == false && containsAA == false A Widget annotation contains %1 key(s) @@ -1137,7 +1137,7 @@ - A Field dictionary shall not contains the A or AA keys + A Field dictionary shall not contain the A or AA keys containsAA == false A Form field dictionary contains the AA entry diff --git a/PDF_A/PDFA-3A.xml b/PDF_A/PDFA-3A.xml index 6bb38063..e4e3be24 100644 --- a/PDF_A/PDFA-3A.xml +++ b/PDF_A/PDFA-3A.xml @@ -1018,7 +1018,7 @@ The Unicode values specified in the ToUnicode CMap shall all be greater than zero (0), but not equal to either U+FEFF or U+FFFE toUnicode == null || (toUnicode.indexOf("\u0000") == -1 && toUnicode.indexOf("\uFFFE") == -1 && toUnicode.indexOf("\uFEFF") == -1) - The glyph has an invalid Unicode value, which is either 0, or is equal to U+FEFF or U+FFFE + The glyph has Unicode value 0, U+FEFF or U+FFFE, which is invalid by Unicode standard @@ -1137,7 +1137,7 @@ - A Widget annotation dictionary shall not contains the A or AA keys + A Widget annotation dictionary shall not contain the A or AA keys containsA == false && containsAA == false A Widget annotation contains %1 key(s) @@ -1149,7 +1149,7 @@ - A Field dictionary shall not contains the A or AA keys + A Field dictionary shall not contain the A or AA keys containsAA == false A Form field dictionary contains the AA entry diff --git a/PDF_A/PDFA-3B.xml b/PDF_A/PDFA-3B.xml index 5f6e5a03..bac86a9e 100644 --- a/PDF_A/PDFA-3B.xml +++ b/PDF_A/PDFA-3B.xml @@ -1103,7 +1103,7 @@ - A Widget annotation dictionary shall not contains the A or AA keys + A Widget annotation dictionary shall not contain the A or AA keys containsA == false && containsAA == false A Widget annotation contains %1 key(s) @@ -1115,7 +1115,7 @@ - A Field dictionary shall not contains the A or AA keys + A Field dictionary shall not contain the A or AA keys containsAA == false A Form field dictionary contains the AA entry diff --git a/PDF_A/PDFA-3U.xml b/PDF_A/PDFA-3U.xml index 7070f7ad..58708227 100644 --- a/PDF_A/PDFA-3U.xml +++ b/PDF_A/PDFA-3U.xml @@ -1018,7 +1018,7 @@ The Unicode values specified in the ToUnicode CMap shall all be greater than zero (0), but not equal to either U+FEFF or U+FFFE toUnicode == null || (toUnicode.indexOf("\u0000") == -1 && toUnicode.indexOf("\uFFFE") == -1 && toUnicode.indexOf("\uFEFF") == -1) - The glyph has an invalid Unicode value, which is either 0, or is equal to U+FEFF or U+FFFE + The glyph has Unicode value 0, U+FEFF or U+FFFE, which is invalid by Unicode standard @@ -1125,7 +1125,7 @@ - A Widget annotation dictionary shall not contains the A or AA keys + A Widget annotation dictionary shall not contain the A or AA keys containsA == false && containsAA == false A Widget annotation contains %1 key(s) @@ -1137,7 +1137,7 @@ - A Field dictionary shall not contains the A or AA keys + A Field dictionary shall not contain the A or AA keys containsAA == false A Form field dictionary contains the AA entry diff --git a/PDF_A/PDFA-4.xml b/PDF_A/PDFA-4.xml index 101f77f9..1b40dcba 100644 --- a/PDF_A/PDFA-4.xml +++ b/PDF_A/PDFA-4.xml @@ -836,7 +836,7 @@ For all non-symbolic TrueType fonts used for rendering, the embedded TrueType font program shall contain at least Microsoft Unicode (3,1 – Platform ID=3, Encoding ID=1), or Macintosh Roman (1,0 – Platform ID=1, Encoding ID=0) 'cmap' subtable that all necessary glyph lookups are able to be carried out isSymbolic == true || cmap31Present == true || cmap10Present == true - The embedded font program for a non-symbolic TrueType font does not contain Microsoft Symbol (3,0 – Platform ID=3, Encoding ID=0) or the Mac Roman (1,0 – Platform ID=1, Encoding ID=0) encoding + The embedded font program for a non-symbolic TrueType font does not contain Microsoft Symbol (3,1 – Platform ID=3, Encoding ID=1) or the Mac Roman (1,0 – Platform ID=1, Encoding ID=0) encoding @@ -880,7 +880,7 @@ If a ToUnicode CMap is present, the Unicode values specified there shall all be greater than zero (0), but not equal to either U+FEFF or U+FFFE toUnicode == null || (toUnicode.indexOf("\u0000") == -1 && toUnicode.indexOf("\uFFFE") == -1 && toUnicode.indexOf("\uFEFF") == -1) - The glyph has an invalid Unicode value, which is either 0, or is equal to U+FEFF or U+FFFE + The glyph has Unicode value 0, U+FEFF or U+FFFE, which is invalid by Unicode standard @@ -890,7 +890,7 @@ The ActualText entry shall not contain any PUA values containsPUA == false - The ActualText entry contains a Private Unicode Area value + The ActualText entry contains Unicode PUA (Private Use Area) code points diff --git a/PDF_A/PDFA-4E.xml b/PDF_A/PDFA-4E.xml index b1a8c3e7..73a32682 100644 --- a/PDF_A/PDFA-4E.xml +++ b/PDF_A/PDFA-4E.xml @@ -850,7 +850,7 @@ For all non-symbolic TrueType fonts used for rendering, the embedded TrueType font program shall contain at least Microsoft Unicode (3,1 – Platform ID=3, Encoding ID=1), or Macintosh Roman (1,0 – Platform ID=1, Encoding ID=0) 'cmap' subtable that all necessary glyph lookups are able to be carried out isSymbolic == true || cmap31Present == true || cmap10Present == true - The embedded font program for a non-symbolic TrueType font does not contain Microsoft Symbol (3,0 – Platform ID=3, Encoding ID=0) or the Mac Roman (1,0 – Platform ID=1, Encoding ID=0) encoding + The embedded font program for a non-symbolic TrueType font does not contain Microsoft Symbol (3,1 – Platform ID=3, Encoding ID=1) or the Mac Roman (1,0 – Platform ID=1, Encoding ID=0) encoding @@ -894,7 +894,7 @@ If a ToUnicode CMap is present, the Unicode values specified there shall all be greater than zero (0), but not equal to either U+FEFF or U+FFFE toUnicode == null || (toUnicode.indexOf("\u0000") == -1 && toUnicode.indexOf("\uFFFE") == -1 && toUnicode.indexOf("\uFEFF") == -1) - The glyph has an invalid Unicode value, which is either 0, or is equal to U+FEFF or U+FFFE + The glyph has Unicode value 0, U+FEFF or U+FFFE, which is invalid by Unicode standard @@ -904,7 +904,7 @@ The ActualText entry shall not contain any PUA values containsPUA == false - The ActualText entry contains a Private Unicode Area value + The ActualText entry contains Unicode PUA (Private Use Area) code points diff --git a/PDF_A/PDFA-4F.xml b/PDF_A/PDFA-4F.xml index 81c1584c..f9a4ddff 100644 --- a/PDF_A/PDFA-4F.xml +++ b/PDF_A/PDFA-4F.xml @@ -836,7 +836,7 @@ For all non-symbolic TrueType fonts used for rendering, the embedded TrueType font program shall contain at least Microsoft Unicode (3,1 – Platform ID=3, Encoding ID=1), or Macintosh Roman (1,0 – Platform ID=1, Encoding ID=0) 'cmap' subtable that all necessary glyph lookups are able to be carried out isSymbolic == true || cmap31Present == true || cmap10Present == true - The embedded font program for a non-symbolic TrueType font does not contain Microsoft Symbol (3,0 – Platform ID=3, Encoding ID=0) or the Mac Roman (1,0 – Platform ID=1, Encoding ID=0) encoding + The embedded font program for a non-symbolic TrueType font does not contain Microsoft Symbol (3,1 – Platform ID=3, Encoding ID=1) or the Mac Roman (1,0 – Platform ID=1, Encoding ID=0) encoding @@ -880,7 +880,7 @@ If a ToUnicode CMap is present, the Unicode values specified there shall all be greater than zero (0), but not equal to either U+FEFF or U+FFFE toUnicode == null || (toUnicode.indexOf("\u0000") == -1 && toUnicode.indexOf("\uFFFE") == -1 && toUnicode.indexOf("\uFEFF") == -1) - The glyph has an invalid Unicode value, which is either 0, or is equal to U+FEFF or U+FFFE + The glyph has Unicode value 0, U+FEFF or U+FFFE, which is invalid by Unicode standard @@ -890,7 +890,7 @@ The ActualText entry shall not contain any PUA values containsPUA == false - The ActualText entry contains a Private Unicode Area value + The ActualText entry contains Unicode PUA (Private Use Area) code points