[latex3-commits] [latex3/pdfresources] develop: add xmlns declaration (fb152d2)

github at latex-project.org github at latex-project.org
Mon Nov 20 13:15:32 CET 2023


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/fb152d24da8ca5418ff46c8de2064af501feb5ab

>---------------------------------------------------------------

commit fb152d24da8ca5418ff46c8de2064af501feb5ab
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Nov 20 13:15:32 2023 +0100

    add xmlns declaration


>---------------------------------------------------------------

fb152d24da8ca5418ff46c8de2064af501feb5ab
 l3pdfmeta.dtx                                    |  1 +
 testfiles-pdftex/metadata-declaration-schema.tpf | 31 ++++++++++++------------
 2 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/l3pdfmeta.dtx b/l3pdfmeta.dtx
index 5c4aba2..b42ec8a 100644
--- a/l3pdfmeta.dtx
+++ b/l3pdfmeta.dtx
@@ -2144,6 +2144,7 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_xmp_schema_enable_pdfd:
  {
+  \@@_xmp_xmlns_new:ne {pdfd}{http://pdfa.org/declarations/} 
   \@@_xmp_schema_new:nnn
     {PDF~Declarations~Schema}
     {pdfd}
diff --git a/testfiles-pdftex/metadata-declaration-schema.tpf b/testfiles-pdftex/metadata-declaration-schema.tpf
index e4809bc..8236d2a 100644
--- a/testfiles-pdftex/metadata-declaration-schema.tpf
+++ b/testfiles-pdftex/metadata-declaration-schema.tpf
@@ -3,7 +3,7 @@
 5 0 obj
 <<
 /Type /Metadata /Subtype /XML
-/Length 15269     
+/Length 15316     
 >>
 stream
 <?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
@@ -28,7 +28,8 @@ stream
     xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#"
     xmlns:pdfaProperty="http://www.aiim.org/pdfa/ns/property#"
     xmlns:pdfaType="http://www.aiim.org/pdfa/ns/type#"
-    xmlns:pdfaField="http://www.aiim.org/pdfa/ns/field#">
+    xmlns:pdfaField="http://www.aiim.org/pdfa/ns/field#"
+    xmlns:pdfd="http://pdfa.org/declarations/">
    <pdfaExtension:schemas>
     <rdf:Bag>
      <rdf:li rdf:parseType="Resource">
@@ -515,27 +516,27 @@ endobj
 xref
 0 17
 0000000002 65535 f 
-0000015714 00000 n 
+0000015761 00000 n 
 0000000003 00000 f 
 0000000004 00000 f 
 0000000000 00000 f 
 0000000015 00000 n 
-0000015628 00000 n 
-0000015523 00000 n 
-0000015372 00000 n 
-0000027324 00000 n 
-0000027481 00000 n 
-0000015761 00000 n 
-0000016098 00000 n 
-0000025316 00000 n 
-0000025541 00000 n 
-0000027539 00000 n 
-0000027619 00000 n 
+0000015675 00000 n 
+0000015570 00000 n 
+0000015419 00000 n 
+0000027371 00000 n 
+0000027528 00000 n 
+0000015808 00000 n 
+0000016145 00000 n 
+0000025363 00000 n 
+0000025588 00000 n 
+0000027586 00000 n 
+0000027666 00000 n 
 trailer
 << /Size 17
 /Root 15 0 R
 /Info 16 0 R
 /ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
 startxref
-27751
+27798
 %%EOF





More information about the latex3-commits mailing list.