-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposed changes for 1.0 (updated source repo) #19
base: master
Are you sure you want to change the base?
Changes from 1 commit
480c5f6
8b266fa
988036b
5b1cc87
d74ef0e
16258e7
cd901f1
6673683
1da8da7
766324f
f898aff
67c81c8
0361e96
185eb6b
a8dc5df
8edbef1
5e0f3c1
c8ef7c6
900ce0c
e87dda8
2f2ca4b
b975a0e
37926c0
5fbfdf6
8236209
94bcdaa
cd5d6fe
545e072
35c3272
4407055
b07d6c0
ce06c32
757f68a
e304db4
318fe5c
5815284
2f6d466
c6f0a08
b6413fd
b35ceb5
45685bc
272e6ce
3bbebd5
d9ceeee
38b8b59
00eb4ab
8c9d621
ef7f6df
a60e644
169a094
3d3bb73
0257f7b
e677092
1f97d39
aaffd0a
bc862cf
56c069e
c4a350d
5204986
fc58679
9a2787c
c2fe6ce
1bd0a8f
7e2b7e5
708b8f8
66c24eb
87893e2
06c02e6
c72f1e4
b6060cf
d2d5e1e
c287f0b
5d7f9db
39af339
36cd8fe
ae9ead9
0b07d73
c3b62bb
f30661f
bc87214
18a94ef
f4d5911
ac339b4
4a8e2a3
65f5e7e
6dfaf3e
851cf0d
72bcdfc
d561756
e0b411d
853c870
f1e34b1
75add1b
893a1ab
7bc88cc
4bf2689
fa015eb
f5a72aa
b6bbf22
7e296f1
0bfdbb5
9e3417b
5fa2515
b86cd54
92711ec
84c0ae3
71d1d8c
9d5a3a2
a0dccff
37b878f
c6af1cc
7b5549e
e23147e
749c158
7a145eb
72a60fe
e45f0f1
772a59b
5bcb9c5
1bbf1f5
d90f995
0e5abdc
952a087
0a3a03b
0389daf
44be572
040fb7e
aee2ff3
7f021d4
96a7809
ffaa626
d2e49eb
8cc9b11
6445821
0ac6b04
9606be2
3b69c59
59ebead
414de08
87a19df
ea112c9
78921ae
36ec049
26be6b3
5988dd7
9286639
f165f2d
a5b1efc
d8ad39f
04e7d84
e4f0c7d
2613492
d8692c9
855c3f3
f08da8f
cbc7d77
5829d83
8d243f0
9fd5e14
fd267b6
3d07217
0082b46
692db8a
f465c60
27da533
1e3c4b4
d597d91
df1db48
73a516b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -287,8 +287,7 @@ The base directory can have any name. | |
| | ||
+-- [optional tag directories]/ | ||
| | ||
+-- [optional tag files] | ||
</artwork> | ||
+-- [optional tag files] </artwork> | ||
</figure> | ||
<section title="Required Elements" anchor="sec-required-elements"> | ||
<section title="Bag Declaration: bagit.txt" anchor="sec-bag-decl"> | ||
|
@@ -298,8 +297,7 @@ The base directory can have any name. | |
<figure> | ||
<artwork> | ||
BagIt-Version: M.N | ||
Tag-File-Character-Encoding: ENCODING | ||
</artwork> | ||
Tag-File-Character-Encoding: ENCODING </artwork> | ||
<postamble> | ||
<spanx style="emph">M.N</spanx> identifies the BagIt major (M) and minor (N) version numbers. | ||
<spanx style="emph">ENCODING</spanx> identifies the character set encoding used by the remaining tag files. | ||
|
@@ -364,8 +362,7 @@ Tag-File-Character-Encoding: ENCODING | |
<preamble>Example payload manifest filenames</preamble> | ||
<artwork> | ||
manifest-sha256.txt | ||
manifest-sha512.txt | ||
</artwork> | ||
manifest-sha512.txt </artwork> | ||
</figure> | ||
<t> | ||
Each line of a payload manifest file &must; be of the form: | ||
|
@@ -436,8 +433,7 @@ placeholder file with a name such as ".keep". | |
<preamble>Example tag manifest filenames:</preamble> | ||
<artwork> | ||
tagmanifest-sha256.txt | ||
tagmanifest-sha512.txt | ||
</artwork> | ||
tagmanifest-sha512.txt </artwork> | ||
</figure> | ||
<t> | ||
A tag manifest file has the same form as the payload file manifest | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the tag manifest also required to be complete and equivalent across hash algorithms? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That was our intention and it's a good point for clarification There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've added LibraryOfCongress#19 to clarify that intention - left it as a "SHOULD list all tag files" unless you agree it would be MUST. |
||
|
@@ -582,8 +578,7 @@ Bag-Group-Identifier: university_foo | |
Bag-Count: 1 of 15 | ||
Internal-Sender-Identifier: /storage/images/foo | ||
Internal-Sender-Description: Uncompressed greyscale TIFFs created | ||
from microfilm and are... | ||
</artwork> | ||
from microfilm and are... </artwork> | ||
</figure> | ||
</section> | ||
|
||
|
@@ -786,8 +781,7 @@ myfirstbag/ | |
| | ||
| 27613-h/images/q172.txt | ||
| (... OCR text ... ) | ||
.... | ||
</artwork> | ||
.... </artwork> | ||
</figure> | ||
</section> | ||
<section title="Example bag using fetch.txt"> | ||
|
@@ -816,8 +810,7 @@ highsmith-tahoe/ | |
| | ||
| bag-info.txt | ||
| (Internal-Sender-Description: Download link found at ) | ||
| ( https://www.loc.gov/resource/highsm.23364/ ) | ||
</artwork> | ||
| ( https://www.loc.gov/resource/highsm.23364/ )</artwork> | ||
</figure> | ||
</section> | ||
</section> | ||
|
@@ -958,8 +951,7 @@ N 4e LATIN CAPITAL LETTER N | |
ú c3ba LATIN SMALL LETTER U WITH ACUTE | ||
ñ c3b1 LATIN SMALL LETTER N WITH TILDE | ||
e 65 LATIN SMALL LETTER E | ||
z 7a LATIN SMALL LETTER Z | ||
]]></artwork> | ||
z 7a LATIN SMALL LETTER Z ]]></artwork> | ||
</figure> | ||
<t> | ||
Unicode normalization is relevant to BagIt implementors because different | ||
|
@@ -1032,8 +1024,7 @@ z 7a LATIN SMALL LETTER Z | |
|
||
</preamble> | ||
<artwork> | ||
< > : " / | ? * | ||
</artwork> | ||
< > : " / | ? * </artwork> | ||
</figure> | ||
<figure> | ||
<preamble> | ||
|
@@ -1042,8 +1033,7 @@ z 7a LATIN SMALL LETTER Z | |
<artwork> | ||
CON, PRN, AUX, NUL | ||
COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9 | ||
LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 | ||
</artwork> | ||
LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 </artwork> | ||
</figure> | ||
<t> | ||
See <xref target="MSFNAM"/> for more information and possible alternatives. | ||
|
@@ -1099,8 +1089,7 @@ definitions use the core rules (e.g. DIGIT, HEXDIG, etc) as defined in | |
bagit-txt = "BagIt-Version: " 1*DIGIT "." 1*DIGIT ending | ||
"Tag-File-Character-Encoding: " encoding ending | ||
encoding = 1*CHAR | ||
ending = CR / LF / CRLF | ||
]]></artwork> | ||
ending = CR / LF / CRLF ]]></artwork> | ||
</figure> | ||
</section> | ||
<!-- /bag declaration --> | ||
|
@@ -1119,8 +1108,7 @@ unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" | |
sub-delims = "!" / "$" / "&" / DQUOTE / "'" / "(" / ")" / | ||
"*" / "+" / "," / ";" / "=" / "/" | ||
pct-encoded = "%0D" / "%0d" / "%0A" / "%0a" / "%25" | ||
ending = CR / LF / CRLF | ||
]]></artwork> | ||
ending = CR / LF / CRLF ]]></artwork> | ||
</figure> | ||
</section> | ||
<!-- /payload manifest --> | ||
|
@@ -1136,8 +1124,7 @@ continuation = WSP 1*non-reserved | |
non-reserved = VCHAR / WSP | ||
; any valid character for the specific encoding | ||
; except those that match "ending" | ||
ending = CR / LF / CRLF | ||
]]></artwork> | ||
ending = CR / LF / CRLF ]]></artwork> | ||
</figure> | ||
</section> | ||
<!-- /bag-info.txt --> | ||
|
@@ -1151,8 +1138,7 @@ url = <absolute-URI, see [RFC3986], Section 4.3> | |
length = 1*DIGIT / "-" | ||
filepath = ("data/" | ||
1*( unreserved / pct-encoded / sub-delims )) | ||
ending = CR / LF / CRLF | ||
]]></artwork> | ||
ending = CR / LF / CRLF ]]></artwork> | ||
</figure> | ||
</section> <!-- Fetch File --> | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was the intention of this to avoid an extra line in the rendered text output? I'm not a huge fan of the closing tag being on the end of the line like this but I'm not sure it's worth changing everything to go the other way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exactly, and it definitely makes the XML ugly. It may be a defect in the xml2rfc tool. If you can find a way around it, go for it, but if push comes to shove, I think getting the rendered human-oriented document consistent and correct is more important than making the XML pretty.