Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-office/blob/main/corpus/SOURCES.txt # omega-office Omega office documents: read and write office files in Omega Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-office / corpus / SOURCES.txt` 127 lines ยท 11534 bytes Raw Blame History 1 omega-office test corpus: where every file comes from, its licence, and the command that made it. 2 Made on the Spark (Linux AArch64) on 2026-11-10, commands run from the repository root unless a scratch 3 directory is named. The tools below are test-only oracles and builders, never part of omega-office: 4 LibreOffice 24.2.7.2 (Ubuntu libreoffice-core 4:24.2.7-0ubuntu0.24.04.6), headless, with a scratch profile 5 LO = soffice -env:UserInstallation=file:///tmp/oo/lo-profile --headless 6 Python 3.12.3 (Ubuntu python3.12 3.12.3-1ubuntu0.17), xml.sax over expat 2.6.1 (libexpat1 2.6.1-2ubuntu0.6) 7 Info-ZIP Zip 3.0 (3.0-13ubuntu0.2) and UnZip 6.0 (6.0-28ubuntu4.1); iconv of GNU libc 2.39 8 No file was downloaded. Everything is ours (Apache-2.0, the repository LICENSE) except where a line says 9 otherwise. 10 11 corpus/src: documents written by hand for this corpus (OpenDocument flat XML), ours 12 plain.fodt paragraphs, runs, tabs, line breaks, spaces, non-ASCII, a hyperlink, a tracked insertion, 13 soft hyphen U+00AD, non-breaking hyphen U+2011, no-break space U+00A0, U+202F, a bookmark 14 features.fodt a heading, header and footer, a tracked deletion and insertion, a footnote, a page field, 15 a table, a page break 16 tables.fodt a table with empty and two-paragraph cells, a nested table, a tab and a break in cells 17 lists.fodt a bulleted list, a numbered list, a text frame 18 cells.fods three sheets: strings needing quotes, numbers, booleans, a formula, empty rows and cells, 19 a sheet whose first value is at C3, a sheet named with non-ASCII and a space 20 types.fods boolean, date, time, percentage and scientific formats, an error, string and boolean formulas 21 22 corpus/docx, corpus/xlsx: made by LibreOffice from copies in the scratch directory /tmp/oo/lo 23 $LO --convert-to docx NAME.fodt plain, features, tables, lists 24 $LO --convert-to xlsx NAME.fods cells, types 25 $LO --infilter="CSV:44,34,76,1" --convert-to xlsx rows.csv rows (from corpus/gen/rows.csv) 26 omegese.docx: omega-mv `82e536e1` docs/one_layer/OMEGESE.md (sha256 `13329b3e1984d4dd`...`769034381`, 27 Apache-2.0, omega-mv LICENSE) copied as omegese.txt; 28 $LO --infilter="Text (encoded):UTF8" --convert-to docx omegese.txt 29 letter.docx: LibreOffice's template /usr/lib/libreoffice/share/template/common/officorr/ 30 Modern_business_letter_sans_serif.ott (sha256 `46d9cf6db1c27f05`...`b794d0c`) copied as letter.ott; 31 $LO --convert-to docx letter.ott. Licence MPL-2.0 (/usr/share/doc/libreoffice-common/copyright, 32 "Files: *", License: MPL-2.0): test data only. 33 34 corpus/hand: package parts written by hand for this corpus, ours 35 alt, strict, utf16, deflt (word processing), xalt, xstrict (spreadsheet), dmin and xmin (minimal packages) 36 squote: dmin with a word/document.xml whose attribute values are in single quotes and hold " and ' 37 (the inline attribute path of src/sink.om must stop at the quote that opened the value) 38 utf16/word/document.xml = iconv -f UTF-8 -t UTF-16 corpus/hand/utf16-src.xml (FF FE, little-endian) 39 rp/NAME: the one part each refusal package changes (see corpus/refuse below) 40 corpus/pkg: a package from each directory; zip -X leaves out extra fields, [Content_Types].xml goes first: 41 (cd corpus/hand/D && zip -X -q -r ../../pkg/h-D.docx "[Content_Types].xml" $(ls -A | grep -v "^\[Content_Types\].xml$")) 42 (.xlsx for xalt, xstrict, xmin). h-sstmax.xlsx: a copy of hand/xmin with hand/rp/rq-sstmax/ over it and 43 corpus/gen/sst1048576.xml as xl/sharedStrings.xml, zipped the same way. 44 45 corpus/xml: XML files written byte for byte with printf, ours 46 x-basic.xml printf "\r\n\n\nt<x>]]]]>y 𐐷 \xc3\xa9\r\ntail\r\nline\rlone\n\n" 47 x-ns.xml printf "" 48 x-text.xml printf "]] and > and ]>: ]]>\t\r\n\r" 49 x-names.xml printf "<\xc3\xa9l\xc3\xa9ment _u-n.d1=\"x\" \xe4\xb8\xad:\xe6\x96\x87=\"y\" xmlns:\xe4\xb8\xad=\"urn:cjk\"><\xe4\xb8\xad:\xe5\xad\x90\xc2\xb7a/>" 50 x-ns-local.xml printf "" 51 x-ns-local2.xml printf "<\xd0\x96q:\xe0\xa4\x85b/>" 52 (the character after each colon decoded from lead bytes 0xD0, 0xE0, 0xE3, which x-ns-local.xml lacks) 53 x-bom.xml printf "\xef\xbb\xbfx" 54 x-misc.xml printf "\" />" 55 x-nodecl.xml printf "no declaration" 56 x-utf16le.xml iconv -f UTF-8 -t UTF-16 corpus/xml/x-names.xml 57 x-utf16be.xml { printf "\xfe\xff"; iconv -f UTF-8 -t UTF-16BE corpus/xml/x-ns.xml; } 58 x-big.xml { printf ""; head -c 200000 OMEGESE.md | sed -e "s/&/\&/g" -e "s/"; } 59 (OMEGESE.md as above, 115 KiB: one text run above the 64 KiB text buffer; Apache-2.0) 60 61 corpus/gen: written by tests/mkcases.om (Omega, in this repository), ours: 62 OMC < tests/mkcases.om > build/mkcases && chmod +x build/mkcases && build/mkcases corpus/gen 63 rb-*.xml (each bound and one past it), rows.csv, sst1048576.xml and sst1048577.xml. The two sst files 64 (17 MiB each) are not committed (.gitignore); the command regenerates them byte-identical; the packages 65 that hold them (pkg/h-sstmax.xlsx, refuse/rq-sstmany.xlsx) are committed. 66 67 corpus/refuse: refusal fixtures, ours 68 rx-*.xml: printf, one command each; the file is the command's whole output (od -c corpus/refuse/rx-NAME.xml): 69 rx-doctype "]>&e;" rx-doctype-ext "" 70 rx-entity " " rx-cref0 "�" rx-cref-surrogate "�" rx-cref-big "�" 71 rx-cref-fffe "￾" rx-cref-upperx "A" rx-bare-amp "a & b" rx-lt-in-attr "" 72 rx-mismatch "" rx-truncated "text" rx-two-roots "" rx-text-before "x" 73 rx-text-after "x" rx-cdata-outside "" rx-comment-dashes "" 74 rx-comment-end "" rx-cdata-end-in-text "x]]>y" rx-utf8-bad "\xc3\x28" 75 rx-utf8-overlong "\xc0\xaf" rx-utf8-surrogate "\xed\xa0\x80" rx-control "\x01" rx-fffe "\xef\xbf\xbe" 76 rx-utf16-lone "\xff\xfe<\x00a\x00>\x00\x00\xd8<\x00/\x00a\x00>\x00" rx-utf16-odd "\xff\xfe<\x00a\x00/\x00>\x00\x0a" 77 rx-utf16-nobom "<\x00a\x00/\x00>\x00" rx-latin1 "\xe9" 78 rx-utf16-declared "" rx-version11 "" 79 rx-decl-not-first " " rx-decl-no-version "" 80 rx-pi-reserved "" rx-ns-undeclared "" rx-ns-undeclared-attr "" 81 rx-ns-empty-prefix "" rx-ns-xmlns-prefix "" rx-ns-xml-wrong "" 82 rx-ns-bind-xml "" rx-ns-two-colons "" 83 rx-ns-local-digit "" rx-ns-local-attr "" rx-ns-decl-digit "" 84 rx-ns-local-middot "" (a local part is an NCName: it starts with a NameStartChar) 85 rx-ns-element-xmlns "" rx-dup-attr "" rx-dup-expanded "" 86 rx-empty "" rx-no-root "" rx-attr-no-eq "" rx-attr-unquoted "" 87 rx-utf8-then-mismatch "\xc3\x28" (a bad byte, then a mismatched end tag: the bad byte must win) 88 rx-attr-no-space "" rx-name-start "<1a/>" rx-end-space "" rx-comment-unclosed "