-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpdfa.xmp.diff
190 lines (190 loc) · 15.4 KB
/
pdfa.xmp.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
--- pdfa.xmp.org 2021-01-22 15:08:01.000000000 +0900
+++ pdfa.xmp 2021-02-23 14:57:42.102798900 +0900
@@ -20,26 +20,14 @@
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.0-c316 44.253921, Sun Oct 01 2006 17:14:39">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
% xmlns:pdf = "http://ns.adobe.com/pdf/1.3/"
-% xmlns:pdfx = "http://ns.adobe.com/pdfx/1.3/"
-% xmlns:pdfxid="http://www.npes.org/pdfx/ns/id/">
% xmlns:pdfaid = "http://www.aiim.org/pdfa/ns/id/"
% xmlns:xmp = "http://ns.adobe.com/xap/1.0/"
-% xmlns:xmpRights = "http://ns.adobe.com/xap/1.0/rights/"
% xmlns:dc = "http://purl.org/dc/elements/1.1/"
-% xmlns:dcterms = "http://purl.org/dc/terms/"
% xmlns:pdfaExtension = "http://www.aiim.org/pdfa/ns/extension/"
% xmlns:pdfaField = "http://www.aiim.org/pdfa/ns/field#"
% xmlns:pdfaProperty = "http://www.aiim.org/pdfa/ns/property#"
% xmlns:pdfaSchema = "http://www.aiim.org/pdfa/ns/schema#"
% xmlns:pdfaType = "http://www.aiim.org/pdfa/ns/type#"
-% xmlns:prism = "http://prismstandard.org/namespaces/basic/2.2/"
-%% RRM: Other possible namespaces.
-%% If these are used, then appropriate tags need to be declared, using
-%% pdfaExtension:schemas similarly to below for prism:
-% xmlns:pim = "http://prismstandard.org/namespaces/pim/2.2/"
-% xmlns:prl = "http://prismstandard.org/namespaces/prl/2.1/"
-% xmlns:pur = "http://prismstandard.org/namespaces/primusagerights/2.1/"
-% >
<rdf:Description rdf:about=""
xmlns:pdfaExtension="http://www.aiim.org/pdfa/ns/extension/"
xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#"
@@ -50,74 +38,21 @@
>
<pdfaExtension:schemas>
<rdf:Bag>
+%% begin: Creative Commons metadata
<rdf:li rdf:parseType="Resource">
- <pdfaSchema:namespaceURI>http://ns.adobe.com/pdfx/1.3/</pdfaSchema:namespaceURI>
- <pdfaSchema:prefix>pdfx</pdfaSchema:prefix>
- <pdfaSchema:schema>PDF/X Schema</pdfaSchema:schema>
+ <pdfaSchema:namespaceURI>http://creativecommons.org/ns#</pdfaSchema:namespaceURI>
+ <pdfaSchema:prefix>cc</pdfaSchema:prefix>
+ <pdfaSchema:schema>Creative Commons metadata</pdfaSchema:schema>
<pdfaSchema:property><rdf:Seq>
<rdf:li rdf:parseType="Resource">
<pdfaProperty:category>external</pdfaProperty:category>
- <pdfaProperty:description>URL to an online version or preprint</pdfaProperty:description>
- <pdfaProperty:name>AuthoritativeDomain</pdfaProperty:name>
+ <pdfaProperty:description>A Work has license a License. (a subproperty of dc:license, the same as xhtml:license)</pdfaProperty:description>
+ <pdfaProperty:name>license</pdfaProperty:name>
<pdfaProperty:valueType>Text</pdfaProperty:valueType>
</rdf:li></rdf:Seq>
</pdfaSchema:property>
</rdf:li>
-%% RRM: this declares the namespace resource for PDF/UA metadata
- <rdf:li rdf:parseType="Resource">
- <pdfaSchema:namespaceURI>http://www.aiim.org/pdfua/ns/id/</pdfaSchema:namespaceURI>
- <pdfaSchema:prefix>pdfuaid</pdfaSchema:prefix>
- <pdfaSchema:schema>PDF/UA ID Schema</pdfaSchema:schema>
- <pdfaSchema:property><rdf:Seq>
- <rdf:li rdf:parseType="Resource">
- <pdfaProperty:category>internal</pdfaProperty:category>
- <pdfaProperty:description>Part of PDF/UA standard</pdfaProperty:description>
- <pdfaProperty:name>part</pdfaProperty:name>
- <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
- </rdf:li></rdf:Seq>
- </pdfaSchema:property>
- </rdf:li>
-%% RRM: this declares the namespace resource for PRISM metadata
- <rdf:li rdf:parseType="Resource">
- <pdfaSchema:schema>PRISM metadata</pdfaSchema:schema>
- <pdfaSchema:namespaceURI>http://prismstandard.org/namespaces/basic/2.2/</pdfaSchema:namespaceURI>
- <pdfaSchema:prefix>prism</pdfaSchema:prefix>
- <pdfaSchema:property><rdf:Seq>
-%% RRM: Only need to define the tags that are actually used below. But \ifx ... \fi must be all on one line.
-%% declare prism:aggregationType
-%\ifx\xmp@PublicationType\@empty\else % need at least one field, for validation
- <rdf:li rdf:parseType="Resource">^^J <pdfaProperty:name>aggregationType</pdfaProperty:name>^^J <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J <pdfaProperty:category>external</pdfaProperty:category>^^J <pdfaProperty:description>The type of publication. If defined, must be one of book, catalog, feed, journal, magazine, manual, newsletter, pamphlet.</pdfaProperty:description>^^J </rdf:li> %\fi
-%% declare prism:issn
-\ifx\xmp@Journalnumber\@empty\else <rdf:li rdf:parseType="Resource">^^J <pdfaProperty:name>issn</pdfaProperty:name>^^J <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J <pdfaProperty:category>external</pdfaProperty:category>^^J <pdfaProperty:description>The ISSN for the publication in which the resource was published</pdfaProperty:description>^^J </rdf:li>\fi
-%% declare prism:volume
-\ifx\xmp@Volume\@empty\else <rdf:li rdf:parseType="Resource">^^J <pdfaProperty:name>volume</pdfaProperty:name>^^J <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J <pdfaProperty:category>external</pdfaProperty:category>^^J <pdfaProperty:description>Additional identifier for the publication where the resource appeared, providing the Volume portion of the common Volume, Number scheme</pdfaProperty:description>^^J </rdf:li>\fi
-%% declare prism:number
-\ifx\xmp@Issue\@empty\else <rdf:li rdf:parseType="Resource">^^J <pdfaProperty:name>number</pdfaProperty:name>^^J <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J <pdfaProperty:category>external</pdfaProperty:category>^^J <pdfaProperty:description>Number of the Issue within the Volume</pdfaProperty:description>^^J </rdf:li>\fi
-%% declare prism:coverDisplayDate
-\ifx\xmp@CoverDisplayDate\@empty\else <rdf:li rdf:parseType="Resource">^^J <pdfaProperty:name>coverDisplayDate</pdfaProperty:name>^^J <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J <pdfaProperty:category>external</pdfaProperty:category>^^J <pdfaProperty:description>Date on the cover of a magazine issue, as a human-readable text string</pdfaProperty:description>^^J </rdf:li>\fi
-%% declare prism:coverDate
-\ifx\xmp@CoverDate\@empty\else <rdf:li rdf:parseType="Resource">^^J <pdfaProperty:name>coverDate</pdfaProperty:name>^^J <pdfaProperty:valueType>Date</pdfaProperty:valueType>^^J <pdfaProperty:category>external</pdfaProperty:category>^^J <pdfaProperty:description>Date on the cover of a magazine issue, suitable for storing in a database field with a 'date' data type</pdfaProperty:description>^^J </rdf:li>\fi
-%% declare prism:issueName
-\ifx\xmp@Journaltitle\@empty\else <rdf:li rdf:parseType="Resource">^^J <pdfaProperty:name>issueName</pdfaProperty:name>^^J <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J <pdfaProperty:category>external</pdfaProperty:category>^^J <pdfaProperty:description>Additional identifier, typically used for major issues of a magazine or other resource</pdfaProperty:description>^^J </rdf:li>\fi
-%% declare prism:pageRange
-\ifx\xmp@Firstpage\@empty\else <rdf:li rdf:parseType="Resource">^^J <pdfaProperty:name>pageRange</pdfaProperty:name>^^J <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J <pdfaProperty:category>external</pdfaProperty:category>^^J <pdfaProperty:description>Page range for the published print version of the resource</pdfaProperty:description>^^J </rdf:li>\fi
-%% declare prism:startingPage
-\ifx\xmp@Firstpage\@empty\else <rdf:li rdf:parseType="Resource">^^J <pdfaProperty:name>startingPage</pdfaProperty:name>^^J <pdfaProperty:valueType>Integer</pdfaProperty:valueType>^^J <pdfaProperty:category>external</pdfaProperty:category>^^J <pdfaProperty:description>First page number for the published version of the resource</pdfaProperty:description>^^J </rdf:li>\fi
-%% declare prism:endingPage
-\ifx\xmp@Lastpage\@empty\else <rdf:li rdf:parseType="Resource">^^J <pdfaProperty:name>endingPage</pdfaProperty:name>^^J <pdfaProperty:valueType>Integer</pdfaProperty:valueType>^^J <pdfaProperty:category>external</pdfaProperty:category>^^J <pdfaProperty:description>The last page number for the printed resource</pdfaProperty:description>^^J </rdf:li>\fi
-%% declare prism:doi
-\ifx\xmp@Doi\@empty\else <rdf:li rdf:parseType="Resource">^^J <pdfaProperty:name>doi</pdfaProperty:name>^^J <pdfaProperty:valueType>Text</pdfaProperty:valueType>^^J <pdfaProperty:category>external</pdfaProperty:category>^^J <pdfaProperty:description>Digital Object Identifier, DOI, for the article</pdfaProperty:description>^^J </rdf:li>\fi
-%% declare prism:url
- <rdf:li rdf:parseType="Resource">^^J <pdfaProperty:name>url</pdfaProperty:name>^^J <pdfaProperty:valueType>URL</pdfaProperty:valueType>^^J <pdfaProperty:category>external</pdfaProperty:category>^^J <pdfaProperty:description>URL for the article or unit of content</pdfaProperty:description>^^J </rdf:li>
-%% RRM: more tags can be declared
-% <rdf:li rdf:parseType="Resource">
-% <pdfaProperty:name></pdfaProperty:name>
-% <pdfaProperty:valueType>Text</pdfaProperty:valueType>
-% <pdfaProperty:category>external</pdfaProperty:category>
-% <pdfaProperty:description></pdfaProperty:description>
-% </rdf:li>
- </rdf:Seq></pdfaSchema:property>
- </rdf:li>
+%% end: Creative Commons metadata
</rdf:Bag>
</pdfaExtension:schemas>
</rdf:Description>
@@ -144,30 +79,10 @@
\ifx\xmp@Contributor\@empty\else <dc:contributor><rdf:Bag><rdf:li\xmp@checklang\xmp@lang@Contributor>\xmp@Contributor</rdf:li></rdf:Bag></dc:contributor>\fi
\ifx\xmp@Relation\@empty\else <dc:relation><rdf:Bag><rdf:li\xmp@checklang\xmp@lang@Relation>\xmp@Relation</rdf:li></rdf:Bag></dc:relation>\fi
</rdf:Description>
- <rdf:Description rdf:about="" xmlns:prism="http://prismstandard.org/namespaces/basic/2.2/">
-\ifx\xmp@PublicationType\@empty\else <prism:aggregationType\xmp@checklang\xmp@lang@PublicationType>\xmp@PublicationType</prism:aggregationType>\fi
-\ifx\xmp@Journalnumber\@empty\else <prism:issn>\xmp@Journalnumber</prism:issn>\fi
-\ifx\xmp@Volume\@empty\else <prism:volume>\xmp@Volume</prism:volume>\fi
-\ifx\xmp@Issue\@empty\else <prism:number>\xmp@Issue</prism:number>\fi
-\ifx\xmp@CoverDisplayDate\@empty\else <prism:coverDisplayDate\xmp@checklang\xmp@lang@CoverDisplayDate>\xmp@CoverDisplayDate</prism:coverDisplayDate>\fi
-\ifx\xmp@CoverDate\@empty\else <prism:coverDate>\xmp@CoverDate</prism:coverDate>\fi
-\ifx\xmp@Journaltitle\@empty\else <prism:issueName\xmp@checklang\xmp@lang@JournalTitle>\xmp@Journaltitle</prism:issueName>\fi
-\ifx\xmp@Firstpage\@empty\else <prism:pageRange>\xmp@Firstpage-\xmp@Lastpage</prism:pageRange>\fi
-\ifx\xmp@Firstpage\@empty\else <prism:startingPage>\xmp@Firstpage</prism:startingPage>\fi
-\ifx\xmp@Lastpage\@empty\else <prism:endingPage>\xmp@Lastpage</prism:endingPage>\fi
-\ifx\xmp@Doi\@empty\else <prism:doi>\xmp@Doi</prism:doi>\fi
-\ifx\xmp@Doi\@empty\else <prism:url>http://dx.doi.org/\xmp@Doi</prism:url>\fi
-\ifx\xmp@URL\@empty\else <prism:url>\xmp@URL</prism:url>\fi
- </rdf:Description>
-%% RRM: Is this needed with PDF/A or only with PDF/X ???
- <rdf:Description rdf:about="" xmlns:pdfx="http://ns.adobe.com/pdfx/1.3/">
-\ifx\xmp@AuthoritativeDomain\@empty\else<pdfx:AuthoritativeDomain><rdf:Bag><rdf:li>\xmp@AuthoritativeDomain</rdf:li></rdf:Bag></pdfx:AuthoritativeDomain>\fi
- </rdf:Description>
<rdf:Description rdf:about="" xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/">
<pdfaid:part>\xmp@Part</pdfaid:part>
<pdfaid:conformance>\xmp@Conformance</pdfaid:conformance>
</rdf:Description>
-\ifx\xmp@PDFUA\@empty\else <rdf:Description rdf:about="" xmlns:pdfuaid="http://www.aiim.org/pdfua/ns/id/">^^J <pdfuaid:part>\xmp@UAlevel</pdfuaid:part>^^J </rdf:Description>\fi
<rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/">
<xmp:CreatorTool>\xmp@CreatorTool</xmp:CreatorTool>
<xmp:ModifyDate>\xmp@convDate</xmp:ModifyDate>
@@ -179,23 +94,36 @@
\ifx\xmp@Nickname\@empty\else <xmp:Nickname\xmp@checklang\xmp@lang@Nickname>\xmp@Nickname</xmp:Nickname>\fi
\ifx\xmp@Thumbnails\@empty\else <xmp:Thumbnails><rdf:Alt><rdf:li>\xmp@Thumbnails</rdf:li></rdf:Alt></xmp:Thumbnails>\fi
</rdf:Description>
- <rdf:Description rdf:about="" xmlns:xmpRights = "http://ns.adobe.com/xap/1.0/rights/">
-\ifx\xmp@Copyright\@empty\else <xmpRights:Marked>\ifx\xmp@Copyrighted\@empty True\else\xmp@Copyrighted\fi</xmpRights:Marked>^^J <xmpRights:UsageTerms><rdf:Alt><rdf:li\xmp@strictlang\xmp@lang@Copyright>\xmp@@Copyright</rdf:li></rdf:Alt></xmpRights:UsageTerms>\fi
-\ifx\xmp@CopyrightURL\@empty\else <xmpRights:WebStatement>\xmp@CopyrightURL</xmpRights:WebStatement>\fi
-\ifx\xmp@Owner\@empty\else <xmpRights:Owner><rdf:Bag><rdf:li\xmp@checklang\xmp@lang@Owner>\xmp@Owner</rdf:li></rdf:Bag></xmpRights:Owner>\fi
-\ifx\xmp@CertificateURL\@empty\else <xmpRights:Certificate>\xmp@CertificateURL</xmpRights:Certificate>\fi
- </rdf:Description>
<rdf:Description rdf:about="" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/">
<xmpMM:DocumentID>uuid:\xmp@docid</xmpMM:DocumentID>
<xmpMM:InstanceID>uuid:\xmp@instid</xmpMM:InstanceID>
</rdf:Description>
+%% begin: from `CC_Attribution-ShareAlike_4.0_International.xmp`
+ <rdf:Description rdf:about=''
+ xmlns:xapRights='http://ns.adobe.com/xap/1.0/rights/'>
+ <xapRights:Marked>True</xapRights:Marked>
+ </rdf:Description>
+ <rdf:Description rdf:about=''
+ xmlns:xapRights='http://ns.adobe.com/xap/1.0/rights/'
+ >
+ <xapRights:UsageTerms>
+ <rdf:Alt>
+ <rdf:li xml:lang='x-default' >この 作品 は <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">クリエイティブ・コモンズ 表示 - 継承 4.0 国際 ライセンス</a>の下に提供されています。</rdf:li>
+ <rdf:li xml:lang='ja' >この 作品 は <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">クリエイティブ・コモンズ 表示 - 継承 4.0 国際 ライセンス</a>の下に提供されています。</rdf:li>
+ <rdf:li xml:lang='en' >This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.</rdf:li>
+ </rdf:Alt>
+ </xapRights:UsageTerms>
+ </rdf:Description>
+ <rdf:Description rdf:about=''
+ xmlns:cc='http://creativecommons.org/ns#'>
+ <cc:license rdf:resource='http://creativecommons.org/licenses/by-sa/4.0/'/>
+ </rdf:Description>
+%% end: from `CC_Attribution-ShareAlike_4.0_International.xmp`
+%% start: xapRights
+\ifx\xmp@CopyrightURL\@empty\else <rdf:Description rdf:about="" xmlns:xapRights = "http://ns.adobe.com/xap/1.0/rights/">^^J <xapRights:WebStatement>\xmp@CopyrightURL</xapRights:WebStatement>^^J </rdf:Description>\fi
+%% end: xapRights
</rdf:RDF>
</x:xmpmeta>
-% padding with 512 space characters to allow easier editing within a PDF
-\paddingline
-\paddingline
-\paddingline
-\paddingline
%%
%% End of pdfa.xmp
%%