├── .project ├── LICENSE ├── PAGE-release ├── eval │ ├── 2018-07-15 │ │ └── layouteval.xsd │ └── 2019-07-15 │ │ ├── changelog.txt │ │ └── layouteval.xsd ├── gts │ ├── binarisation │ │ └── 2009-03-16 │ │ │ └── binarisation.xsd │ ├── deskew │ │ └── 2009-03-16 │ │ │ └── deskew.xsd │ ├── dewarping │ │ └── 2009-03-16 │ │ │ └── dewarping.xsd │ └── pagecontent │ │ ├── 2009-03-16 │ │ └── pagecontent.xsd │ │ ├── 2010-01-12 │ │ ├── changelog.txt │ │ └── pagecontent.xsd │ │ ├── 2010-03-19 │ │ ├── changelog.txt │ │ └── pagecontent.xsd │ │ ├── 2013-07-15 │ │ ├── changelog.txt │ │ └── pagecontent.xsd │ │ ├── 2016-07-15 │ │ ├── changelog.txt │ │ └── pagecontent.xsd │ │ ├── 2017-07-15 │ │ ├── changelog.txt │ │ └── pagecontent.xsd │ │ ├── 2018-07-15 │ │ ├── changelog.txt │ │ └── pagecontent.xsd │ │ └── 2019-07-15 │ │ ├── changelog.txt │ │ └── pagecontent.xsd └── root │ └── 2009-03-16 │ └── root.xsd ├── README.md ├── dewarping ├── documentation │ ├── Generated schema documentation.xhtml │ └── changelog dewarping.txt └── schema │ └── dewarping.xsd ├── documentation ├── 2013 PAGE XML Format Update - What you need to know.docx ├── 2013 PAGE XML Format Update - What you need to know.pdf ├── 2016 PAGE XML Format Update.docx ├── 2016 PAGE XML Format Update.pdf ├── Language List (from ISO).xlsx ├── PAGE Update Ideas (2013).docx ├── PRImA-XML.docx ├── Page Content Ground Truth and Storage (Part of the PAGE Format).pdf ├── Script List (from ISO15924 ).xlsx ├── Text merge rule examples.docx ├── Types, subtypes, labes, etc.docx ├── Types, subtypes, labes, etc.pdf ├── XML File Structure.doc ├── XML File Structure.pdf ├── backup │ └── 2009-05-13 │ │ ├── binarisationDoc.xhtml │ │ ├── deskewDoc.xhtml │ │ ├── dewarpingDoc.xhtml │ │ └── pagecontentDoc.xhtml ├── binarisationDoc.html ├── deskewDoc.html ├── dewarpingDoc.html ├── example │ ├── Example page.docx │ ├── Simple PAGE XML Example.docx │ ├── Simple PAGE XML Example.pdf │ ├── SimplePage.png │ └── SimplePage.xml ├── layoutevalDoc.html ├── pagecontentDoc.html ├── rootDoc.html ├── tables │ ├── ExampleWithTableFeatures.zip │ └── Tables in PAGE XML.docx ├── xs3p-1.1.3 │ ├── CHANGES │ ├── LICENSE.html │ ├── MakeXHTMLDoc.bat │ ├── MakeXHTMLDocNew.bat │ ├── README.txt │ ├── _OpenThisFolder.lnk │ ├── examples │ │ ├── XMLSchema.xsd │ │ ├── address.xsd │ │ ├── build.xml │ │ ├── ipo.xsd │ │ ├── links.xml │ │ ├── po.xsd │ │ ├── recursion.xsd │ │ ├── report.xsd │ │ ├── test_msxsl.bat │ │ ├── test_xalanj.bat │ │ ├── test_xsltproc.sh │ │ └── xml.xsd │ ├── links.dtd │ ├── links.xsd │ ├── xhtml2fo.xsl │ ├── xs3pBN.xsl │ ├── xs3pDS.xsl │ ├── xs3pDW.xsl │ ├── xs3pLE.xsl │ ├── xs3pPC.xsl │ └── xs3pROOT.xsl └── xs3p-master │ ├── .gitignore │ ├── CHANGES │ ├── LICENSE.html │ ├── README.md │ ├── README_ORIG.txt │ ├── examples │ ├── XMLSchema.xsd │ ├── address.xsd │ ├── address_annotated.xsd │ ├── build.xml │ ├── ipo.xsd │ ├── links.xml │ ├── po.xsd │ ├── recursion.xsd │ ├── report.xsd │ ├── test_msxsl.bat │ ├── test_xalanj.bat │ ├── test_xsltproc.bat │ ├── test_xsltproc.sh │ └── xml.xsd │ ├── external │ └── xs3p.css │ ├── links.dtd │ ├── links.xsd │ ├── tests │ └── recursive_groups.xsd │ ├── xs3p.xsl │ └── xs3p_links.xsl ├── layout-evaluation ├── documentation │ ├── Generated schema documentation.xhtml │ └── changelog.txt └── schema │ └── layouteval.xsd ├── legacy ├── Converter │ ├── AletheiaToPAGE.xsl │ ├── DeleteTextEquiv.xsl │ ├── PageToAletheia.xsl │ ├── VB-PAGE-Converter │ │ ├── VB-PAGE-Converter.sln │ │ ├── VB-PAGE-Converter.suo │ │ └── VB-PAGE-Converter │ │ │ ├── ClassDiagram1.cd │ │ │ ├── Form1.Designer.vb │ │ │ ├── Form1.resx │ │ │ ├── Form1.vb │ │ │ ├── Icon1.ico │ │ │ ├── My Project │ │ │ ├── Application.Designer.vb │ │ │ ├── Application.myapp │ │ │ ├── AssemblyInfo.vb │ │ │ ├── Resources.Designer.vb │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.vb │ │ │ └── Settings.settings │ │ │ └── VB-PAGE-Converter.vbproj │ ├── VB-PAGEtoAletheia-Converter │ │ ├── VB-PAGE-Converter.sln │ │ ├── VB-PAGE-Converter.suo │ │ └── VB-PAGE-Converter │ │ │ ├── ClassDiagram1.cd │ │ │ ├── Form1.Designer.vb │ │ │ ├── Form1.resx │ │ │ ├── Form1.vb │ │ │ ├── Icon1.ico │ │ │ ├── My Project │ │ │ ├── Application.Designer.vb │ │ │ ├── Application.myapp │ │ │ ├── AssemblyInfo.vb │ │ │ ├── Resources.Designer.vb │ │ │ ├── Resources.resx │ │ │ ├── Settings.Designer.vb │ │ │ └── Settings.settings │ │ │ └── VB-PAGE-Converter.vbproj │ └── readme.txt ├── PAGEtoSVG │ ├── PAGEtoSVG.xsl │ ├── copyright and info.txt │ ├── pc_2010-01-12.xsl │ ├── pc_2010-03-19.xsl │ ├── pc_2013-07-15.xsl │ ├── scripts.js.xml │ ├── style.css.xml │ └── testing │ │ ├── in │ │ ├── 00000158.tif │ │ ├── 00000158.xml │ │ ├── RegionTypes.tif │ │ ├── RegionTypes_2010-01-12.xml │ │ ├── RegionTypes_2010-03-19.xml │ │ └── regiontypes_2013-07-15.xml │ │ └── out │ │ ├── 00000158.jpg │ │ ├── 00000158.svg │ │ ├── RegionTypes.jpg │ │ ├── RegionTypes.svg │ │ ├── RegionTypes_2013-07-15.out.svg │ │ ├── scripts.js │ │ └── style.css ├── RelatedWork │ ├── ABBYY_character_encoding │ │ └── fr_languages.xml │ ├── ALTO │ │ ├── 20120206_ALTO_proposal_v02.doc │ │ ├── ALTO_changes_2_1 DRAFT.pdf │ │ ├── Discussion on Problems in ALTO 2.0 (Europeana Newspapers).docx │ │ ├── IMPACT_ALTOex_final.docx │ │ ├── IMPACT_ALTOex_final.xsd │ │ ├── alto-2-1-DRAFT.xsd │ │ ├── alto-4-0.xsd │ │ ├── alto-v2.0.xsd │ │ ├── alto1.4.png │ │ ├── alto2.0.png │ │ └── alto_1-1-041.xsd │ ├── FineReader │ │ ├── Empty.xml │ │ ├── FineReader10-schema-v1.xsd │ │ ├── FineReader6-schema-v1.xsd │ │ └── TestDoc1.xml │ ├── METS │ │ ├── METS_1_1.xsd │ │ └── mets.xsd │ ├── TR4-1_clustering_output │ │ ├── TR4.1_clustering_result_schema-corrected.xsd │ │ └── TR4.1_clustering_result_schema.xsd │ ├── Trueviz.dtd │ ├── UIBK_GroundTruth │ │ ├── 0003.tif │ │ ├── 0003.xml │ │ ├── 0005.tif │ │ ├── 0005.xml │ │ └── impactgt.xsd │ ├── alto_extended │ │ └── alto_1-1-041-haifa.xsd │ ├── hOCR │ │ ├── README │ │ ├── dcsample.xml │ │ ├── dcsample2.xml │ │ ├── hocr-check │ │ ├── hocr-combine │ │ ├── hocr-eval │ │ ├── hocr-eval-geom │ │ ├── hocr-eval-lines │ │ ├── hocr-extract-g1000 │ │ ├── hocr-extract-images │ │ ├── hocr-lines │ │ ├── hocr-merge-dc │ │ ├── hocr-split │ │ ├── sample.html │ │ └── sample.txt │ └── simpledc20021212.xsd └── Validator │ └── VB-PAGE-Validator │ ├── VB-PAGE-Converter.sln │ ├── VB-PAGE-Converter.suo │ └── VB-PAGE-Converter │ ├── ClassDiagram1.cd │ ├── Form1.Designer.vb │ ├── Form1.resx │ ├── Form1.vb │ ├── Icon1.ico │ ├── My Project │ ├── Application.Designer.vb │ ├── Application.myapp │ ├── AssemblyInfo.vb │ ├── Resources.Designer.vb │ ├── Resources.resx │ ├── Settings.Designer.vb │ └── Settings.settings │ ├── VB-PAGE-Converter.vbproj │ ├── VB-PAGE-Converter.vbproj.user │ ├── bin │ ├── Debug │ │ ├── VB-PAGE-Converter.exe │ │ ├── VB-PAGE-Converter.pdb │ │ ├── VB-PAGE-Converter.vshost.exe.manifest │ │ ├── VB-PAGE-Converter.xml │ │ ├── VB-PAGE-Validator.exe │ │ ├── VB-PAGE-Validator.pdb │ │ ├── VB-PAGE-Validator.vshost.exe │ │ ├── VB-PAGE-Validator.vshost.exe.manifest │ │ ├── VB-PAGE-Validator.xml │ │ ├── in │ │ │ ├── mp00105.xml │ │ │ └── mp00105c.tif │ │ └── xsd │ │ │ └── pagecontent.xsd │ └── Release │ │ ├── VB-PAGE-Validator.exe │ │ ├── VB-PAGE-Validator.pdb │ │ ├── VB-PAGE-Validator.vshost.exe │ │ ├── VB-PAGE-Validator.vshost.exe.manifest │ │ ├── VB-PAGE-Validator.xml │ │ ├── in │ │ ├── mp00105.xml │ │ └── mp00105c.tif │ │ └── xsd │ │ └── pagecontent.xsd │ └── obj │ ├── Debug │ ├── TempPE │ │ └── My Project.Resources.Designer.vb.dll │ ├── VB-PAGE-Converter.vbproj.FileListAbsolute.txt │ ├── VB-PAGE-Converter.vbproj.GenerateResource.Cache │ ├── VB-PAGE-Validator.exe │ ├── VB-PAGE-Validator.pdb │ ├── VB-PAGE-Validator.xml │ ├── VB_PAGE_Converter.Form1.resources │ ├── VB_PAGE_Converter.Resources.resources │ ├── VB_PAGE_Validator.Form1.resources │ └── VB_PAGE_Validator.Resources.resources │ └── Release │ ├── TempPE │ └── My Project.Resources.Designer.vb.dll │ ├── VB-PAGE-Converter.exe │ ├── VB-PAGE-Converter.pdb │ ├── VB-PAGE-Converter.vbproj.FileListAbsolute.txt │ ├── VB-PAGE-Converter.vbproj.GenerateResource.Cache │ ├── VB-PAGE-Converter.xml │ ├── VB-PAGE-Validator.exe │ ├── VB-PAGE-Validator.pdb │ ├── VB-PAGE-Validator.xml │ ├── VB_PAGE_Converter.Form1.resources │ ├── VB_PAGE_Converter.Resources.resources │ ├── VB_PAGE_Validator.Form1.resources │ └── VB_PAGE_Validator.Resources.resources └── pagecontent ├── documentation ├── 2013 PAGE XML Format Update.pdf ├── 2016 PAGE XML Format Update.pdf ├── Generated schema documentation 2017.xhtml ├── Generated schema documentation 2018.xhtml ├── Simple PAGE XML Example.pdf └── changelog.txt ├── examples ├── AletheiaExamplePage.jpg ├── aletheiaexamplepage.xml └── aletheiaexamplepage_b.tif └── schema └── pagecontent.xsd /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | PAGE-XML 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /PAGE-release/eval/2019-07-15/changelog.txt: -------------------------------------------------------------------------------- 1 | 2 | 2019-07-15 3 | 4 | - Added ReadingOrderGroupWeights element 5 | - Added 'group' to layout object types 6 | -------------------------------------------------------------------------------- /PAGE-release/gts/binarisation/2009-03-16/binarisation.xsd: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | Binarisation - Ground Truth and Storage 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 29 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | linked resource folder 38 | This should be a relative path, starting from the directory in which the current file is located in. 39 | A trailing slash is not required as any software reading this should ensure a correct assembly of path and file name. 40 | 41 | 42 | 43 | linked resource file name 44 | The name of the linked file without any path information. 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | linked resource URL 53 | A complete URL pointing to the linked file. This includes also the used protocol! 54 | (e.g. http://uvw.xyz/123.tif) 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 | Coordinates of the top left corner 83 | 84 | 85 | 86 | 87 | 88 | 89 | Coordinates of the top left corner 90 | 91 | 92 | 93 | 94 | 95 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /PAGE-release/gts/deskew/2009-03-16/deskew.xsd: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | Deskew - Ground Truth and Storage 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | This is the _de_-skew angle i.e. the angle 17 | necessary for rotating the original in order to 18 | obtain a deskewed image. Positive values denote 19 | clockwise rotation whereas negative values 20 | indicate counter-clockwise rotation. 21 | 22 | 23 | 24 | 26 | 27 | 28 | Pointer to the deskewed image, local and/or on a 29 | server. 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 41 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | linked resource folder 50 | This should be a relative path, starting from the directory in which the current file is located in. 51 | A trailing slash is not required as any software reading this should ensure a correct assembly of path and file name. 52 | 53 | 54 | 55 | linked resource file name 56 | The name of the linked file without any path information. 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | linked resource URL 65 | A complete URL pointing to the linked file. This includes also the used protocol! 66 | (e.g. http://uvw.xyz/123.tif) 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | -------------------------------------------------------------------------------- /PAGE-release/gts/dewarping/2009-03-16/dewarping.xsd: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | Dewarping - Ground Truth and Storage 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | This element can be omitted if the image does not need to be corrected (but has been checked during the ground-truthing workflow). 17 | 18 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 37 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | linked resource folder 46 | This should be a relative path, starting from the directory in which the current file is located in. 47 | A trailing slash is not required as any software reading this should ensure a correct assembly of path and file name. 48 | 49 | 50 | 51 | linked resource file name 52 | The name of the linked file without any path information. 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | linked resource URL 61 | A complete URL pointing to the linked file. This includes also the used protocol! 62 | (e.g. http://uvw.xyz/123.tif) 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 | -------------------------------------------------------------------------------- /PAGE-release/gts/pagecontent/2010-01-12/changelog.txt: -------------------------------------------------------------------------------- 1 | 2010-01-12 2 | * The number of regions is now 0..unbounded (before it was 1..unbounded) 3 | This change was necessary to allow instances only containing border or 4 | print space data 5 | * In order to reflect this change, the namespace has been updated to 6 | http://schema.primaresearch.org/PAGE/gts/pagecontent/2010-01-12 -------------------------------------------------------------------------------- /PAGE-release/gts/pagecontent/2010-03-19/changelog.txt: -------------------------------------------------------------------------------- 1 | 2010-03-19 2 | * Reading order has been simplified: Now there has to be exactly one child for 3 | the element denoting the nature of the contained objects 4 | ( or ). elements are only allowed 5 | inside a group (and not on level anymore). To convert old files 6 | to the new format it is always possible to introduce an 7 | element as child of and place the existing structure in there. 8 | * Possible attribute values added in TextTypeSimpleType: 9 | signature-mark 10 | catch-word 11 | marginalia 12 | footnote 13 | footnote-continued 14 | TOC-entry 15 | 16 | 2010-01-12 17 | * The number of regions is now 0..unbounded (before it was 1..unbounded) 18 | This change was necessary to allow instances only containing border or 19 | print space data 20 | * In order to reflect this change, the namespace has been updated to 21 | http://schema.primaresearch.org/PAGE/gts/pagecontent/2010-01-12 -------------------------------------------------------------------------------- /PAGE-release/gts/pagecontent/2013-07-15/changelog.txt: -------------------------------------------------------------------------------- 1 | 2015-09-01 2 | 3 | * Bug fix: The constraint for the confidence value of OCRed text was not 4 | inclusive for 0.0 and 1.0 - it is now inclusive. 5 | 6 | 2013-07-15 7 | 8 | * The format of polygons stored in has been changed from 9 | elements to a 'points' attribute. A polygon is now represented by a 10 | space separated list of points (x and y are comma separated). A list 11 | requires at least two points (enforced by a regular expression constraint). 12 | Example: 13 | 14 | * All regions can now have nested sub-regions. Before this was limited to 15 | elements. 16 | 17 | * Frame regions have been removed from the schema. As a replacement 18 | can be used. 19 | 20 | * There are three new region types: , and 21 | for advertisements, chemical formulas and musical notations. 22 | 23 | * The child element of <TextEquiv> is now optional. 24 | 25 | * Text recognition confidence has been introduced as new attribute of 26 | <TextEquiv> 27 | 28 | * Language can now be specified on text line and word level, in addition to 29 | region level. Therefore <TextLine> elements have a new attribute 30 | 'primaryLanguage' and <Word> elements have a new attribute 'language'. 31 | Values set for child elements are interpreted to override values of parent 32 | elements. 33 | 34 | * The elements <Layer>, <UnorderedGroup> and <OrderedGroup> have a new attribute 35 | 'caption'. 36 | 37 | * Text lines can now have a <Baseline> child element. The baseline is a multi- 38 | segment line represented by a list of points ('points' attribute with the same 39 | format and constraints as polygon points). 40 | 41 | * The <Page> element has a new attribute 'type'. 42 | 43 | * The <Page> element has a new child element <AlternativeImage> (0..*) with 44 | attributes 'filename' and 'comments' (to be used for bi-level image etc.). 45 | 46 | * New attributes 'custom' and 'comments' for various elements. The former is 47 | intended for machine use (custom types for instance). The latter is intended 48 | for human use (context information, remarks etc.). 49 | 50 | * Extended constraint for 'type' attribute of <GraphicRegion> element. 51 | Added: 'decoration', 'barcode' and 'frame'. 52 | 53 | * Extended constraint for 'type' attribute of <TextRegion> element. 54 | Added: 'endnote' and 'other'. 55 | 56 | * Extended constraint for 'primaryLanguage' and 'secondaryLanguage' attributes 57 | of <TextRegion> element. Now conform to ISO standard. 58 | 59 | * Extended constraint for colour attributes. 60 | Added: 'other'. 61 | 62 | * Extended constraint for 'colourDepth' attribute. 63 | Added: 'other'. 64 | 65 | * The elements <TextRegion>, <TextLine>, <Word> and <Glyph> have a new child 66 | element <Textstyle> with attributes 'fontFamily', 'serif', 'monospace', 67 | 'fontSize', 'kerning', 'textColour', 'bgColour', 'reverseVideo', 'bold', 68 | 'italic', 'underlined', 'subscript', 'superscript', 'strikethrough', 69 | 'smallCaps', 'letterSpaced'. Any attributes of <TextRegion> that appear 70 | in this list have been removed (moved to <TextStyle>). 71 | Values set for child text objects are interpreted to override values of parent 72 | text objects. 73 | 74 | * New attribute 'production' for elements <TextRegion>, <TextLine>, <Word> and 75 | <Glyph>. 76 | Values set for child text objects are interpreted to override values of parent 77 | text objects. 78 | 79 | * New child element <Relations> for <Page> element to model relations between 80 | layout objects (e.g. drop-capital - paragraph, image - caption). Single 81 | relations are represented by <Relation> elements with attributes 'type', 82 | 'custom' and 'comments' as well as two <RegionRef> child elements. 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 | -------------------------------------------------------------------------------- /PAGE-release/gts/pagecontent/2016-07-15/changelog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/PAGE-release/gts/pagecontent/2016-07-15/changelog.txt -------------------------------------------------------------------------------- /PAGE-release/gts/pagecontent/2017-07-15/changelog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/PAGE-release/gts/pagecontent/2017-07-15/changelog.txt -------------------------------------------------------------------------------- /PAGE-release/gts/pagecontent/2018-07-15/changelog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/PAGE-release/gts/pagecontent/2018-07-15/changelog.txt -------------------------------------------------------------------------------- /PAGE-release/gts/pagecontent/2019-07-15/changelog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/PAGE-release/gts/pagecontent/2019-07-15/changelog.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PAGE-XML 2 | PAGE XML format collection for document image page content and more 3 | 4 | For an introduction, please see the following publication: 5 | http://www.primaresearch.org/publications/ICPR2010_Pletschacher_PAGE 6 | 7 | The most actively used XML formats are: 8 | - PAGE XML for page content (regions, text lines, words, glyphs, reading order, text content, ...) 9 | - PAGE XML for layout analysis evaluation (evaluation profiles, evaluation results, ...) 10 | - PAGE XML for document image dewarping (dewarping grids) 11 | 12 | All formats are defined by an XML schema, hosted officially on primaresearch.org: 13 | http://www.primaresearch.org/schema/PAGE/gts/pagecontent/2019-07-15/pagecontent.xsd 14 | http://www.primaresearch.org/schema/PAGE/eval/layout/2013-07-15/layouteval.xsd 15 | http://www.primaresearch.org/schema/PAGE/gts/dewarping/2014-08-26/dewarping.xsd 16 | 17 | Please see the wiki for more information. 18 | 19 | Note: The master branch contains the proposed changes for the next release. 20 | 21 | ![Page Content](http://www.primaresearch.org/www/media/tools/Aletheia.png) 22 | 23 | Proposed media type for page content: "application/vnd.prima.page+xml" 24 | -------------------------------------------------------------------------------- /dewarping/documentation/changelog dewarping.txt: -------------------------------------------------------------------------------- 1 | PRImA Page Analysis and Ground-truth Elements (PAGE) Format - Dewarping Schema 2 | 3 | 4 | 2014-08-26 clc c.clausner@primaresearch.org 5 | 6 | * Complete redesign 7 | 8 | -------------------------------------------------------------------------------- /documentation/2013 PAGE XML Format Update - What you need to know.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/2013 PAGE XML Format Update - What you need to know.docx -------------------------------------------------------------------------------- /documentation/2013 PAGE XML Format Update - What you need to know.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/2013 PAGE XML Format Update - What you need to know.pdf -------------------------------------------------------------------------------- /documentation/2016 PAGE XML Format Update.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/2016 PAGE XML Format Update.docx -------------------------------------------------------------------------------- /documentation/2016 PAGE XML Format Update.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/2016 PAGE XML Format Update.pdf -------------------------------------------------------------------------------- /documentation/Language List (from ISO).xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/Language List (from ISO).xlsx -------------------------------------------------------------------------------- /documentation/PAGE Update Ideas (2013).docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/PAGE Update Ideas (2013).docx -------------------------------------------------------------------------------- /documentation/PRImA-XML.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/PRImA-XML.docx -------------------------------------------------------------------------------- /documentation/Page Content Ground Truth and Storage (Part of the PAGE Format).pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/Page Content Ground Truth and Storage (Part of the PAGE Format).pdf -------------------------------------------------------------------------------- /documentation/Script List (from ISO15924 ).xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/Script List (from ISO15924 ).xlsx -------------------------------------------------------------------------------- /documentation/Text merge rule examples.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/Text merge rule examples.docx -------------------------------------------------------------------------------- /documentation/Types, subtypes, labes, etc.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/Types, subtypes, labes, etc.docx -------------------------------------------------------------------------------- /documentation/Types, subtypes, labes, etc.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/Types, subtypes, labes, etc.pdf -------------------------------------------------------------------------------- /documentation/XML File Structure.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/XML File Structure.doc -------------------------------------------------------------------------------- /documentation/XML File Structure.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/XML File Structure.pdf -------------------------------------------------------------------------------- /documentation/example/Example page.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/example/Example page.docx -------------------------------------------------------------------------------- /documentation/example/Simple PAGE XML Example.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/example/Simple PAGE XML Example.docx -------------------------------------------------------------------------------- /documentation/example/Simple PAGE XML Example.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/example/Simple PAGE XML Example.pdf -------------------------------------------------------------------------------- /documentation/example/SimplePage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/example/SimplePage.png -------------------------------------------------------------------------------- /documentation/example/SimplePage.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8"?> 2 | <PcGts xmlns="http://schema.primaresearch.org/PAGE/gts/pagecontent/2017-07-15" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schema.primaresearch.org/PAGE/gts/pagecontent/2017-07-15 http://schema.primaresearch.org/PAGE/gts/pagecontent/2017-07-15/pagecontent.xsd"> 3 | <Metadata> 4 | <Creator></Creator> 5 | <Created>2017-05-03T10:20:47</Created> 6 | <LastChange>2018-01-24T12:14:17</LastChange></Metadata> 7 | <Page imageFilename="SimplePage.png" imageWidth="800" imageHeight="600"> 8 | <ReadingOrder> 9 | <OrderedGroup id="ro357564684568544579089"> 10 | <RegionRefIndexed regionRef="r0" index="0"/> 11 | <RegionRefIndexed regionRef="r1" index="1"/> 12 | <RegionRefIndexed regionRef="r2" index="2"/></OrderedGroup></ReadingOrder> 13 | <TextRegion id="r0" type="heading"> 14 | <Coords points="25,30 25,55 235,55 235,30"/> 15 | <TextLine id="l0"> 16 | <Coords points="25,30 25,55 235,55 235,30"/> 17 | <TextEquiv> 18 | <Unicode></Unicode></TextEquiv></TextLine> 19 | <TextEquiv> 20 | <Unicode>The PAGE Format</Unicode></TextEquiv></TextRegion> 21 | <TextRegion id="r1" type="paragraph"> 22 | <Coords points="25,60 25,300 400,300 400,60"/> 23 | <TextEquiv> 24 | <Unicode>There is a plethora of established and proposed 25 | document representation formats but none that can 26 | adequately support individual stages within an entire 27 | sequence of document image analysis methods 28 | (from document image enhancement to layout 29 | analysis to OCR) and their evaluation. This paper 30 | describes PAGE, a new XML-based page image 31 | representation framework that records information on 32 | image characteristics (image borders, geometric 33 | distortions and corresponding corrections, 34 | binarisation etc.) in addition to layout structure and 35 | page content.</Unicode></TextEquiv></TextRegion> 36 | <TextRegion id="r2" type="paragraph"> 37 | <Coords points="25,310 25,430 400,430 400,310"/> 38 | <TextEquiv> 39 | <Unicode>The suitability of the framework to the evaluation 40 | of entire workflows as well as individual stages has 41 | been extensively validated by using it in high-profile 42 | applications such as in public contemporary and 43 | historical ground-truthed datasets and in the ICDAR 44 | Page Segmentation competition series.</Unicode></TextEquiv></TextRegion> 45 | <TableRegion id="r3" lineSeparators="true"> 46 | <Coords points="25,475 25,560 400,560 400,475"/> 47 | <TextRegion id="r5" type="paragraph"> 48 | <Coords points="40,485 40,500 120,500 120,485"/> 49 | <TextEquiv> 50 | <Unicode>Column 1</Unicode></TextEquiv></TextRegion> 51 | <TextRegion id="r6" type="paragraph"> 52 | <Coords points="160,485 160,500 240,500 240,485"/> 53 | <TextEquiv> 54 | <Unicode>Column 2</Unicode></TextEquiv></TextRegion> 55 | <TextRegion id="r7" type="paragraph"> 56 | <Coords points="280,485 280,500 360,500 360,485"/> 57 | <TextEquiv> 58 | <Unicode>Column 3</Unicode></TextEquiv></TextRegion> 59 | <TextRegion id="r8" type="paragraph"> 60 | <Coords points="40,505 40,525 85,525 85,505"/> 61 | <TextEquiv> 62 | <Unicode>Cell 1</Unicode></TextEquiv></TextRegion> 63 | <TextRegion id="r9" type="paragraph"> 64 | <Coords points="160,505 160,525 210,525 210,505"/> 65 | <TextEquiv> 66 | <Unicode>Cell 2</Unicode></TextEquiv></TextRegion> 67 | <TextRegion id="r10" type="paragraph"> 68 | <Coords points="280,505 280,525 330,525 330,505"/> 69 | <TextEquiv> 70 | <Unicode>Cell 3</Unicode></TextEquiv></TextRegion> 71 | <TextRegion id="r11" type="paragraph"> 72 | <Coords points="40,530 40,550 85,550 85,530"/> 73 | <TextEquiv> 74 | <Unicode>Cell 4</Unicode></TextEquiv></TextRegion> 75 | <TextRegion id="r12" type="paragraph"> 76 | <Coords points="160,530 160,550 210,550 210,530"/> 77 | <TextEquiv> 78 | <Unicode>Cell 5</Unicode></TextEquiv></TextRegion> 79 | <TextRegion id="r13" type="paragraph"> 80 | <Coords points="280,530 280,550 330,550 330,530"/> 81 | <TextEquiv> 82 | <Unicode>Cell 6</Unicode></TextEquiv></TextRegion></TableRegion> 83 | <GraphicRegion id="r4"> 84 | <Coords points="430,60 430,450 765,450 765,60"/></GraphicRegion></Page></PcGts> 85 | -------------------------------------------------------------------------------- /documentation/pagecontentDoc.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/pagecontentDoc.html -------------------------------------------------------------------------------- /documentation/tables/ExampleWithTableFeatures.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/tables/ExampleWithTableFeatures.zip -------------------------------------------------------------------------------- /documentation/tables/Tables in PAGE XML.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/tables/Tables in PAGE XML.docx -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/CHANGES: -------------------------------------------------------------------------------- 1 | xs3p was originally developed by DSTC and was availabe 2 | through their website at http://titanium.dstc.edu.au/xml/xs3p/ 3 | 4 | Since the demise of this organization, we at FiForms Solutions 5 | have decided to host xs3p, since we have been using it in 6 | documenting the XML used in FiForms. The stylesheet has been 7 | modified to point to the new xs3p home here at FiForms, while 8 | still retaining the old (dead) link to the dstc website. The 9 | xs3p home is http://xml.fiforms.org/xs3p/ -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/MakeXHTMLDoc.bat: -------------------------------------------------------------------------------- 1 | java -classpath "C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\xml-apis.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\xercesImpl.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\serializer.jar" org.apache.xalan.xslt.Process -IN "C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\PAGE\root\root.xsd" -XSL xs3pROOT.xsl -OUT ..\rootDoc.html 2 | java -classpath "C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\xml-apis.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\xercesImpl.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\serializer.jar" org.apache.xalan.xslt.Process -IN "C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\PAGE\gts\binarisation.xsd" -XSL xs3pBN.xsl -OUT ..\binarisationDoc.html 3 | java -classpath "C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\xml-apis.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\xercesImpl.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\serializer.jar" org.apache.xalan.xslt.Process -IN "C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\PAGE\gts\deskew.xsd" -XSL xs3pDS.xsl -OUT ..\deskewDoc.html 4 | java -classpath "C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\xml-apis.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\xercesImpl.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\serializer.jar" org.apache.xalan.xslt.Process -IN "C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\PAGE\gts\dewarping.xsd" -XSL xs3pDW.xsl -OUT ..\dewarpingDoc.html 5 | java -classpath "C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\xml-apis.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\xercesImpl.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\serializer.jar" org.apache.xalan.xslt.Process -IN "C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\PAGE\gts\pagecontent.xsd" -XSL xs3pPC.xsl -OUT ..\pagecontentDoc.html 6 | java -classpath "C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\xml-apis.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\xercesImpl.jar";"C:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\serializer.jar" org.apache.xalan.xslt.Process -IN "C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\PAGE\eval\layouteval.xsd" -XSL xs3pLE.xsl -OUT ..\layoutevalDoc.html 7 | 8 | pause -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/MakeXHTMLDocNew.bat: -------------------------------------------------------------------------------- 1 | java -classpath "E:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan.jar";"E:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\xml-apis.jar";"E:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\xercesImpl.jar";"E:\Users\spl\Documents\IMPACT\XSD for IMPACT Objects, GT and Evaluation\Testing\xalan-j_2_7_0\xalan-j_2_7_0\serializer.jar" org.apache.xalan.xslt.Process -IN "C:\Users\spl\Documents\PAGE\XML-Schema\PAGE\gts\pagecontent.xsd" -XSL xs3pPC.xsl -OUT ..\pagecontentDoc.html 2 | 3 | pause -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/_OpenThisFolder.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/documentation/xs3p-1.1.3/_OpenThisFolder.lnk -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/examples/address.xsd: -------------------------------------------------------------------------------- 1 | <schema targetNamespace="http://www.example.com/IPO" 2 | xmlns="http://www.w3.org/2001/XMLSchema" 3 | xmlns:ipo="http://www.example.com/IPO"> 4 | 5 | <annotation> 6 | <documentation xml:lang="en"> 7 | Addresses for International Purchase order schema 8 | Copyright 2000 Example.com. All rights reserved. 9 | </documentation> 10 | </annotation> 11 | 12 | <complexType name="Address"> 13 | <sequence> 14 | <element name="name" type="string"/> 15 | <element name="street" type="string"/> 16 | <element name="city" type="string"/> 17 | </sequence> 18 | </complexType> 19 | 20 | <complexType name="USAddress"> 21 | <complexContent> 22 | <extension base="ipo:Address"> 23 | <sequence> 24 | <element name="state" type="ipo:USState"/> 25 | <element name="zip" type="positiveInteger"/> 26 | </sequence> 27 | </extension> 28 | </complexContent> 29 | </complexType> 30 | 31 | <complexType name="UKAddress"> 32 | <complexContent> 33 | <extension base="ipo:Address"> 34 | <sequence> 35 | <element name="postcode" type="ipo:UKPostcode"/> 36 | </sequence> 37 | <attribute name="exportCode" type="positiveInteger" fixed="1"/> 38 | </extension> 39 | </complexContent> 40 | </complexType> 41 | 42 | <!-- other Address derivations for more countries --> 43 | 44 | <simpleType name="USState"> 45 | <restriction base="string"> 46 | <enumeration value="AK"/> 47 | <enumeration value="AL"/> 48 | <enumeration value="AR"/> 49 | <!-- and so on ... --> 50 | </restriction> 51 | </simpleType> 52 | 53 | <!-- simple type definition for UKPostcode --> 54 | 55 | </schema> -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/examples/build.xml: -------------------------------------------------------------------------------- 1 | <project name="TestAnt" default="all" basedir="."> 2 | <description>Script to generate documentation for example schema files using Ant.</description> 3 | 4 | <property name="original-loc" value=".."/> 5 | <property name="xslt-file" value="xs3p.xsl"/> 6 | <property name="target-dir" value="ant-results"/> 7 | 8 | <target name="all" description="Generates documentation for all *.xsd files."> 9 | <xslt basedir="." destdir="${target-dir}" 10 | extension=".html" style="${original-loc}/${xslt-file}"> 11 | <include name="*.xsd"/> 12 | </xslt> 13 | </target> 14 | 15 | <target name="test-external-links" description="Test linking between schema files."> 16 | <!-- Copy xslt file to local dir. --> 17 | <copy file="${original-loc}/${xslt-file}" todir="${basedir}"/> 18 | <!-- address.xsd --> 19 | <xslt in="address.xsd" out="${target-dir}/address.xsd.html" style="${xslt-file}"> 20 | <param name="searchImportedSchemas" expression="true"/> 21 | <param name="searchIncludedSchemas" expression="true"/> 22 | <param name="linksFile" expression="links.xml"/> 23 | </xslt> 24 | <!-- ipo.xsd --> 25 | <xslt in="ipo.xsd" out="${target-dir}/ipo.xsd.html" style="${xslt-file}"> 26 | <param name="searchImportedSchemas" expression="true"/> 27 | <param name="searchIncludedSchemas" expression="true"/> 28 | <param name="linksFile" expression="links.xml"/> 29 | </xslt> 30 | <!-- report.xsd --> 31 | <xslt in="report.xsd" out="${target-dir}/report.xsd.html" style="${xslt-file}"> 32 | <param name="searchImportedSchemas" expression="true"/> 33 | <param name="searchIncludedSchemas" expression="true"/> 34 | <param name="linksFile" expression="links.xml"/> 35 | </xslt> 36 | <!-- Delete local copy of xslt file. --> 37 | <delete file="${basedir}/${xslt-file}"/> 38 | </target> 39 | 40 | </project> 41 | -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/examples/ipo.xsd: -------------------------------------------------------------------------------- 1 | <schema targetNamespace="http://www.example.com/IPO" 2 | xmlns="http://www.w3.org/2001/XMLSchema" 3 | xmlns:ipo="http://www.example.com/IPO"> 4 | 5 | <annotation> 6 | <documentation xml:lang="en"> 7 | International Purchase order schema for Example.com 8 | Copyright 2000 Example.com. All rights reserved. 9 | </documentation> 10 | </annotation> 11 | 12 | <!-- include address constructs --> 13 | <include 14 | schemaLocation="address.xsd"/> 15 | 16 | <element name="purchaseOrder" type="ipo:PurchaseOrderType"/> 17 | 18 | <element name="comment" type="string"/> 19 | 20 | <complexType name="PurchaseOrderType"> 21 | <sequence> 22 | <element name="shipTo" type="ipo:Address"/> 23 | <element name="billTo" type="ipo:Address"/> 24 | <element ref="ipo:comment" minOccurs="0"/> 25 | <element name="items" type="ipo:Items"/> 26 | </sequence> 27 | <attribute name="orderDate" type="date"/> 28 | </complexType> 29 | 30 | <complexType name="Items"> 31 | <sequence> 32 | <element name="item" minOccurs="0" maxOccurs="unbounded"> 33 | <complexType> 34 | <sequence> 35 | <element name="productName" type="string"/> 36 | <element name="quantity"> 37 | <simpleType> 38 | <restriction base="positiveInteger"> 39 | <maxExclusive value="100"/> 40 | </restriction> 41 | </simpleType> 42 | </element> 43 | <element name="USPrice" type="decimal"/> 44 | <element ref="ipo:comment" minOccurs="0"/> 45 | <element name="shipDate" type="date" minOccurs="0"/> 46 | </sequence> 47 | <attribute name="partNum" type="ipo:SKU" use="required"/> 48 | </complexType> 49 | </element> 50 | </sequence> 51 | </complexType> 52 | 53 | <simpleType name="SKU"> 54 | <restriction base="string"> 55 | <pattern value="\d{3}-[A-Z]{2}"/> 56 | </restriction> 57 | </simpleType> 58 | 59 | </schema> -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/examples/links.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <links xmlns="http://titanium.dstc.edu.au/xml/xs3p"> 3 | <schema file-location="address.xsd" docfile-location="address.xsd.html"/> 4 | <schema file-location="ipo.xsd" docfile-location="ipo.xsd.html"/> 5 | <schema file-location="report.xsd" docfile-location="report.xsd.html"/> 6 | </links> -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/examples/po.xsd: -------------------------------------------------------------------------------- 1 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 2 | 3 | <xsd:annotation> 4 | <xsd:documentation xml:lang="en"> 5 | Purchase order schema for Example.com. 6 | Copyright 2000 Example.com. All rights reserved. 7 | </xsd:documentation> 8 | </xsd:annotation> 9 | 10 | <xsd:element name="purchaseOrder" type="PurchaseOrderType"/> 11 | 12 | <xsd:element name="comment" type="xsd:string"/> 13 | 14 | <xsd:complexType name="PurchaseOrderType"> 15 | <xsd:sequence> 16 | <xsd:element name="shipTo" type="USAddress"/> 17 | <xsd:element name="billTo" type="USAddress"/> 18 | <xsd:element ref="comment" minOccurs="0"/> 19 | <xsd:element name="items" type="Items"/> 20 | </xsd:sequence> 21 | <xsd:attribute name="orderDate" type="xsd:date"/> 22 | </xsd:complexType> 23 | 24 | <xsd:complexType name="USAddress"> 25 | <xsd:sequence> 26 | <xsd:element name="name" type="xsd:string"/> 27 | <xsd:element name="street" type="xsd:string"/> 28 | <xsd:element name="city" type="xsd:string"/> 29 | <xsd:element name="state" type="xsd:string"/> 30 | <xsd:element name="zip" type="xsd:decimal"/> 31 | </xsd:sequence> 32 | <xsd:attribute name="country" type="xsd:NMTOKEN" 33 | fixed="US"/> 34 | </xsd:complexType> 35 | 36 | <xsd:complexType name="Items"> 37 | <xsd:sequence> 38 | <xsd:element name="item" minOccurs="0" maxOccurs="unbounded"> 39 | <xsd:complexType> 40 | <xsd:sequence> 41 | <xsd:element name="productName" type="xsd:string"/> 42 | <xsd:element name="quantity"> 43 | <xsd:simpleType> 44 | <xsd:restriction base="xsd:positiveInteger"> 45 | <xsd:maxExclusive value="100"/> 46 | </xsd:restriction> 47 | </xsd:simpleType> 48 | </xsd:element> 49 | <xsd:element name="USPrice" type="xsd:decimal"/> 50 | <xsd:element ref="comment" minOccurs="0"/> 51 | <xsd:element name="shipDate" type="xsd:date" minOccurs="0"/> 52 | </xsd:sequence> 53 | <xsd:attribute name="partNum" type="SKU" use="required"/> 54 | </xsd:complexType> 55 | </xsd:element> 56 | </xsd:sequence> 57 | </xsd:complexType> 58 | 59 | <!-- Stock Keeping Unit, a code for identifying products --> 60 | <xsd:simpleType name="SKU"> 61 | <xsd:restriction base="xsd:string"> 62 | <xsd:pattern value="\d{3}-[A-Z]{2}"/> 63 | </xsd:restriction> 64 | </xsd:simpleType> 65 | 66 | </xsd:schema> -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/examples/recursion.xsd: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://example.com" targetNamespace="http://example.com"> 3 | <xsd:element name="x"> 4 | <xsd:simpleType> 5 | <xsd:restriction base="X"> 6 | <xsd:enumeration value="abc"/> 7 | </xsd:restriction> 8 | </xsd:simpleType> 9 | </xsd:element> 10 | <xsd:simpleType name="X"> 11 | <xsd:restriction base="Z"> 12 | <xsd:enumeration value="abc"/> 13 | </xsd:restriction> 14 | </xsd:simpleType> 15 | <xsd:simpleType name="Y"> 16 | <xsd:restriction base="X"> 17 | <xsd:enumeration value="abc"/> 18 | </xsd:restriction> 19 | </xsd:simpleType> 20 | <xsd:simpleType name="Z"> 21 | <xsd:restriction base="Y"> 22 | <xsd:enumeration value="abc"/> 23 | </xsd:restriction> 24 | </xsd:simpleType> 25 | 26 | <xsd:complexType name="A"> 27 | <xsd:complexContent> 28 | <xsd:extension base="C"> 29 | <xsd:sequence> 30 | <xsd:element name="a" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/> 31 | </xsd:sequence> 32 | </xsd:extension> 33 | </xsd:complexContent> 34 | </xsd:complexType> 35 | <xsd:complexType name="B"> 36 | <xsd:complexContent> 37 | <xsd:extension base="A"> 38 | <xsd:sequence> 39 | <xsd:element name="b" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/> 40 | </xsd:sequence> 41 | </xsd:extension> 42 | </xsd:complexContent> 43 | </xsd:complexType> 44 | <xsd:complexType name="C"> 45 | <xsd:complexContent> 46 | <xsd:extension base="B"> 47 | <xsd:sequence> 48 | <xsd:element name="c" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/> 49 | </xsd:sequence> 50 | </xsd:extension> 51 | </xsd:complexContent> 52 | </xsd:complexType> 53 | 54 | <xsd:group name="A"> 55 | <xsd:sequence> 56 | <xsd:group ref="C"/> 57 | <xsd:element name="a" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/> 58 | </xsd:sequence> 59 | </xsd:group> 60 | <xsd:group name="B"> 61 | <xsd:sequence> 62 | <xsd:group ref="A"/> 63 | <xsd:element name="b" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/> 64 | </xsd:sequence> 65 | </xsd:group> 66 | <xsd:group name="C"> 67 | <xsd:sequence> 68 | <xsd:group ref="B"/> 69 | <xsd:element name="c" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/> 70 | </xsd:sequence> 71 | </xsd:group> 72 | 73 | <xsd:attributeGroup name="A"> 74 | <xsd:attributeGroup ref="C"/> 75 | <xsd:attribute name="a" type="xsd:string"/> 76 | </xsd:attributeGroup> 77 | <xsd:attributeGroup name="B"> 78 | <xsd:attributeGroup ref="A"/> 79 | <xsd:attribute name="b" type="xsd:string"/> 80 | </xsd:attributeGroup> 81 | <xsd:attributeGroup name="C"> 82 | <xsd:attributeGroup ref="B"/> 83 | <xsd:attribute name="c" type="xsd:string"/> 84 | </xsd:attributeGroup> 85 | </xsd:schema> -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/examples/report.xsd: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <schema targetNamespace="http://www.example.com/Report" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:r="http://www.example.com/Report" xmlns:xipo="http://www.example.com/IPO" elementFormDefault="qualified"> 3 | <!-- for SKU --> 4 | <import namespace="http://www.example.com/IPO" schemaLocation="ipo.xsd"/> 5 | 6 | <annotation> 7 | <documentation xml:lang="en">Report schema for Example.com 8 | Copyright 2000 Example.com. All rights reserved.</documentation> 9 | </annotation> 10 | 11 | <element name="purchaseReport"> 12 | <complexType> 13 | <sequence> 14 | <element name="regions" type="r:RegionsType"> 15 | <keyref name="dummy2" refer="r:pNumKey"> 16 | <selector xpath="r:zip/r:part"/> 17 | <field xpath="@number"/> 18 | </keyref> 19 | </element> 20 | <element name="parts" type="r:PartsType"/> 21 | <element ref="xipo:comment"/> 22 | </sequence> 23 | <attribute name="period" type="duration"/> 24 | <attribute name="periodEnding" type="date"/> 25 | </complexType> 26 | 27 | <unique name="dummy1"> 28 | <selector xpath="r:regions/r:zip"/> 29 | <field xpath="@code"/> 30 | </unique> 31 | 32 | <key name="pNumKey"> 33 | <selector xpath="r:parts/r:part"/> 34 | <field xpath="@number"/> 35 | </key> 36 | </element> 37 | 38 | <complexType name="RegionsType"> 39 | <sequence> 40 | <element name="zip" maxOccurs="unbounded"> 41 | <complexType> 42 | <sequence> 43 | <element name="part" maxOccurs="unbounded"> 44 | <complexType> 45 | <complexContent> 46 | <restriction base="anyType"> 47 | <attribute name="number" type="xipo:SKU"/> 48 | <attribute name="quantity" type="positiveInteger"/> 49 | </restriction> 50 | </complexContent> 51 | </complexType> 52 | </element> 53 | </sequence> 54 | <attribute name="code" type="positiveInteger"/> 55 | </complexType> 56 | </element> 57 | </sequence> 58 | </complexType> 59 | 60 | <complexType name="PartsType"> 61 | <sequence> 62 | <element name="part" maxOccurs="unbounded"> 63 | <complexType> 64 | <simpleContent> 65 | <extension base="string"> 66 | <attribute name="number" type="xipo:SKU"/> 67 | </extension> 68 | </simpleContent> 69 | </complexType> 70 | </element> 71 | </sequence> 72 | </complexType> 73 | 74 | <complexType name="ExtendedPurchaseOrderType"> 75 | <complexContent> 76 | <extension base="xipo:PurchaseOrderType"> 77 | <sequence> 78 | <element name="shipper" type="xipo:Address"/> 79 | </sequence> 80 | <attribute name="shipToDate" type="date"/> 81 | </extension> 82 | </complexContent> 83 | </complexType> 84 | </schema> -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/examples/test_msxsl.bat: -------------------------------------------------------------------------------- 1 | set RESULTS_DIR=msxsl-results 2 | set LINKS_FILE=links.xml 3 | set XSLT_FILE=xs3p.xsl 4 | set ORIGINAL_XSLT_FILE=..\%XSLT_FILE% 5 | rem Copy XSLT file to local directory 6 | copy %ORIGINAL_XSLT_FILE% . 7 | rem Create results directory 8 | if not exist %RESULTS_DIR% mkdir %RESULTS_DIR% 9 | rem Loop through schema files 10 | for %%f in (*.xsd) do msxsl %%f %XSLT_FILE% -t -o %RESULTS_DIR%\%%f.html 11 | rem Test external links 12 | rem set XSD_FILE=address.xsd 13 | rem msxsl %XSD_FILE% %XSLT_FILE% -t -o %RESULTS_DIR%\%XSD_FILE%.html searchImportedSchemas=true searchIncludedSchemas=true linksFile=%LINKS_FILE% 14 | rem set XSD_FILE=ipo.xsd 15 | rem msxsl %XSD_FILE% %XSLT_FILE% -t -o %RESULTS_DIR%\%XSD_FILE%.html searchImportedSchemas=true searchIncludedSchemas=true linksFile=%LINKS_FILE% 16 | rem set XSD_FILE=report.xsd 17 | rem msxsl %XSD_FILE% %XSLT_FILE% -t -o %RESULTS_DIR%\%XSD_FILE%.html searchImportedSchemas=true searchIncludedSchemas=true linksFile=%LINKS_FILE% 18 | rem Delete local copy of stylesheet 19 | del %XSLT_FILE% 20 | -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/examples/test_xalanj.bat: -------------------------------------------------------------------------------- 1 | set RESULTS_DIR=xalanj-results 2 | set LINKS_FILE=links.xml 3 | set XSLT_FILE=xs3p.xsl 4 | set ORIGINAL_XSLT_FILE=..\%XSLT_FILE% 5 | rem Copy XSLT file to local directory 6 | copy %ORIGINAL_XSLT_FILE% . 7 | rem Create results directory 8 | if not exist %RESULTS_DIR% mkdir %RESULTS_DIR% 9 | rem Loop through schema files 10 | for %%f in (*.xsd) do java org.apache.xalan.xslt.Process -IN %%f -XSL %XSLT_FILE% -OUT %RESULTS_DIR%\%%f.html 11 | rem Test external links 12 | rem set XSD_FILE=address.xsd 13 | rem java org.apache.xalan.xslt.Process -IN %XSD_FILE% -XSL %XSLT_FILE% -OUT %RESULTS_DIR%\%XSD_FILE%.html -PARAM searchImportedSchemas true -PARAM searchIncludedSchemas true -PARAM linksFile %LINKS_FILE% 14 | rem set XSD_FILE=ipo.xsd 15 | rem java org.apache.xalan.xslt.Process -IN %XSD_FILE% -XSL %XSLT_FILE% -OUT %RESULTS_DIR%\%XSD_FILE%.html -PARAM searchImportedSchemas true -PARAM searchIncludedSchemas true -PARAM linksFile %LINKS_FILE% 16 | rem set XSD_FILE=report.xsd 17 | rem java org.apache.xalan.xslt.Process -IN %XSD_FILE% -XSL %XSLT_FILE% -OUT %RESULTS_DIR%\%XSD_FILE%.html -PARAM searchImportedSchemas true -PARAM searchIncludedSchemas true -PARAM linksFile %LINKS_FILE% 18 | rem Delete local copy of stylesheet 19 | del %XSLT_FILE% 20 | -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/examples/test_xsltproc.sh: -------------------------------------------------------------------------------- 1 | #!bin/bash 2 | RESULTS_DIR=xsltproc-results 3 | LINKS_FILE=links.xml 4 | XSLT_FILE=xs3p.xsl 5 | ORIGINAL_XSLT_FILE=../$XSLT_FILE 6 | # Copy XSLT file to local directory 7 | cp $ORIGINAL_XSLT_FILE . 8 | # Create results directory 9 | if [ ! -d $RESULTS_DIR ] ; 10 | then 11 | mkdir $RESULTS_DIR 12 | fi 13 | # Loop through schema files 14 | for f in *.xsd 15 | do 16 | echo "Generating documentation for: $f" 17 | xsltproc --nonet --output $RESULTS_DIR/$f.html $XSLT_FILE $f 18 | done 19 | # Test external links 20 | # XSD_FILE=address.xsd 21 | # echo "Generating documentation for: $XSD_FILE" 22 | # xsltproc --nonet --output $RESULTS_DIR/$XSD_FILE.html $XSLT_FILE $XSD_FILE 23 | # XSD_FILE=ipo.xsd 24 | # echo "Generating documentation for: $XSD_FILE" 25 | # xsltproc --param searchIncludedSchemas "'true'" --param linksFile "'links.xml'" --nonet --output $RESULTS_DIR/$XSD_FILE.html $XSLT_FILE $XSD_FILE 26 | # XSD_FILE=report.xsd 27 | # echo "Generating documentation for: $XSD_FILE" 28 | # xsltproc --param searchIncludedSchemas "'true'" --param linksFile "'links.xml'" --nonet --output $RESULTS_DIR/$XSD_FILE.html $XSLT_FILE $XSD_FILE 29 | # Delete local copy of stylesheet 30 | rm $XSLT_FILE 31 | -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/examples/xml.xsd: -------------------------------------------------------------------------------- 1 | <?xml version='1.0'?> 2 | <xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en"> 3 | 4 | <xs:annotation> 5 | <xs:documentation> 6 | See http://www.w3.org/XML/1998/namespace.html and 7 | http://www.w3.org/TR/REC-xml for information about this namespace. 8 | </xs:documentation> 9 | </xs:annotation> 10 | 11 | <xs:annotation> 12 | <xs:documentation>This schema defines attributes and an attribute group 13 | suitable for use by 14 | schemas wishing to allow xml:base, xml:lang or xml:space attributes 15 | on elements they define. 16 | 17 | To enable this, such a schema must import this schema 18 | for the XML namespace, e.g. as follows: 19 | &lt;schema . . .> 20 | . . . 21 | &lt;import namespace="http://www.w3.org/XML/1998/namespace" 22 | schemaLocation="http://www.w3.org/2001/03/xml.xsd"/> 23 | 24 | Subsequently, qualified reference to any of the attributes 25 | or the group defined below will have the desired effect, e.g. 26 | 27 | &lt;type . . .> 28 | . . . 29 | &lt;attributeGroup ref="xml:specialAttrs"/> 30 | 31 | will define a type which will schema-validate an instance 32 | element with any of those attributes</xs:documentation> 33 | </xs:annotation> 34 | 35 | <xs:annotation> 36 | <xs:documentation>In keeping with the XML Schema WG's standard versioning 37 | policy, this schema document will persist at 38 | http://www.w3.org/2001/03/xml.xsd. 39 | At the date of issue it can also be found at 40 | http://www.w3.org/2001/xml.xsd. 41 | The schema document at that URI may however change in the future, 42 | in order to remain compatible with the latest version of XML Schema 43 | itself. In other words, if the XML Schema namespace changes, the version 44 | of this document at 45 | http://www.w3.org/2001/xml.xsd will change 46 | accordingly; the version at 47 | http://www.w3.org/2001/03/xml.xsd will not change. 48 | </xs:documentation> 49 | </xs:annotation> 50 | 51 | <xs:attribute name="lang" type="xs:language"> 52 | <xs:annotation> 53 | <xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter 54 | codes as the enumerated possible values . . .</xs:documentation> 55 | </xs:annotation> 56 | </xs:attribute> 57 | 58 | <xs:attribute name="space" default="preserve"> 59 | <xs:simpleType> 60 | <xs:restriction base="xs:NCName"> 61 | <xs:enumeration value="default"/> 62 | <xs:enumeration value="preserve"/> 63 | </xs:restriction> 64 | </xs:simpleType> 65 | </xs:attribute> 66 | 67 | <xs:attribute name="base" type="xs:anyURI"> 68 | <xs:annotation> 69 | <xs:documentation>See http://www.w3.org/TR/xmlbase/ for 70 | information about this attribute.</xs:documentation> 71 | </xs:annotation> 72 | </xs:attribute> 73 | 74 | <xs:attributeGroup name="specialAttrs"> 75 | <xs:attribute ref="xml:base"/> 76 | <xs:attribute ref="xml:lang"/> 77 | <xs:attribute ref="xml:space"/> 78 | </xs:attributeGroup> 79 | 80 | </xs:schema> 81 | -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/links.dtd: -------------------------------------------------------------------------------- 1 | <!ELEMENT links (schema)+> 2 | <!ATTLIST links 3 | xmlns CDATA #FIXED "http://titanium.dstc.edu.au/xml/xs3p"> 4 | <!ELEMENT schema EMPTY> 5 | <!ATTLIST schema 6 | file-location CDATA #REQUIRED 7 | docfile-location CDATA #REQUIRED> -------------------------------------------------------------------------------- /documentation/xs3p-1.1.3/links.xsd: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://titanium.dstc.edu.au/xml/xs3p" targetNamespace="http://titanium.dstc.edu.au/xml/xs3p"> 3 | <xsd:element name="links"> 4 | <xsd:annotation> 5 | <xsd:documentation> 6 | <html:p>List of mappings from schema file locations (<html:code style="color:blue;">@file-location</html:code>) to their documentation file locations (<html:code style="color:blue;">@docfile-location</html:code>)</html:p> 7 | </xsd:documentation> 8 | </xsd:annotation> 9 | <xsd:complexType> 10 | <xsd:sequence> 11 | <xsd:element name="schema" minOccurs="1" maxOccurs="unbounded"> 12 | <xsd:complexType> 13 | <xsd:attribute name="file-location" type="xsd:string" use="required"/> 14 | <xsd:attribute name="docfile-location" type="xsd:string" use="required"/> 15 | </xsd:complexType> 16 | </xsd:element> 17 | </xsd:sequence> 18 | </xsd:complexType> 19 | </xsd:element> 20 | </xsd:schema> -------------------------------------------------------------------------------- /documentation/xs3p-master/.gitignore: -------------------------------------------------------------------------------- 1 | # Generated examples 2 | examples/xsltproc-results/* 3 | examples/msxsl-results/* 4 | examples/xalanj-results/* 5 | -------------------------------------------------------------------------------- /documentation/xs3p-master/CHANGES: -------------------------------------------------------------------------------- 1 | xs3p was originally developed by DSTC and was availabe 2 | through their website at http://titanium.dstc.edu.au/xml/xs3p/ 3 | 4 | Since the demise of this organization, we at FiForms Solutions 5 | have decided to host xs3p, since we have been using it in 6 | documenting the XML used in FiForms. The stylesheet has been 7 | modified to point to the new xs3p home here at FiForms, while 8 | still retaining the old (dead) link to the dstc website. The 9 | xs3p home is http://xml.fiforms.org/xs3p/ 10 | 11 | Version 1.1.4 12 | Moved the README.txt documentation online 13 | Added xs3p_links.xsl file 14 | 15 | Version 1.1.5 16 | Fixed a bug in xs3p's handling of recursive groups 17 | Thanks to Martin Beran from Trusted Network Solutions 18 | for submitting the patch. 19 | 20 | Beginning here, this is a fork available at 21 | https://github.com/bitfehler/xs3p/ 22 | 23 | Version 2.0.0 24 | - Major re-design using the Bootstrap framework 25 | - Support UTF-8 output 26 | - Support Markdown in <documentation> elements 27 | - Generate HTML5 output 28 | -------------------------------------------------------------------------------- /documentation/xs3p-master/README.md: -------------------------------------------------------------------------------- 1 | # xs3p XSD documentation generator 2 | 3 | This tool generates nice-looking HTML documentation from XML Schema 4 | Descriptions. 5 | 6 | It is a fork of version 1.1.5 of the xs3p doc tool from 7 | http://xml.fiforms.org/xs3p/ - see the [original README](README_ORIG.txt) for 8 | more information. 9 | 10 | Added features include: 11 | 12 | - Complete re-design using [Bootstrap](https://getbootstrap.com "Bootstrap homepage") 13 | - Output of UTF-8 encoded files 14 | - Output of HTML5 15 | - Support [Markdown](https://daringfireball.net/projects/markdown/ "Markdown homepage") 16 | formatting in `<documentation>` elements, powered by the 17 | [Pagedown library](https://code.google.com/archive/p/pagedown/ "Pagedown homepage") 18 | 19 | You can see a nice example result here: 20 | 21 | * https://bitfehler.net/xs3p/address_annotated.xsd.html 22 | 23 | which is the result of [one of the 24 | examples](examples/address_annotated.xsd "XSD source of the example") 25 | added specifically to demonstrate the new features of this fork. 26 | 27 | Another interesting example is the result for the XML Schema .xsd itself: 28 | 29 | * https://bitfehler.net/xs3p/XMLSchema.xsd.html 30 | 31 | That one pushes the system to its limits, but it's still useful in my opinion. 32 | 33 | ### Known issues 34 | 35 | * There is currently no way to inline the Bootstrap and jQuery sources, thus 36 | those files must be fetched when viewing the documentation. Their URLs can 37 | be set, though, so you could serve them locally if offline viewing is a 38 | requirement. 39 | * While I even added some features (e.g. linking to the `source` attribute of 40 | the `<documentation>` element, if present), some features that have 41 | previously worked may have gone missing. Quite some refactoring was involved 42 | and it is quite hard to test some of the more esoteric features of XSD. 43 | * There are some minor display issues, but as far as I can tell none of them 44 | impact the usability. 45 | -------------------------------------------------------------------------------- /documentation/xs3p-master/README_ORIG.txt: -------------------------------------------------------------------------------- 1 | xs3p - Version 1.1.5 2 | ==================== 3 | 4 | xs3p is a schema documentation generator. It is an XSLT stylesheet 5 | that will output an XHTML document from an XSD schema. Aside from 6 | using as much W3C acronyms as possible, the tool makes schemas more 7 | readable by providing a view of schema components' constraints as a 8 | sample XML instance, links that allow the user to jump to the 9 | documentation of schema components that are referenced, and a whole 10 | host of neat features. However, most important of all, it makes your 11 | schemas look 'pretty in pink'. 12 | 13 | The latest documentation for xs3p is maintained on the FiForms 14 | documentation wiki at: 15 | 16 | http://wiki.fiforms.org/index.php/Xs3p 17 | 18 | Please refer to this site for complete documentation and usage information. 19 | 20 | You can always download the latest version of xs3p from the XS3P 21 | website: 22 | 23 | http://xml.fiforms.org/xs3p/ 24 | 25 | or for SourceForge: https://sourceforge.net/projects/xs3p/ 26 | 27 | In order to use xs3p, you will need an XSLT processor, such as 28 | XALAN, Saxon, MSXML, or xsltproc. 29 | 30 | -------------------------------------------------------------------------------- /documentation/xs3p-master/examples/address.xsd: -------------------------------------------------------------------------------- 1 | <schema targetNamespace="http://www.example.com/IPO" 2 | xmlns="http://www.w3.org/2001/XMLSchema" 3 | xmlns:ipo="http://www.example.com/IPO"> 4 | 5 | <annotation> 6 | <documentation xml:lang="en"> 7 | Addresses for International Purchase order schema 8 | Copyright 2000 Example.com. All rights reserved. 9 | </documentation> 10 | </annotation> 11 | 12 | <complexType name="Address"> 13 | <sequence> 14 | <element name="name" type="string"/> 15 | <element name="street" type="string"/> 16 | <element name="city" type="string"/> 17 | </sequence> 18 | </complexType> 19 | 20 | <complexType name="USAddress"> 21 | <complexContent> 22 | <extension base="ipo:Address"> 23 | <sequence> 24 | <element name="state" type="ipo:USState"/> 25 | <element name="zip" type="positiveInteger"/> 26 | </sequence> 27 | </extension> 28 | </complexContent> 29 | </complexType> 30 | 31 | <complexType name="UKAddress"> 32 | <complexContent> 33 | <extension base="ipo:Address"> 34 | <sequence> 35 | <element name="postcode" type="ipo:UKPostcode"/> 36 | </sequence> 37 | <attribute name="exportCode" type="positiveInteger" fixed="1"/> 38 | </extension> 39 | </complexContent> 40 | </complexType> 41 | 42 | <!-- other Address derivations for more countries --> 43 | 44 | <simpleType name="USState"> 45 | <restriction base="string"> 46 | <enumeration value="AK"/> 47 | <enumeration value="AL"/> 48 | <enumeration value="AR"/> 49 | <!-- and so on ... --> 50 | </restriction> 51 | </simpleType> 52 | 53 | <!-- simple type definition for UKPostcode --> 54 | 55 | </schema> -------------------------------------------------------------------------------- /documentation/xs3p-master/examples/address_annotated.xsd: -------------------------------------------------------------------------------- 1 | <schema targetNamespace="http://www.example.com/IPO" 2 | xmlns="http://www.w3.org/2001/XMLSchema" 3 | xmlns:ipo="http://www.example.com/IPO"> 4 | 5 | <annotation> 6 | <documentation xml:lang="en"> 7 | **Addresses for International Purchase order schema 8 | Copyright 2000 Example.com. All rights reserved.** 9 | 10 | This version of the schema has enhanced documentation to 11 | demonstrate the new capabilities of the xs3p doc tool: 12 | 13 | * Display of `&lt;annotation&gt;` info with _markdown_ support 14 | * UTF-8 output 15 | 16 | The _markdown_ syntax is documented on the [Markdown homepage](https://daringfireball.net/projects/markdown/ "Markdown homepage"). 17 | </documentation> 18 | </annotation> 19 | 20 | <complexType name="Address"> 21 | <annotation> 22 | <documentation> 23 | The generic base type for all country-specific addresses. 24 | 25 | This type could be used for addresses that don't have distinct type, 26 | but then it would have poor validation. Just to demonstrate UTF-8 and 27 | a markdown `&lt;pre&gt;` block, here is an example german address: 28 | 29 | 30 | &lt;name&gt;Conrad Hoffmann&lt;/name&gt; 31 | &lt;street&gt;Beispielstraße 23&lt;/street&gt; 32 | &lt;city&gt;D-12345 Berlin&lt;/city&gt; 33 | 34 | **Note:** Whenever possible, a distinct subtype should be specified. 35 | 36 | Also, note how you can click the _i_ next to the `name` element in the 37 | _XML Instance Representation_ below to see the documentation for this 38 | element. 39 | </documentation> 40 | </annotation> 41 | <sequence> 42 | <element name="name" type="string"> 43 | <annotation> 44 | <documentation> 45 | This should be the full name of the addressee, including, if appropriate: 46 | 47 | * Academic titles 48 | * Titles of nobility 49 | * maybe more... 50 | </documentation> 51 | </annotation> 52 | </element> 53 | <element name="street" type="string"/> 54 | <element name="city" type="string"/> 55 | </sequence> 56 | </complexType> 57 | 58 | <complexType name="USAddress"> 59 | <annotation> 60 | <documentation> 61 | Address subtype for United States addresses. 62 | 63 | The state comes from a list defined [below](#type_USState "Definition of type USState"). 64 | </documentation> 65 | </annotation> 66 | <complexContent> 67 | <extension base="ipo:Address"> 68 | <sequence> 69 | <element name="state" type="ipo:USState"/> 70 | <element name="zip" type="positiveInteger"/> 71 | </sequence> 72 | </extension> 73 | </complexContent> 74 | </complexType> 75 | 76 | <!-- other Address derivations for more countries --> 77 | 78 | <simpleType name="USState"> 79 | <annotation> 80 | <documentation> 81 | The list of states of the USA. 82 | 83 | Standard markdown does not support tables, which would have been 84 | a nice way to present those. Testing integration with other 85 | markdown processors, like [snuownd](https://github.com/gamefreak/snuownd "snuownd Github page") 86 | might be worth a try in the future. 87 | </documentation> 88 | </annotation> 89 | <restriction base="string"> 90 | <enumeration value="AK"/> 91 | <enumeration value="AL"/> 92 | <enumeration value="AR"/> 93 | <!-- and so on ... --> 94 | </restriction> 95 | </simpleType> 96 | 97 | <!-- simple type definition for UKPostcode --> 98 | 99 | </schema> 100 | -------------------------------------------------------------------------------- /documentation/xs3p-master/examples/build.xml: -------------------------------------------------------------------------------- 1 | <project name="TestAnt" default="all" basedir="."> 2 | <description>Script to generate documentation for example schema files using Ant.</description> 3 | 4 | <property name="original-loc" value=".."/> 5 | <property name="xslt-file" value="xs3p.xsl"/> 6 | <property name="target-dir" value="ant-results"/> 7 | 8 | <target name="all" description="Generates documentation for all *.xsd files."> 9 | <xslt basedir="." destdir="${target-dir}" 10 | extension=".html" style="${original-loc}/${xslt-file}"> 11 | <include name="*.xsd"/> 12 | </xslt> 13 | </target> 14 | 15 | <target name="test-external-links" description="Test linking between schema files."> 16 | <!-- Copy xslt file to local dir. --> 17 | <copy file="${original-loc}/${xslt-file}" todir="${basedir}"/> 18 | <!-- address.xsd --> 19 | <xslt in="address.xsd" out="${target-dir}/address.xsd.html" style="${xslt-file}"> 20 | <param name="searchImportedSchemas" expression="true"/> 21 | <param name="searchIncludedSchemas" expression="true"/> 22 | <param name="linksFile" expression="links.xml"/> 23 | </xslt> 24 | <!-- ipo.xsd --> 25 | <xslt in="ipo.xsd" out="${target-dir}/ipo.xsd.html" style="${xslt-file}"> 26 | <param name="searchImportedSchemas" expression="true"/> 27 | <param name="searchIncludedSchemas" expression="true"/> 28 | <param name="linksFile" expression="links.xml"/> 29 | </xslt> 30 | <!-- report.xsd --> 31 | <xslt in="report.xsd" out="${target-dir}/report.xsd.html" style="${xslt-file}"> 32 | <param name="searchImportedSchemas" expression="true"/> 33 | <param name="searchIncludedSchemas" expression="true"/> 34 | <param name="linksFile" expression="links.xml"/> 35 | </xslt> 36 | <!-- Delete local copy of xslt file. --> 37 | <delete file="${basedir}/${xslt-file}"/> 38 | </target> 39 | 40 | </project> 41 | -------------------------------------------------------------------------------- /documentation/xs3p-master/examples/ipo.xsd: -------------------------------------------------------------------------------- 1 | <schema targetNamespace="http://www.example.com/IPO" 2 | xmlns="http://www.w3.org/2001/XMLSchema" 3 | xmlns:ipo="http://www.example.com/IPO"> 4 | 5 | <annotation> 6 | <documentation xml:lang="en"> 7 | International Purchase order schema for Example.com 8 | Copyright 2000 Example.com. All rights reserved. 9 | </documentation> 10 | </annotation> 11 | 12 | <!-- include address constructs --> 13 | <include 14 | schemaLocation="address.xsd"/> 15 | 16 | <element name="purchaseOrder" type="ipo:PurchaseOrderType"/> 17 | 18 | <element name="comment" type="string"/> 19 | 20 | <complexType name="PurchaseOrderType"> 21 | <sequence> 22 | <element name="shipTo" type="ipo:Address"/> 23 | <element name="billTo" type="ipo:Address"/> 24 | <element ref="ipo:comment" minOccurs="0"/> 25 | <element name="items" type="ipo:Items"/> 26 | </sequence> 27 | <attribute name="orderDate" type="date"/> 28 | </complexType> 29 | 30 | <complexType name="Items"> 31 | <sequence> 32 | <element name="item" minOccurs="0" maxOccurs="unbounded"> 33 | <complexType> 34 | <sequence> 35 | <element name="productName" type="string"/> 36 | <element name="quantity"> 37 | <simpleType> 38 | <restriction base="positiveInteger"> 39 | <maxExclusive value="100"/> 40 | </restriction> 41 | </simpleType> 42 | </element> 43 | <element name="USPrice" type="decimal"/> 44 | <element ref="ipo:comment" minOccurs="0"/> 45 | <element name="shipDate" type="date" minOccurs="0"/> 46 | </sequence> 47 | <attribute name="partNum" type="ipo:SKU" use="required"/> 48 | </complexType> 49 | </element> 50 | </sequence> 51 | </complexType> 52 | 53 | <simpleType name="SKU"> 54 | <restriction base="string"> 55 | <pattern value="\d{3}-[A-Z]{2}"/> 56 | </restriction> 57 | </simpleType> 58 | 59 | </schema> -------------------------------------------------------------------------------- /documentation/xs3p-master/examples/links.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <links xmlns="http://titanium.dstc.edu.au/xml/xs3p"> 3 | <schema file-location="address.xsd" docfile-location="address.xsd.html"/> 4 | <schema file-location="ipo.xsd" docfile-location="ipo.xsd.html"/> 5 | <schema file-location="report.xsd" docfile-location="report.xsd.html"/> 6 | </links> -------------------------------------------------------------------------------- /documentation/xs3p-master/examples/po.xsd: -------------------------------------------------------------------------------- 1 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 2 | 3 | <xsd:annotation> 4 | <xsd:documentation xml:lang="en"> 5 | Purchase order schema for Example.com. 6 | Copyright 2000 Example.com. All rights reserved. 7 | </xsd:documentation> 8 | </xsd:annotation> 9 | 10 | <xsd:element name="purchaseOrder" type="PurchaseOrderType"/> 11 | 12 | <xsd:element name="comment" type="xsd:string"/> 13 | 14 | <xsd:complexType name="PurchaseOrderType"> 15 | <xsd:sequence> 16 | <xsd:element name="shipTo" type="USAddress"/> 17 | <xsd:element name="billTo" type="USAddress"/> 18 | <xsd:element ref="comment" minOccurs="0"/> 19 | <xsd:element name="items" type="Items"/> 20 | </xsd:sequence> 21 | <xsd:attribute name="orderDate" type="xsd:date"/> 22 | </xsd:complexType> 23 | 24 | <xsd:complexType name="USAddress"> 25 | <xsd:sequence> 26 | <xsd:element name="name" type="xsd:string"/> 27 | <xsd:element name="street" type="xsd:string"/> 28 | <xsd:element name="city" type="xsd:string"/> 29 | <xsd:element name="state" type="xsd:string"/> 30 | <xsd:element name="zip" type="xsd:decimal"/> 31 | </xsd:sequence> 32 | <xsd:attribute name="country" type="xsd:NMTOKEN" 33 | fixed="US"/> 34 | </xsd:complexType> 35 | 36 | <xsd:complexType name="Items"> 37 | <xsd:sequence> 38 | <xsd:element name="item" minOccurs="0" maxOccurs="unbounded"> 39 | <xsd:complexType> 40 | <xsd:sequence> 41 | <xsd:element name="productName" type="xsd:string"/> 42 | <xsd:element name="quantity"> 43 | <xsd:simpleType> 44 | <xsd:restriction base="xsd:positiveInteger"> 45 | <xsd:maxExclusive value="100"/> 46 | </xsd:restriction> 47 | </xsd:simpleType> 48 | </xsd:element> 49 | <xsd:element name="USPrice" type="xsd:decimal"/> 50 | <xsd:element ref="comment" minOccurs="0"/> 51 | <xsd:element name="shipDate" type="xsd:date" minOccurs="0"/> 52 | </xsd:sequence> 53 | <xsd:attribute name="partNum" type="SKU" use="required"/> 54 | </xsd:complexType> 55 | </xsd:element> 56 | </xsd:sequence> 57 | </xsd:complexType> 58 | 59 | <!-- Stock Keeping Unit, a code for identifying products --> 60 | <xsd:simpleType name="SKU"> 61 | <xsd:restriction base="xsd:string"> 62 | <xsd:pattern value="\d{3}-[A-Z]{2}"/> 63 | </xsd:restriction> 64 | </xsd:simpleType> 65 | 66 | </xsd:schema> -------------------------------------------------------------------------------- /documentation/xs3p-master/examples/recursion.xsd: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://example.com" targetNamespace="http://example.com"> 3 | <xsd:element name="x"> 4 | <xsd:simpleType> 5 | <xsd:restriction base="X"> 6 | <xsd:enumeration value="abc"/> 7 | </xsd:restriction> 8 | </xsd:simpleType> 9 | </xsd:element> 10 | <xsd:simpleType name="X"> 11 | <xsd:restriction base="Z"> 12 | <xsd:enumeration value="abc"/> 13 | </xsd:restriction> 14 | </xsd:simpleType> 15 | <xsd:simpleType name="Y"> 16 | <xsd:restriction base="X"> 17 | <xsd:enumeration value="abc"/> 18 | </xsd:restriction> 19 | </xsd:simpleType> 20 | <xsd:simpleType name="Z"> 21 | <xsd:restriction base="Y"> 22 | <xsd:enumeration value="abc"/> 23 | </xsd:restriction> 24 | </xsd:simpleType> 25 | 26 | <xsd:complexType name="A"> 27 | <xsd:complexContent> 28 | <xsd:extension base="C"> 29 | <xsd:sequence> 30 | <xsd:element name="a" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/> 31 | </xsd:sequence> 32 | </xsd:extension> 33 | </xsd:complexContent> 34 | </xsd:complexType> 35 | <xsd:complexType name="B"> 36 | <xsd:complexContent> 37 | <xsd:extension base="A"> 38 | <xsd:sequence> 39 | <xsd:element name="b" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/> 40 | </xsd:sequence> 41 | </xsd:extension> 42 | </xsd:complexContent> 43 | </xsd:complexType> 44 | <xsd:complexType name="C"> 45 | <xsd:complexContent> 46 | <xsd:extension base="B"> 47 | <xsd:sequence> 48 | <xsd:element name="c" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/> 49 | </xsd:sequence> 50 | </xsd:extension> 51 | </xsd:complexContent> 52 | </xsd:complexType> 53 | 54 | <xsd:group name="A"> 55 | <xsd:sequence> 56 | <xsd:group ref="C"/> 57 | <xsd:element name="a" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/> 58 | </xsd:sequence> 59 | </xsd:group> 60 | <xsd:group name="B"> 61 | <xsd:sequence> 62 | <xsd:group ref="A"/> 63 | <xsd:element name="b" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/> 64 | </xsd:sequence> 65 | </xsd:group> 66 | <xsd:group name="C"> 67 | <xsd:sequence> 68 | <xsd:group ref="B"/> 69 | <xsd:element name="c" type="xsd:string" minOccurs="1" maxOccurs="unbounded"/> 70 | </xsd:sequence> 71 | </xsd:group> 72 | 73 | <xsd:attributeGroup name="A"> 74 | <xsd:attributeGroup ref="C"/> 75 | <xsd:attribute name="a" type="xsd:string"/> 76 | </xsd:attributeGroup> 77 | <xsd:attributeGroup name="B"> 78 | <xsd:attributeGroup ref="A"/> 79 | <xsd:attribute name="b" type="xsd:string"/> 80 | </xsd:attributeGroup> 81 | <xsd:attributeGroup name="C"> 82 | <xsd:attributeGroup ref="B"/> 83 | <xsd:attribute name="c" type="xsd:string"/> 84 | </xsd:attributeGroup> 85 | </xsd:schema> -------------------------------------------------------------------------------- /documentation/xs3p-master/examples/report.xsd: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <schema targetNamespace="http://www.example.com/Report" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:r="http://www.example.com/Report" xmlns:xipo="http://www.example.com/IPO" elementFormDefault="qualified"> 3 | <!-- for SKU --> 4 | <import namespace="http://www.example.com/IPO" schemaLocation="ipo.xsd"/> 5 | 6 | <annotation> 7 | <documentation xml:lang="en">Report schema for Example.com 8 | Copyright 2000 Example.com. All rights reserved.</documentation> 9 | </annotation> 10 | 11 | <element name="purchaseReport"> 12 | <complexType> 13 | <sequence> 14 | <element name="regions" type="r:RegionsType"> 15 | <keyref name="dummy2" refer="r:pNumKey"> 16 | <selector xpath="r:zip/r:part"/> 17 | <field xpath="@number"/> 18 | </keyref> 19 | </element> 20 | <element name="parts" type="r:PartsType"/> 21 | <element ref="xipo:comment"/> 22 | </sequence> 23 | <attribute name="period" type="duration"/> 24 | <attribute name="periodEnding" type="date"/> 25 | </complexType> 26 | 27 | <unique name="dummy1"> 28 | <selector xpath="r:regions/r:zip"/> 29 | <field xpath="@code"/> 30 | </unique> 31 | 32 | <key name="pNumKey"> 33 | <selector xpath="r:parts/r:part"/> 34 | <field xpath="@number"/> 35 | </key> 36 | </element> 37 | 38 | <complexType name="RegionsType"> 39 | <sequence> 40 | <element name="zip" maxOccurs="unbounded"> 41 | <complexType> 42 | <sequence> 43 | <element name="part" maxOccurs="unbounded"> 44 | <complexType> 45 | <complexContent> 46 | <restriction base="anyType"> 47 | <attribute name="number" type="xipo:SKU"/> 48 | <attribute name="quantity" type="positiveInteger"/> 49 | </restriction> 50 | </complexContent> 51 | </complexType> 52 | </element> 53 | </sequence> 54 | <attribute name="code" type="positiveInteger"/> 55 | </complexType> 56 | </element> 57 | </sequence> 58 | </complexType> 59 | 60 | <complexType name="PartsType"> 61 | <sequence> 62 | <element name="part" maxOccurs="unbounded"> 63 | <complexType> 64 | <simpleContent> 65 | <extension base="string"> 66 | <attribute name="number" type="xipo:SKU"/> 67 | </extension> 68 | </simpleContent> 69 | </complexType> 70 | </element> 71 | </sequence> 72 | </complexType> 73 | 74 | <complexType name="ExtendedPurchaseOrderType"> 75 | <complexContent> 76 | <extension base="xipo:PurchaseOrderType"> 77 | <sequence> 78 | <element name="shipper" type="xipo:Address"/> 79 | </sequence> 80 | <attribute name="shipToDate" type="date"/> 81 | </extension> 82 | </complexContent> 83 | </complexType> 84 | </schema> -------------------------------------------------------------------------------- /documentation/xs3p-master/examples/test_msxsl.bat: -------------------------------------------------------------------------------- 1 | set RESULTS_DIR=msxsl-results 2 | set LINKS_FILE=links.xml 3 | set XSLT_FILE=xs3p.xsl 4 | set ORIGINAL_XSLT_FILE=..\%XSLT_FILE% 5 | rem Copy XSLT file to local directory 6 | copy %ORIGINAL_XSLT_FILE% . 7 | rem Create results directory 8 | if not exist %RESULTS_DIR% mkdir %RESULTS_DIR% 9 | rem Loop through schema files 10 | for %%f in (*.xsd) do msxsl %%f %XSLT_FILE% -t -o %RESULTS_DIR%\%%f.html 11 | rem Test external links 12 | rem set XSD_FILE=address.xsd 13 | rem msxsl %XSD_FILE% %XSLT_FILE% -t -o %RESULTS_DIR%\%XSD_FILE%.html searchImportedSchemas=true searchIncludedSchemas=true linksFile=%LINKS_FILE% 14 | rem set XSD_FILE=ipo.xsd 15 | rem msxsl %XSD_FILE% %XSLT_FILE% -t -o %RESULTS_DIR%\%XSD_FILE%.html searchImportedSchemas=true searchIncludedSchemas=true linksFile=%LINKS_FILE% 16 | rem set XSD_FILE=report.xsd 17 | rem msxsl %XSD_FILE% %XSLT_FILE% -t -o %RESULTS_DIR%\%XSD_FILE%.html searchImportedSchemas=true searchIncludedSchemas=true linksFile=%LINKS_FILE% 18 | rem Delete local copy of stylesheet 19 | del %XSLT_FILE% 20 | -------------------------------------------------------------------------------- /documentation/xs3p-master/examples/test_xalanj.bat: -------------------------------------------------------------------------------- 1 | set RESULTS_DIR=xalanj-results 2 | set LINKS_FILE=links.xml 3 | set XSLT_FILE=xs3p.xsl 4 | set ORIGINAL_XSLT_FILE=..\%XSLT_FILE% 5 | rem Copy XSLT file to local directory 6 | copy %ORIGINAL_XSLT_FILE% . 7 | rem Create results directory 8 | if not exist %RESULTS_DIR% mkdir %RESULTS_DIR% 9 | rem Loop through schema files 10 | for %%f in (*.xsd) do java org.apache.xalan.xslt.Process -IN %%f -XSL %XSLT_FILE% -OUT %RESULTS_DIR%\%%f.html 11 | rem Test external links 12 | rem set XSD_FILE=address.xsd 13 | rem java org.apache.xalan.xslt.Process -IN %XSD_FILE% -XSL %XSLT_FILE% -OUT %RESULTS_DIR%\%XSD_FILE%.html -PARAM searchImportedSchemas true -PARAM searchIncludedSchemas true -PARAM linksFile %LINKS_FILE% 14 | rem set XSD_FILE=ipo.xsd 15 | rem java org.apache.xalan.xslt.Process -IN %XSD_FILE% -XSL %XSLT_FILE% -OUT %RESULTS_DIR%\%XSD_FILE%.html -PARAM searchImportedSchemas true -PARAM searchIncludedSchemas true -PARAM linksFile %LINKS_FILE% 16 | rem set XSD_FILE=report.xsd 17 | rem java org.apache.xalan.xslt.Process -IN %XSD_FILE% -XSL %XSLT_FILE% -OUT %RESULTS_DIR%\%XSD_FILE%.html -PARAM searchImportedSchemas true -PARAM searchIncludedSchemas true -PARAM linksFile %LINKS_FILE% 18 | rem Delete local copy of stylesheet 19 | del %XSLT_FILE% 20 | -------------------------------------------------------------------------------- /documentation/xs3p-master/examples/test_xsltproc.bat: -------------------------------------------------------------------------------- 1 | rem You can make xsltproc.exe available on Windows by using Chocolatey package manager. 2 | rem If you are using Chocolatey, just run "choco install strawberryperl" and after that the batch file should work. 3 | 4 | set RESULTS_DIR=msxsl-results 5 | set LINKS_FILE=links.xml 6 | 7 | set XSLT_FILE=xs3p.xsl 8 | set ORIGINAL_XSLT_FILE=..\%XSLT_FILE% 9 | rem Copy XSLT file to local directory 10 | copy %ORIGINAL_XSLT_FILE% . 11 | rem Create results directory 12 | if not exist %RESULTS_DIR% mkdir %RESULTS_DIR% 13 | rem Loop through schema files 14 | for %%f in (*.xsd) do xsltproc.exe --nonet --output %RESULTS_DIR%\%%f.html %XSLT_FILE% %%f 15 | 16 | rem Test external links 17 | rem set XSD_FILE=address.xsd 18 | rem xsltproc.exe --nonet --stringparam searchImportedSchemas true --stringparam searchIncludedSchemas true --stringparam linksFile %LINKS_FILE% --output %RESULTS_DIR%\%XSD_FILE%.html %XSLT_FILE% %XSD_FILE% 19 | 20 | rem Delete local copy of stylesheet 21 | del %XSLT_FILE% 22 | -------------------------------------------------------------------------------- /documentation/xs3p-master/examples/test_xsltproc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | RESULTS_DIR=xsltproc-results 3 | LINKS_FILE=links.xml 4 | XSLT_FILE=xs3p.xsl 5 | ORIGINAL_XSLT_FILE=../$XSLT_FILE 6 | # Copy XSLT file to local directory 7 | cp $ORIGINAL_XSLT_FILE . 8 | # Create results directory 9 | if [ ! -d $RESULTS_DIR ] ; 10 | then 11 | mkdir $RESULTS_DIR 12 | fi 13 | # Loop through schema files 14 | for f in *.xsd 15 | do 16 | echo "Generating documentation for: $f" 17 | xsltproc --nonet --output $RESULTS_DIR/$f.html $XSLT_FILE $f 18 | done 19 | # Test external links 20 | XSD_FILE=address.xsd 21 | echo "Generating linked documentation for: $XSD_FILE" 22 | xsltproc --nonet --output $RESULTS_DIR/$XSD_FILE.html $XSLT_FILE $XSD_FILE 23 | XSD_FILE=ipo.xsd 24 | echo "Generating linked documentation for: $XSD_FILE" 25 | xsltproc --param searchIncludedSchemas "'true'" --param linksFile "'links.xml'" --nonet --output $RESULTS_DIR/$XSD_FILE.html $XSLT_FILE $XSD_FILE 26 | XSD_FILE=report.xsd 27 | echo "Generating linked documentation for: $XSD_FILE" 28 | xsltproc --param searchIncludedSchemas "'true'" --param linksFile "'links.xml'" --nonet --output $RESULTS_DIR/$XSD_FILE.html $XSLT_FILE $XSD_FILE 29 | # Delete local copy of stylesheet 30 | rm $XSLT_FILE 31 | -------------------------------------------------------------------------------- /documentation/xs3p-master/examples/xml.xsd: -------------------------------------------------------------------------------- 1 | <?xml version='1.0'?> 2 | <xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en"> 3 | 4 | <xs:annotation> 5 | <xs:documentation> 6 | See http://www.w3.org/XML/1998/namespace.html and 7 | http://www.w3.org/TR/REC-xml for information about this namespace. 8 | </xs:documentation> 9 | </xs:annotation> 10 | 11 | <xs:annotation> 12 | <xs:documentation>This schema defines attributes and an attribute group 13 | suitable for use by 14 | schemas wishing to allow xml:base, xml:lang or xml:space attributes 15 | on elements they define. 16 | 17 | To enable this, such a schema must import this schema 18 | for the XML namespace, e.g. as follows: 19 | &lt;schema . . .> 20 | . . . 21 | &lt;import namespace="http://www.w3.org/XML/1998/namespace" 22 | schemaLocation="http://www.w3.org/2001/03/xml.xsd"/> 23 | 24 | Subsequently, qualified reference to any of the attributes 25 | or the group defined below will have the desired effect, e.g. 26 | 27 | &lt;type . . .> 28 | . . . 29 | &lt;attributeGroup ref="xml:specialAttrs"/> 30 | 31 | will define a type which will schema-validate an instance 32 | element with any of those attributes</xs:documentation> 33 | </xs:annotation> 34 | 35 | <xs:annotation> 36 | <xs:documentation>In keeping with the XML Schema WG's standard versioning 37 | policy, this schema document will persist at 38 | http://www.w3.org/2001/03/xml.xsd. 39 | At the date of issue it can also be found at 40 | http://www.w3.org/2001/xml.xsd. 41 | The schema document at that URI may however change in the future, 42 | in order to remain compatible with the latest version of XML Schema 43 | itself. In other words, if the XML Schema namespace changes, the version 44 | of this document at 45 | http://www.w3.org/2001/xml.xsd will change 46 | accordingly; the version at 47 | http://www.w3.org/2001/03/xml.xsd will not change. 48 | </xs:documentation> 49 | </xs:annotation> 50 | 51 | <xs:attribute name="lang" type="xs:language"> 52 | <xs:annotation> 53 | <xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter 54 | codes as the enumerated possible values . . .</xs:documentation> 55 | </xs:annotation> 56 | </xs:attribute> 57 | 58 | <xs:attribute name="space" default="preserve"> 59 | <xs:simpleType> 60 | <xs:restriction base="xs:NCName"> 61 | <xs:enumeration value="default"/> 62 | <xs:enumeration value="preserve"/> 63 | </xs:restriction> 64 | </xs:simpleType> 65 | </xs:attribute> 66 | 67 | <xs:attribute name="base" type="xs:anyURI"> 68 | <xs:annotation> 69 | <xs:documentation>See http://www.w3.org/TR/xmlbase/ for 70 | information about this attribute.</xs:documentation> 71 | </xs:annotation> 72 | </xs:attribute> 73 | 74 | <xs:attributeGroup name="specialAttrs"> 75 | <xs:attribute ref="xml:base"/> 76 | <xs:attribute ref="xml:lang"/> 77 | <xs:attribute ref="xml:space"/> 78 | </xs:attributeGroup> 79 | 80 | </xs:schema> 81 | -------------------------------------------------------------------------------- /documentation/xs3p-master/external/xs3p.css: -------------------------------------------------------------------------------- 1 | /* XS3P specific CSS */ 2 | body { 3 | background-color: #FFF; 4 | padding-top: 50px; 5 | } 6 | 7 | .nav > li.active { 8 | background-color: #FFF; 9 | } 10 | .nav > li > a:hover { 11 | background-color: #CCC; 12 | } 13 | 14 | code { 15 | color: #333; 16 | } 17 | 18 | .container-fluid { 19 | padding: 15px 15px; 20 | } 21 | 22 | .nav-sub-item > a { 23 | padding-left: 30px !important; 24 | } 25 | 26 | a.name { 27 | padding-top: 65px; 28 | } 29 | 30 | h3.xs3p-subsection-heading { 31 | margin-bottom: 30px; 32 | } 33 | 34 | section, #top { 35 | margin-top: -65px; 36 | padding-top: 65px; 37 | } 38 | 39 | pre { 40 | padding: 5px; 41 | } 42 | 43 | .xs3p-sidenav { 44 | padding-top: 10px; 45 | padding-bottom: 10px; 46 | background-color: #EEE; 47 | border-radius: 10px; 48 | } 49 | .xs3p-navbar-title { 50 | color: #FFF !important; 51 | font-weight: bold; 52 | } 53 | .xs3p-in-panel-table { 54 | margin-bottom: 0px; 55 | } 56 | .xs3p-sidebar { 57 | position: static; 58 | } 59 | .xs3p-collapse-button { 60 | font-size: 8pt; 61 | } 62 | .panel-heading .xs3p-panel-title:after { 63 | font-family: 'Glyphicons Halflings'; 64 | content: "\e114"; 65 | float: left; 66 | color: grey; 67 | margin-right: 10px; 68 | } 69 | .panel-heading .xs3p-panel-title.collapsed:after { 70 | content: "\e080"; 71 | } 72 | .panel-info > .panel-heading .xs3p-panel-title:after { 73 | color: white; 74 | } 75 | .xs3p-panel-help { 76 | color: #CCCCCC; 77 | cursor: pointer; 78 | } 79 | 80 | .panel-group { 81 | margin-bottom: 20px; 82 | } 83 | 84 | .btn-doc { 85 | padding: 0px; 86 | border: 0px none; 87 | background: none repeat scroll 0% 0% transparent; 88 | line-height: 1; 89 | font-size: 12px; 90 | } 91 | 92 | .unpre { 93 | font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; 94 | font-size: 14px; 95 | white-space: normal; 96 | word-break: normal; 97 | word-wrap: normal; 98 | } 99 | 100 | .popover { 101 | max-width: 400px; 102 | } 103 | 104 | // Syntax highlighting 105 | .codehilite .err {color: #FFF; background-color: #D2322D; font-weight: bold;} /* Error */ 106 | .codehilite .c {color: #999;} 107 | .codehilite .cs {color: #999; font-style: italic;} 108 | .codehilite .nt {color: #2F6F9F;} 109 | .codehilite .nn {color: #39B3D7;} 110 | .codehilite .na {color: #47A447;} 111 | .codehilite .s {color: #D2322D;} 112 | .codehilite a {color: inherit !important; text-decoration: underline !important;} 113 | .codehilite a:hover {opacity: 0.7 !important;} 114 | 115 | @media (min-width: 992px) { 116 | .xs3p-sidebar { 117 | position: fixed; 118 | top: 65px; 119 | width: 22%; 120 | } 121 | } 122 | -------------------------------------------------------------------------------- /documentation/xs3p-master/links.dtd: -------------------------------------------------------------------------------- 1 | <!ELEMENT links (schema)+> 2 | <!ATTLIST links 3 | xmlns CDATA #FIXED "http://titanium.dstc.edu.au/xml/xs3p"> 4 | <!ELEMENT schema EMPTY> 5 | <!ATTLIST schema 6 | file-location CDATA #REQUIRED 7 | docfile-location CDATA #REQUIRED> 8 | -------------------------------------------------------------------------------- /documentation/xs3p-master/links.xsd: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://titanium.dstc.edu.au/xml/xs3p" targetNamespace="http://titanium.dstc.edu.au/xml/xs3p"> 3 | <xsd:element name="links"> 4 | <xsd:annotation> 5 | <xsd:documentation> 6 | <html:p>List of mappings from schema file locations (<html:code style="color:blue;">@file-location</html:code>) to their documentation file locations (<html:code style="color:blue;">@docfile-location</html:code>)</html:p> 7 | </xsd:documentation> 8 | </xsd:annotation> 9 | <xsd:complexType> 10 | <xsd:sequence> 11 | <xsd:element name="schema" minOccurs="1" maxOccurs="unbounded"> 12 | <xsd:complexType> 13 | <xsd:attribute name="file-location" type="xsd:string" use="required"/> 14 | <xsd:attribute name="docfile-location" type="xsd:string" use="required"/> 15 | </xsd:complexType> 16 | </xsd:element> 17 | </xsd:sequence> 18 | </xsd:complexType> 19 | </xsd:element> 20 | </xsd:schema> 21 | -------------------------------------------------------------------------------- /documentation/xs3p-master/tests/recursive_groups.xsd: -------------------------------------------------------------------------------- 1 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 2 | <!-- XML Schema to test xs3p's handling of recursive groups 3 | Submitted by Martin Beran --> 4 | 5 | <xsd:element name="ping"> 6 | <xsd:complexType> 7 | <xsd:sequence> 8 | <xsd:group ref="g"/> 9 | </xsd:sequence> 10 | </xsd:complexType> 11 | </xsd:element> 12 | 13 | <xsd:group name="g"> 14 | <xsd:sequence> 15 | <xsd:element name="G"> 16 | <xsd:complexType> 17 | <xsd:sequence> 18 | <xsd:group ref="g"/> 19 | </xsd:sequence> 20 | </xsd:complexType> 21 | </xsd:element> 22 | </xsd:sequence> 23 | </xsd:group> 24 | 25 | </xsd:schema> 26 | -------------------------------------------------------------------------------- /documentation/xs3p-master/xs3p_links.xsl: -------------------------------------------------------------------------------- 1 | <?xml version='1.0' ?> 2 | <xsl:stylesheet 3 | version="1.0" 4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 5 | xmlns:xs="http://www.w3.org/2001/XMLSchema" 6 | exclude-result-prefixes="xs"> 7 | 8 | <xsl:output 9 | method="xml" 10 | indent="yes"/> 11 | <xsl:param name="recursive">true</xsl:param> 12 | 13 | <xsl:template match="/"> 14 | <links xmlns="http://titanium.dstc.edu.au/xml/xs3p"> 15 | <xsl:apply-templates select="//xs:include | //xs:import" /> 16 | </links> 17 | </xsl:template> 18 | 19 | <xsl:template match="xs:include | xs:import"> 20 | <schema> 21 | <xsl:attribute name="file-location"> 22 | <xsl:value-of select="@schemaLocation"/> 23 | </xsl:attribute> 24 | <xsl:attribute name="docfile-location"> 25 | <xsl:value-of select="@schemaLocation"/>.html</xsl:attribute> 26 | </schema> 27 | <xsl:if test="normalize-space(translate($recursive, 'TRUE', 'true'))='true'"> 28 | <xsl:apply-templates select="document(@schemaLocation)/xs:schema/xs:include | document(@schemaLocation)/xs:schema/xs:import" /> 29 | </xsl:if> 30 | </xsl:template> 31 | 32 | </xsl:stylesheet> 33 | -------------------------------------------------------------------------------- /layout-evaluation/documentation/changelog.txt: -------------------------------------------------------------------------------- 1 | PRImA Page Analysis and Ground-truth Elements (PAGE) Format - Layout Evaluation Schema 2 | 3 | 4 | 2013-07-15 clc c.clausner@primaresearch.org 5 | 6 | * New attribute "name" for element "Profile" 7 | 8 | * New region types (in accordance with new pagecontent schema): 9 | "advert" 10 | "chem" 11 | "music" 12 | 13 | * Discarded region type "frame" (in accordance with new pagecontent schema) 14 | 15 | * Rectangles for error areas are now stored within attribute "rects" as a list of 16 | coordinates instead of individual elements for each rectangle. List format: 17 | "left1,top1,right1,bottom1 left2,top2,right2,bottom2 ..." 18 | 19 | * Page object type (or level) now stored as string instead of int: 20 | "region" (before 1) 21 | "text-line" (before 2) 22 | "word" (before 3) 23 | "glyph" (before 4) 24 | 25 | * Region type now stored as string instead of int: 26 | "text" (before 1) 27 | "image" (before 2) 28 | "graphic" (before 4) 29 | "line-drawing" (before 8) 30 | "chart" (before 16) 31 | "separator" (before 32) 32 | "table" (before 64) 33 | "maths" (before 128) 34 | "noise" (before 512) 35 | "unknown" (before 1024) 36 | "advert" (new) 37 | "chem" (new) 38 | "music" (new) 39 | "all" 40 | 41 | * Error type now stored as string instead of int: 42 | "split" (before 1) 43 | "merge" (before 2) 44 | "miss" (before 3) 45 | "partial-miss" (before 4) 46 | "misclassification" (before 5) 47 | "false-detection" (before 6) 48 | 49 | * Reading order relations now stored as string instead of int: 50 | "before-directly" (before 1) 51 | "after-directly" (before 2) 52 | "unordered" (before 3) 53 | "unknown" (before 4) 54 | "unrelated" (before 5) 55 | "not-defined" (before 6) 56 | "before-unordered" (before 7) 57 | "after-unordered" (before 8) 58 | 59 | * Element "EvalData": 60 | - Changed child element "Results" to "PageObjectResults" 61 | - Added new child element "BorderResults" with attributes: 62 | "includedBackgroundSuccessRate" (double) 63 | "excludedForegroundSuccessRate" (double) 64 | "missingRegionAreaSuccessRate" (double) 65 | "overallSuccessRate" (double) 66 | 67 | 68 | 2019-07-15 69 | 70 | - Added ReadingOrderGroupWeights element 71 | - Added 'group' to layout object types 72 | -------------------------------------------------------------------------------- /legacy/Converter/DeleteTextEquiv.xsl: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8"?> 2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 3 | <xsl:output method="xml" indent="no"/> 4 | 5 | <xsl:strip-space elements="*"/> 6 | 7 | <!-- modified standard copy template --> 8 | <xsl:template match="@*|node()"> 9 | <xsl:copy> 10 | <xsl:apply-templates select="@*"/> 11 | <xsl:apply-templates/> 12 | </xsl:copy> 13 | </xsl:template> 14 | 15 | <!-- do nothing i.e. delete --> 16 | <xsl:template match="node()[name()='text_equiv']"></xsl:template> 17 | 18 | </xsl:stylesheet> -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGE-Converter/VB-PAGE-Converter.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 10.00 3 | # Visual Studio 2008 4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VB-PAGE-Converter", "VB-PAGE-Converter\VB-PAGE-Converter.vbproj", "{22B9FA4D-2792-429A-AD19-89365051D495}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Any CPU = Debug|Any CPU 9 | Release|Any CPU = Release|Any CPU 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {22B9FA4D-2792-429A-AD19-89365051D495}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 13 | {22B9FA4D-2792-429A-AD19-89365051D495}.Debug|Any CPU.Build.0 = Debug|Any CPU 14 | {22B9FA4D-2792-429A-AD19-89365051D495}.Release|Any CPU.ActiveCfg = Release|Any CPU 15 | {22B9FA4D-2792-429A-AD19-89365051D495}.Release|Any CPU.Build.0 = Release|Any CPU 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGE-Converter/VB-PAGE-Converter.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Converter/VB-PAGE-Converter/VB-PAGE-Converter.suo -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGE-Converter/VB-PAGE-Converter/ClassDiagram1.cd: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <ClassDiagram MajorVersion="1" MinorVersion="1"> 3 | <Class Name="VB_PAGE_Converter.Form1"> 4 | <Position X="0.5" Y="0.5" Width="1.5" /> 5 | <TypeIdentifier> 6 | <HashCode>CBAAWAKAQCYAAAAEAoiAACACEFAgICggAAQBCAAABCA=</HashCode> 7 | <FileName>Form1.vb</FileName> 8 | </TypeIdentifier> 9 | </Class> 10 | <Font Name="Segoe UI" Size="9" /> 11 | </ClassDiagram> -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGE-Converter/VB-PAGE-Converter/Icon1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Converter/VB-PAGE-Converter/VB-PAGE-Converter/Icon1.ico -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGE-Converter/VB-PAGE-Converter/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' <auto-generated> 3 | ' This code was generated by a tool. 4 | ' Runtime Version:2.0.50727.4200 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' </auto-generated> 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes, 18 | ' or if you encounter build errors in this file, go to the Project Designer 19 | ' (go to Project Properties or double-click the My Project node in 20 | ' Solution Explorer), and make changes on the Application tab. 21 | ' 22 | Partial Friend Class MyApplication 23 | 24 | <Global.System.Diagnostics.DebuggerStepThroughAttribute()> _ 25 | Public Sub New() 26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) 27 | Me.IsSingleInstance = false 28 | Me.EnableVisualStyles = true 29 | Me.SaveMySettingsOnExit = true 30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses 31 | End Sub 32 | 33 | <Global.System.Diagnostics.DebuggerStepThroughAttribute()> _ 34 | Protected Overrides Sub OnCreateMainForm() 35 | Me.MainForm = Global.VB_PAGE_Converter.Form1 36 | End Sub 37 | End Class 38 | End Namespace 39 | -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGE-Converter/VB-PAGE-Converter/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 3 | <MySubMain>true</MySubMain> 4 | <MainForm>Form1</MainForm> 5 | <SingleInstance>false</SingleInstance> 6 | <ShutdownMode>0</ShutdownMode> 7 | <EnableVisualStyles>true</EnableVisualStyles> 8 | <AuthenticationMode>0</AuthenticationMode> 9 | <ApplicationType>0</ApplicationType> 10 | <SaveMySettingsOnExit>true</SaveMySettingsOnExit> 11 | </MyApplicationData> 12 | -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGE-Converter/VB-PAGE-Converter/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | <Assembly: AssemblyTitle("VB-PAGE-Converter")> 12 | <Assembly: AssemblyDescription("")> 13 | <Assembly: AssemblyCompany("")> 14 | <Assembly: AssemblyProduct("VB-PAGE-Converter")> 15 | <Assembly: AssemblyCopyright("Copyright © 2009")> 16 | <Assembly: AssemblyTrademark("")> 17 | 18 | <Assembly: ComVisible(False)> 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | <Assembly: Guid("7d1ecf85-891c-4340-b0a2-cd2d8d5b2543")> 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' <Assembly: AssemblyVersion("1.0.*")> 33 | 34 | <Assembly: AssemblyVersion("1.0.0.0")> 35 | <Assembly: AssemblyFileVersion("1.0.0.0")> 36 | -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGE-Converter/VB-PAGE-Converter/My Project/Resources.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' <auto-generated> 3 | ' This code was generated by a tool. 4 | ' Runtime Version:2.0.50727.4200 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' </auto-generated> 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My.Resources 16 | 17 | 'This class was auto-generated by the StronglyTypedResourceBuilder 18 | 'class via a tool like ResGen or Visual Studio. 19 | 'To add or remove a member, edit your .ResX file then rerun ResGen 20 | 'with the /str option, or rebuild your VS project. 21 | '<summary> 22 | ' A strongly-typed resource class, for looking up localized strings, etc. 23 | '</summary> 24 | <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0"), _ 25 | Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ 26 | Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _ 27 | Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _ 28 | Friend Module Resources 29 | 30 | Private resourceMan As Global.System.Resources.ResourceManager 31 | 32 | Private resourceCulture As Global.System.Globalization.CultureInfo 33 | 34 | '<summary> 35 | ' Returns the cached ResourceManager instance used by this class. 36 | '</summary> 37 | <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ 38 | Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager 39 | Get 40 | If Object.ReferenceEquals(resourceMan, Nothing) Then 41 | Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("VB_PAGE_Converter.Resources", GetType(Resources).Assembly) 42 | resourceMan = temp 43 | End If 44 | Return resourceMan 45 | End Get 46 | End Property 47 | 48 | '<summary> 49 | ' Overrides the current thread's CurrentUICulture property for all 50 | ' resource lookups using this strongly typed resource class. 51 | '</summary> 52 | <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ 53 | Friend Property Culture() As Global.System.Globalization.CultureInfo 54 | Get 55 | Return resourceCulture 56 | End Get 57 | Set(ByVal value As Global.System.Globalization.CultureInfo) 58 | resourceCulture = value 59 | End Set 60 | End Property 61 | End Module 62 | End Namespace 63 | -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGE-Converter/VB-PAGE-Converter/My Project/Settings.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' <auto-generated> 3 | ' This code was generated by a tool. 4 | ' Runtime Version:2.0.50727.4200 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' </auto-generated> 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _ 18 | Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0"), _ 19 | Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ 20 | Partial Friend NotInheritable Class MySettings 21 | Inherits Global.System.Configuration.ApplicationSettingsBase 22 | 23 | Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) 24 | 25 | #Region "My.Settings Auto-Save Functionality" 26 | #If _MyType = "WindowsForms" Then 27 | Private Shared addedHandler As Boolean 28 | 29 | Private Shared addedHandlerLockObject As New Object 30 | 31 | <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ 32 | Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) 33 | If My.Application.SaveMySettingsOnExit Then 34 | My.Settings.Save() 35 | End If 36 | End Sub 37 | #End If 38 | #End Region 39 | 40 | Public Shared ReadOnly Property [Default]() As MySettings 41 | Get 42 | 43 | #If _MyType = "WindowsForms" Then 44 | If Not addedHandler Then 45 | SyncLock addedHandlerLockObject 46 | If Not addedHandler Then 47 | AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings 48 | addedHandler = True 49 | End If 50 | End SyncLock 51 | End If 52 | #End If 53 | Return defaultInstance 54 | End Get 55 | End Property 56 | End Class 57 | End Namespace 58 | 59 | Namespace My 60 | 61 | <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _ 62 | Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ 63 | Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _ 64 | Friend Module MySettingsProperty 65 | 66 | <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _ 67 | Friend ReadOnly Property Settings() As Global.VB_PAGE_Converter.My.MySettings 68 | Get 69 | Return Global.VB_PAGE_Converter.My.MySettings.Default 70 | End Get 71 | End Property 72 | End Module 73 | End Namespace 74 | -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGE-Converter/VB-PAGE-Converter/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 | <?xml version='1.0' encoding='utf-8'?> 2 | <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true"> 3 | <Profiles> 4 | <Profile Name="(Default)" /> 5 | </Profiles> 6 | <Settings /> 7 | </SettingsFile> 8 | -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGEtoAletheia-Converter/VB-PAGE-Converter.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 10.00 3 | # Visual Studio 2008 4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VB-PAGE-Converter", "VB-PAGE-Converter\VB-PAGE-Converter.vbproj", "{22B9FA4D-2792-429A-AD19-89365051D495}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Any CPU = Debug|Any CPU 9 | Release|Any CPU = Release|Any CPU 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {22B9FA4D-2792-429A-AD19-89365051D495}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 13 | {22B9FA4D-2792-429A-AD19-89365051D495}.Debug|Any CPU.Build.0 = Debug|Any CPU 14 | {22B9FA4D-2792-429A-AD19-89365051D495}.Release|Any CPU.ActiveCfg = Release|Any CPU 15 | {22B9FA4D-2792-429A-AD19-89365051D495}.Release|Any CPU.Build.0 = Release|Any CPU 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGEtoAletheia-Converter/VB-PAGE-Converter.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Converter/VB-PAGEtoAletheia-Converter/VB-PAGE-Converter.suo -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGEtoAletheia-Converter/VB-PAGE-Converter/ClassDiagram1.cd: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <ClassDiagram MajorVersion="1" MinorVersion="1"> 3 | <Class Name="VB_PAGE_Converter.Form1"> 4 | <Position X="0.5" Y="0.5" Width="1.5" /> 5 | <TypeIdentifier> 6 | <HashCode>CBAAWAKAQCYAAAAEAoiAACACEFAgICggAAQBCAAABCA=</HashCode> 7 | <FileName>Form1.vb</FileName> 8 | </TypeIdentifier> 9 | </Class> 10 | <Font Name="Segoe UI" Size="9" /> 11 | </ClassDiagram> -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGEtoAletheia-Converter/VB-PAGE-Converter/Icon1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Converter/VB-PAGEtoAletheia-Converter/VB-PAGE-Converter/Icon1.ico -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGEtoAletheia-Converter/VB-PAGE-Converter/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' <auto-generated> 3 | ' This code was generated by a tool. 4 | ' Runtime Version:2.0.50727.4200 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' </auto-generated> 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes, 18 | ' or if you encounter build errors in this file, go to the Project Designer 19 | ' (go to Project Properties or double-click the My Project node in 20 | ' Solution Explorer), and make changes on the Application tab. 21 | ' 22 | Partial Friend Class MyApplication 23 | 24 | <Global.System.Diagnostics.DebuggerStepThroughAttribute()> _ 25 | Public Sub New() 26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) 27 | Me.IsSingleInstance = false 28 | Me.EnableVisualStyles = true 29 | Me.SaveMySettingsOnExit = true 30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses 31 | End Sub 32 | 33 | <Global.System.Diagnostics.DebuggerStepThroughAttribute()> _ 34 | Protected Overrides Sub OnCreateMainForm() 35 | Me.MainForm = Global.VB_PAGE_Converter.Form1 36 | End Sub 37 | End Class 38 | End Namespace 39 | -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGEtoAletheia-Converter/VB-PAGE-Converter/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 3 | <MySubMain>true</MySubMain> 4 | <MainForm>Form1</MainForm> 5 | <SingleInstance>false</SingleInstance> 6 | <ShutdownMode>0</ShutdownMode> 7 | <EnableVisualStyles>true</EnableVisualStyles> 8 | <AuthenticationMode>0</AuthenticationMode> 9 | <ApplicationType>0</ApplicationType> 10 | <SaveMySettingsOnExit>true</SaveMySettingsOnExit> 11 | </MyApplicationData> 12 | -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGEtoAletheia-Converter/VB-PAGE-Converter/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | <Assembly: AssemblyTitle("VB-PAGE-Converter")> 12 | <Assembly: AssemblyDescription("")> 13 | <Assembly: AssemblyCompany("")> 14 | <Assembly: AssemblyProduct("VB-PAGE-Converter")> 15 | <Assembly: AssemblyCopyright("Copyright © 2009")> 16 | <Assembly: AssemblyTrademark("")> 17 | 18 | <Assembly: ComVisible(False)> 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | <Assembly: Guid("7d1ecf85-891c-4340-b0a2-cd2d8d5b2543")> 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' <Assembly: AssemblyVersion("1.0.*")> 33 | 34 | <Assembly: AssemblyVersion("1.0.0.0")> 35 | <Assembly: AssemblyFileVersion("1.0.0.0")> 36 | -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGEtoAletheia-Converter/VB-PAGE-Converter/My Project/Resources.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' <auto-generated> 3 | ' This code was generated by a tool. 4 | ' Runtime Version:2.0.50727.4200 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' </auto-generated> 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My.Resources 16 | 17 | 'This class was auto-generated by the StronglyTypedResourceBuilder 18 | 'class via a tool like ResGen or Visual Studio. 19 | 'To add or remove a member, edit your .ResX file then rerun ResGen 20 | 'with the /str option, or rebuild your VS project. 21 | '<summary> 22 | ' A strongly-typed resource class, for looking up localized strings, etc. 23 | '</summary> 24 | <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0"), _ 25 | Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ 26 | Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _ 27 | Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _ 28 | Friend Module Resources 29 | 30 | Private resourceMan As Global.System.Resources.ResourceManager 31 | 32 | Private resourceCulture As Global.System.Globalization.CultureInfo 33 | 34 | '<summary> 35 | ' Returns the cached ResourceManager instance used by this class. 36 | '</summary> 37 | <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ 38 | Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager 39 | Get 40 | If Object.ReferenceEquals(resourceMan, Nothing) Then 41 | Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("VB_PAGE_Converter.Resources", GetType(Resources).Assembly) 42 | resourceMan = temp 43 | End If 44 | Return resourceMan 45 | End Get 46 | End Property 47 | 48 | '<summary> 49 | ' Overrides the current thread's CurrentUICulture property for all 50 | ' resource lookups using this strongly typed resource class. 51 | '</summary> 52 | <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ 53 | Friend Property Culture() As Global.System.Globalization.CultureInfo 54 | Get 55 | Return resourceCulture 56 | End Get 57 | Set(ByVal value As Global.System.Globalization.CultureInfo) 58 | resourceCulture = value 59 | End Set 60 | End Property 61 | End Module 62 | End Namespace 63 | -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGEtoAletheia-Converter/VB-PAGE-Converter/My Project/Settings.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' <auto-generated> 3 | ' This code was generated by a tool. 4 | ' Runtime Version:2.0.50727.4200 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' </auto-generated> 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _ 18 | Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0"), _ 19 | Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ 20 | Partial Friend NotInheritable Class MySettings 21 | Inherits Global.System.Configuration.ApplicationSettingsBase 22 | 23 | Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) 24 | 25 | #Region "My.Settings Auto-Save Functionality" 26 | #If _MyType = "WindowsForms" Then 27 | Private Shared addedHandler As Boolean 28 | 29 | Private Shared addedHandlerLockObject As New Object 30 | 31 | <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ 32 | Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) 33 | If My.Application.SaveMySettingsOnExit Then 34 | My.Settings.Save() 35 | End If 36 | End Sub 37 | #End If 38 | #End Region 39 | 40 | Public Shared ReadOnly Property [Default]() As MySettings 41 | Get 42 | 43 | #If _MyType = "WindowsForms" Then 44 | If Not addedHandler Then 45 | SyncLock addedHandlerLockObject 46 | If Not addedHandler Then 47 | AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings 48 | addedHandler = True 49 | End If 50 | End SyncLock 51 | End If 52 | #End If 53 | Return defaultInstance 54 | End Get 55 | End Property 56 | End Class 57 | End Namespace 58 | 59 | Namespace My 60 | 61 | <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _ 62 | Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ 63 | Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _ 64 | Friend Module MySettingsProperty 65 | 66 | <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _ 67 | Friend ReadOnly Property Settings() As Global.VB_PAGE_Converter.My.MySettings 68 | Get 69 | Return Global.VB_PAGE_Converter.My.MySettings.Default 70 | End Get 71 | End Property 72 | End Module 73 | End Namespace 74 | -------------------------------------------------------------------------------- /legacy/Converter/VB-PAGEtoAletheia-Converter/VB-PAGE-Converter/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 | <?xml version='1.0' encoding='utf-8'?> 2 | <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true"> 3 | <Profiles> 4 | <Profile Name="(Default)" /> 5 | </Profiles> 6 | <Settings /> 7 | </SettingsFile> 8 | -------------------------------------------------------------------------------- /legacy/Converter/readme.txt: -------------------------------------------------------------------------------- 1 | Aletheia to PAGE converter 2 | 3 | To convert old ground truth files follow these steps: 4 | * make sure all ground truth files have been saved using the 5 | last version of Aletheia before the redesign 6 | (there must not be a <!DOCTYPE... element) 7 | * change the name of all XML files to ID.xml if necessary 8 | * execute the converter 9 | * check the link to the image within the XML file - can be done automatically 10 | using the converter (tick "Change file name of referenced image...") 11 | * check image dimensions within XML files if necessary - can be done automatically 12 | using the converter (tick "Check and correct image dimensions...") 13 | * convert all files 14 | * change all image file names to ID.tif 15 | 16 | 17 | What the converter does: 18 | 19 | Phase 1 20 | * change namespace to http://schema.primaresearch.org/gt/gts/pagecontent/2009-04-27 21 | find: xmlns="http://schema.primaresearch.org/PAGE/gts/pagecontent/2009-03-16" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schema.primaresearch.org/PAGE/gts/pagecontent/2009-03-16 http://schema.primaresearch.org/PAGE/gts/pagecontent/2009-03-16/pagecontent.xsd" 22 | replace with: xmlns="http://schema.primaresearch.org/gt/gts/pagecontent/2009-04-27" 23 | * check and correct image dimensions by reading the corresponding image file (optional) 24 | * change the referenced image file name to match the name of the XML file (optional) 25 | 26 | Phase 2 (DeleteTextEquiv.xsl): 27 | * delete all <text_equiv> (including <plain_text> and <unicode>) elements 28 | * strip white spaces 29 | 30 | Phase 3 (AletheiaToPAGE.xsl): 31 | * convert to PAGE format 32 | * set namespace back to http://schema.primaresearch.org/gt/gts/pagecontent/2009-03-16 33 | 34 | Phase 4 35 | * validate against PAGE XML Schema 36 | 37 | 38 | 39 | ------------ 40 | --- ToDo --- 41 | ------------ 42 | 43 | * set pcGtsId properly 44 | * handle text within AletheiaToPAGE stylesheet (and copy any existing text to the right position) 45 | * display reading order and layers in SVG 46 | 47 | * check and delete unused attributes -------------------------------------------------------------------------------- /legacy/PAGEtoSVG/copyright and info.txt: -------------------------------------------------------------------------------- 1 | PAGEtoSVG Viewer/Converter 2 | Copyright 2010-2014 Stefan Pletschacher, Christian Clausner, PRImA Research Group, 3 | University of Salford, UK 4 | 5 | This software in its entirety, including all stylesheets and scripts, 6 | must not be copied, distributed or used without permission from the author(s). 7 | 8 | Under no circumstances will the author(s) be liable in any way for any 9 | content or for any loss or damage of any kind incurred as a result 10 | of the use of this software. 11 | 12 | This version of the PAGEtoSVG converter/viewer has been developed for and 13 | tested with Mozilla Firefox 3.6 only. Other browsers/viewers might work 14 | but are not supported! 15 | 16 | Support for older as well as future versions of the PAGE format 17 | is achieved by individual, namespace-depended xslt stylesheets. 18 | 19 | How to use: 20 | 1. Generate a jpg for the input tif image, keeping the same file name 21 | (apart from the extension) 22 | 2. Generate svg from input PAGE file using PAGEtoSVG.xsl and an XSLT processor 23 | of your choice, optional parameters: 24 | mode=[static|interactive] default: interactive 25 | embed=[true|false] default: true 26 | level=[all|border|printspace|regions|textlines|words|glyphs] default: all 27 | fbgimg=<path/filename> to an image, can be used to force a specific 28 | background image. If not set, the one given in the PAGE file 29 | is used. 30 | fcss=<path/filename> to a css file, can be used to force a specific 31 | css file. If not set, style.css will be used. 32 | 3. Open resulting svg file in Mozilla Firefox 3.6 33 | 34 | ### -------------------------------------------------------------------------------- /legacy/PAGEtoSVG/style.css.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8"?> 2 | <style type="text/css"><![CDATA[ 3 | /* Copyright PRImA Research 2010, Stefan Pletschacher */ 4 | 5 | .svgroot { background: #F1F1F1; margin: 0; padding: 0px; font: 0.9em Verdana;} 6 | .docInfo_body { background-color: #F1F1F1; width: 1000px;} 7 | .docInfo_topBox { width: 1000px; height: 90px; margin: 0px; border: 1px solid #7382BD; } 8 | .docInfo_leftCol { float: left; width: 350px; height: 90px; padding: 3px; border-right: 1px solid #7382BD; } 9 | .docInfo_rightCol { float: left; width: 600px; height: 90px; padding: 3px; } 10 | 11 | .docInfo_leftCol_row1 { float: left; width: 350px; padding: 1px; background: #F1F1F1; } 12 | .docInfo_leftCol_row2 { float: left; width: 350px; padding: 1px; background: #DBDBDB; } 13 | .docInfo_leftCol_head { float: left; width: 150px; } 14 | .docInfo_leftCol_body { float: left; width: 200px; } 15 | 16 | .docInfo_rightCol_versionHead { float: left; width: 640px; } 17 | .docInfo_rightCol_versionBody { float: left; width: 640px; } 18 | .docInfo_rightCol_commentsHead { float: left; width: 640px; } 19 | .docInfo_rightCol_commentsBody { float: left; width: 640px; height: 40px; overflow:auto; } 20 | 21 | .regInfo_body { background-color:#F1F1F1; width: 350px; } 22 | .regInfo_topBox { width: 340px; height: 700px; margin: 0px; border: 1px solid #7382BD; } 23 | .regInfo_msg { float: left; width: 340px; padding: 10px; } 24 | .regInfo_row1 { float: left; width: 320px; padding: 3px; background: #F1F1F1; } 25 | .regInfo_row2 { float: left; width: 320px; padding: 3px; background: #DBDBDB; } 26 | .regInfo_rowHead{ float: left; width: 150px; } 27 | .regInfo_rowBody{ float: left; width: 100px; } 28 | 29 | .TextRegion { stroke: blue; stroke-width:2; fill: blue; fill-opacity:0.1; } 30 | .TextLine { stroke: limegreen; stroke-width:2; fill: limegreen; fill-opacity:0.0; } 31 | .Word { stroke: firebrick; stroke-width:2; fill: firebrick; fill-opacity:0.0; } 32 | .Glyph { stroke: seagreen; stroke-width:2; fill: seagreen; fill-opacity:0.0; } 33 | .ImageRegion { stroke: darkturquoise; stroke-width:2; fill: darkturquoise; fill-opacity:0.1; } 34 | .LineDrawingRegion{ stroke: darkgoldenrod; stroke-width:2; fill: darkgoldenrod; fill-opacity:0.1; } 35 | .GraphicRegion { stroke: green; stroke-width:2; fill: green; fill-opacity:0.1; } 36 | .TableRegion { stroke: saddlebrown; stroke-width:2; fill: saddlebrown; fill-opacity:0.1; } 37 | .ChartRegion { stroke: purple; stroke-width:2; fill: purple; fill-opacity:0.1; } 38 | .SeparatorRegion { stroke: magenta; stroke-width:2; fill: magenta; fill-opacity:0.1; } 39 | .MathsRegion { stroke: deepskyblue; stroke-width:2; fill: deepskyblue; fill-opacity:0.1; } 40 | .NoiseRegion { stroke: red; stroke-width:2; fill: red; fill-opacity:0.1; } 41 | .FrameRegion { stroke: slategrey; stroke-width:2; fill: slategrey; fill-opacity:0.1; } 42 | .UnknownRegion { stroke: grey; stroke-width:2; fill: grey; fill-opacity:0.1; } 43 | .AdvertRegion { stroke: steelblue; stroke-width:2; fill: steelblue; fill-opacity:0.1; } 44 | .MusicRegion { stroke: darkviolet; stroke-width:2; fill: darkviolet; fill-opacity:0.1; } 45 | .ChemRegion { stroke: darkorange; stroke-width:2; fill: darkorange; fill-opacity:0.1; } 46 | 47 | polygon:HOVER { stroke-width:2; fill-opacity:0.3; } 48 | 49 | .Border { stroke: tomato; stroke-width:2; fill: none; } 50 | .Border:HOVER { stroke-width:5; } 51 | 52 | .PrintSpace { stroke: darkgreen; stroke-width:2; fill: none; } 53 | .PrintSpace:HOVER { stroke-width:5; } 54 | 55 | .Black { stroke: #000000; stroke-width:2; fill: #000000; fill-opacity:1.0; } 56 | .Black:HOVER { stroke: #888888; fill: #888888; fill-opacity:1.0; } 57 | 58 | /* 59 | .Pan { stroke: coral; fill: blue; fill-opacity: 0.2; } 60 | .Pan:HOVER { stroke-width: 3; fill-opacity: 0.0; } 61 | 62 | .Zoom { stroke: coral; fill: blue; fill-opacity:0.2; } 63 | .Zoom:HOVER { stroke-width:3; fill-opacity:0.0; } 64 | */ 65 | 66 | .Pan { stroke: black; stroke-width: 2; fill: gray; fill-opacity: 0.5; } 67 | .Pan:HOVER { cursor:pointer; fill-opacity: 1.0; } 68 | 69 | .Zoom { stroke: black; stroke-width: 2; fill: gray; fill-opacity: 0.5; } 70 | .Zoom:HOVER { cursor:pointer; fill-opacity: 1.0; } 71 | ]]></style> -------------------------------------------------------------------------------- /legacy/PAGEtoSVG/testing/in/00000158.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/PAGEtoSVG/testing/in/00000158.tif -------------------------------------------------------------------------------- /legacy/PAGEtoSVG/testing/in/RegionTypes.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/PAGEtoSVG/testing/in/RegionTypes.tif -------------------------------------------------------------------------------- /legacy/PAGEtoSVG/testing/out/00000158.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/PAGEtoSVG/testing/out/00000158.jpg -------------------------------------------------------------------------------- /legacy/PAGEtoSVG/testing/out/RegionTypes.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/PAGEtoSVG/testing/out/RegionTypes.jpg -------------------------------------------------------------------------------- /legacy/PAGEtoSVG/testing/out/style.css: -------------------------------------------------------------------------------- 1 | /* Copyright PRImA Research 2010, Stefan Pletschacher */ 2 | 3 | .svgroot { background: #F1F1F1; margin: 0; padding: 0px; font: 0.9em Verdana;} 4 | .docInfo_body { background-color: #F1F1F1; width: 1000px;} 5 | .docInfo_topBox { width: 1000px; height: 90px; margin: 0px; border: 1px solid #7382BD; } 6 | .docInfo_leftCol { float: left; width: 350px; height: 90px; padding: 3px; border-right: 1px solid #7382BD; } 7 | .docInfo_rightCol { float: left; width: 600px; height: 90px; padding: 3px; } 8 | 9 | .docInfo_leftCol_row1 { float: left; width: 350px; padding: 1px; background: #F1F1F1; } 10 | .docInfo_leftCol_row2 { float: left; width: 350px; padding: 1px; background: #DBDBDB; } 11 | .docInfo_leftCol_head { float: left; width: 150px; } 12 | .docInfo_leftCol_body { float: left; width: 200px; } 13 | 14 | .docInfo_rightCol_versionHead { float: left; width: 640px; } 15 | .docInfo_rightCol_versionBody { float: left; width: 640px; } 16 | .docInfo_rightCol_commentsHead { float: left; width: 640px; } 17 | .docInfo_rightCol_commentsBody { float: left; width: 640px; height: 40px; overflow:auto; } 18 | 19 | .regInfo_body { background-color:#F1F1F1; width: 350px; } 20 | .regInfo_topBox { width: 340px; height: 700px; margin: 0px; border: 1px solid #7382BD; } 21 | .regInfo_msg { float: left; width: 340px; padding: 10px; } 22 | .regInfo_row1 { float: left; width: 320px; padding: 3px; background: #F1F1F1; } 23 | .regInfo_row2 { float: left; width: 320px; padding: 3px; background: #DBDBDB; } 24 | .regInfo_rowHead{ float: left; width: 150px; } 25 | .regInfo_rowBody{ float: left; width: 100px; } 26 | 27 | .TextRegion { stroke: blue; stroke-width:2; fill: blue; fill-opacity:0.1; } 28 | .TextLine { stroke: limegreen; stroke-width:2; fill: limegreen; fill-opacity:0.0; } 29 | .Word { stroke: firebrick; stroke-width:2; fill: firebrick; fill-opacity:0.0; } 30 | .Glyph { stroke: seagreen; stroke-width:2; fill: seagreen; fill-opacity:0.0; } 31 | .ImageRegion { stroke: darkturquoise; stroke-width:2; fill: darkturquoise; fill-opacity:0.1; } 32 | .LineDrawingRegion{ stroke: darkgoldenrod; stroke-width:2; fill: darkgoldenrod; fill-opacity:0.1; } 33 | .GraphicRegion { stroke: green; stroke-width:2; fill: green; fill-opacity:0.1; } 34 | .TableRegion { stroke: saddlebrown; stroke-width:2; fill: saddlebrown; fill-opacity:0.1; } 35 | .ChartRegion { stroke: purple; stroke-width:2; fill: purple; fill-opacity:0.1; } 36 | .SeparatorRegion { stroke: magenta; stroke-width:2; fill: magenta; fill-opacity:0.1; } 37 | .MathsRegion { stroke: deepskyblue; stroke-width:2; fill: deepskyblue; fill-opacity:0.1; } 38 | .NoiseRegion { stroke: red; stroke-width:2; fill: red; fill-opacity:0.1; } 39 | .FrameRegion { stroke: slategrey; stroke-width:2; fill: slategrey; fill-opacity:0.1; } 40 | .UnknownRegion { stroke: grey; stroke-width:2; fill: grey; fill-opacity:0.1; } 41 | .AdvertRegion { stroke: steelblue; stroke-width:2; fill: steelblue; fill-opacity:0.1; } 42 | .MusicRegion { stroke: darkviolet; stroke-width:2; fill: darkviolet; fill-opacity:0.1; } 43 | .ChemRegion { stroke: darkorange; stroke-width:2; fill: darkorange; fill-opacity:0.1; } 44 | 45 | polygon:HOVER { stroke-width:2; fill-opacity:0.3; } 46 | 47 | .Border { stroke: tomato; stroke-width:2; fill: none; } 48 | .Border:HOVER { stroke-width:5; } 49 | 50 | .PrintSpace { stroke: darkgreen; stroke-width:2; fill: none; } 51 | .PrintSpace:HOVER { stroke-width:5; } 52 | 53 | .Black { stroke: #000000; stroke-width:2; fill: #000000; fill-opacity:1.0; } 54 | .Black:HOVER { stroke: #888888; fill: #888888; fill-opacity:1.0; } 55 | 56 | /* 57 | .Pan { stroke: coral; fill: blue; fill-opacity: 0.2; } 58 | .Pan:HOVER { stroke-width: 3; fill-opacity: 0.0; } 59 | 60 | .Zoom { stroke: coral; fill: blue; fill-opacity:0.2; } 61 | .Zoom:HOVER { stroke-width:3; fill-opacity:0.0; } 62 | */ 63 | 64 | .Pan { stroke: black; stroke-width: 2; fill: gray; fill-opacity: 0.5; } 65 | .Pan:HOVER { cursor:pointer; fill-opacity: 1.0; } 66 | 67 | .Zoom { stroke: black; stroke-width: 2; fill: gray; fill-opacity: 0.5; } 68 | .Zoom:HOVER { cursor:pointer; fill-opacity: 1.0; } -------------------------------------------------------------------------------- /legacy/RelatedWork/ALTO/20120206_ALTO_proposal_v02.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/RelatedWork/ALTO/20120206_ALTO_proposal_v02.doc -------------------------------------------------------------------------------- /legacy/RelatedWork/ALTO/ALTO_changes_2_1 DRAFT.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/RelatedWork/ALTO/ALTO_changes_2_1 DRAFT.pdf -------------------------------------------------------------------------------- /legacy/RelatedWork/ALTO/Discussion on Problems in ALTO 2.0 (Europeana Newspapers).docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/RelatedWork/ALTO/Discussion on Problems in ALTO 2.0 (Europeana Newspapers).docx -------------------------------------------------------------------------------- /legacy/RelatedWork/ALTO/IMPACT_ALTOex_final.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/RelatedWork/ALTO/IMPACT_ALTOex_final.docx -------------------------------------------------------------------------------- /legacy/RelatedWork/ALTO/alto1.4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/RelatedWork/ALTO/alto1.4.png -------------------------------------------------------------------------------- /legacy/RelatedWork/ALTO/alto2.0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/RelatedWork/ALTO/alto2.0.png -------------------------------------------------------------------------------- /legacy/RelatedWork/FineReader/Empty.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 2 | <document xmlns="http://www.abbyy.com/FineReader_xml/FineReader10-schema-v1.xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.abbyy.com/FineReader_xml/FineReader10-schema-v1.xml http://www.abbyy.com/FineReader_xml/FineReader10-schema-v1.xml" version="1.0" producer="ABBYY FineReader Engine 11" languages=""> 3 | <page width="1655" height="2339" resolution="200" originalCoords="1"> 4 | </page> 5 | </document> -------------------------------------------------------------------------------- /legacy/RelatedWork/TR4-1_clustering_output/TR4.1_clustering_result_schema-corrected.xsd: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 3 | <!-- Defines an input image with given url and an associated id: --> 4 | <xsd:complexType name="inputImage_type"> 5 | <xsd:attribute name="url" type="xsd:string" use="required" /> 6 | <xsd:attribute name="id" type="xsd:integer" use="required" /> 7 | </xsd:complexType> 8 | <!-- 9 | Defines the position of a character image inside the input image with 10 | the specified id: 11 | --> 12 | <xsd:complexType name="charImage_type"> 13 | <xsd:attribute name="image_id" type="xsd:integer" use="required" /> 14 | <xsd:attribute name="HPOS" type="xsd:integer" use="required" /> 15 | <xsd:attribute name="VPOS" type="xsd:integer" use="required" /> 16 | <xsd:attribute name="WIDTH" type="xsd:integer" use="required" /> 17 | <xsd:attribute name="HEIGHT" type="xsd:integer" use="required" /> 18 | </xsd:complexType> 19 | 20 | <!-- Main - Element - occurs only once: --> 21 | <xsd:element name="impact_clustering"> 22 | <xsd:complexType> 23 | <xsd:sequence> 24 | <!-- Specify a number of input images: --> 25 | <xsd:element name="inputImage" type="inputImage_type" 26 | minOccurs="1" maxOccurs="unbounded" /> 27 | <!-- Specify a number of clusterings for the given input images: --> 28 | <xsd:element name="clustering" minOccurs="1" maxOccurs="unbounded" 29 | type="clusteringType"> 30 | </xsd:element> 31 | </xsd:sequence> 32 | </xsd:complexType> 33 | </xsd:element> 34 | <xsd:complexType name="clusteringType"> 35 | <xsd:sequence minOccurs="0" maxOccurs="unbounded"> 36 | <xsd:element name="cluster"> 37 | <xsd:complexType> 38 | <xsd:sequence> 39 | <!-- The character positions of the clustering: --> 40 | <xsd:element name="charImage" type="charImage_type" 41 | minOccurs="1" maxOccurs="unbounded" /> 42 | </xsd:sequence> 43 | </xsd:complexType> 44 | </xsd:element> 45 | </xsd:sequence> 46 | </xsd:complexType> 47 | </xsd:schema> -------------------------------------------------------------------------------- /legacy/RelatedWork/TR4-1_clustering_output/TR4.1_clustering_result_schema.xsd: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 3 | <!-- Defines an input image with given url and an associated id: --> 4 | <xsd:complexType name="inputImage_type"> 5 | <xsd:attribute name="url" type="xsd:string" use="required"/> 6 | <xsd:attribute name="id" type="xsd:integer" use="required"/> 7 | </xsd:complexType> 8 | <!-- Defines the position of a character image inside the input image with the specified id: --> 9 | <xsd:complexType name="charImage_type"> 10 | <xsd:attribute name="image_id" type="xsd:integer" use="required"/> 11 | <xsd:attribute name="HPOS" type="xsd:integer" use="required"/> 12 | <xsd:attribute name="VPOS" type="xsd:integer" use="required"/> 13 | <xsd:attribute name="WIDTH" type="xsd:integer" use="required"/> 14 | <xsd:attribute name="HEIGHT" type="xsd:integer" use="required"/> 15 | </xsd:complexType> 16 | 17 | <!--- Main - Element - occurs only once: ---> 18 | <xsd:element name="impact_clustering" minOccurs="1" maxOccurs="1"> 19 | <xsd:complexType> 20 | <xsd:sequence> 21 | <!-- Specify a number of input images: --> 22 | <xsd:element name="inputImage" type="inputImage_type" minOccurs="1" maxOccurs="unbounded"/> 23 | <!-- Specify a number of clusterings for the given input images: --> 24 | <xsd:element name="clustering" minOccurs="1" maxOccurs="unbounded"> 25 | <xsd:complexType> 26 | <xsd:element name="cluster" minOccurs="1" maxOccurs="unbounded"> 27 | <xsd:complexType> 28 | <xsd:sequence> 29 | <!-- The character positions of the clustering: --> 30 | <xsd:element name="charImage" type="charImage_type" minOccurs="1" maxOccurs="unbounded"/> 31 | </xsd:sequence> 32 | </xsd:complexType> 33 | </xsd:complexType> 34 | </xsd:element> 35 | </xsd:sequence> 36 | </xsd:complexType> 37 | </xsd:element> -------------------------------------------------------------------------------- /legacy/RelatedWork/UIBK_GroundTruth/0003.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/RelatedWork/UIBK_GroundTruth/0003.tif -------------------------------------------------------------------------------- /legacy/RelatedWork/UIBK_GroundTruth/0003.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8"?> 2 | <IGT:Impact xmlns:IGT="http://www.uibk.ac.at/ulb/dea/schemas/impactgt.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.uibk.ac.at/ulb/dea/schemas/impactgt.xsd http://www.uibk.ac.at/ulb/dea/schemas/impactgt.xsd"> 3 | <IGT:Identifier> 4 | <IGT:Type>filename</IGT:Type> 5 | <IGT:Id>dpo_35_0003</IGT:Id> 6 | </IGT:Identifier> 7 | <IGT:Layout> 8 | <IGT:Page> 9 | <IGT:TextBlock number="1" x="412" y="217" h="97" w="1072"> 10 | <IGT:Headline> 11 | <IGT:TextStyle bold="true">KORT BEGRIP</IGT:TextStyle> 12 | </IGT:Headline> 13 | </IGT:TextBlock> 14 | <IGT:TextBlock number="2" x="805" y="422" h="85" w="292"> 15 | <IGT:Headline> 16 | <IGT:TextStyle bold="true">DER</IGT:TextStyle> 17 | </IGT:Headline> 18 | </IGT:TextBlock> 19 | <IGT:TextBlock number="3" x="347" y="617" h="102" w="1220"> 20 | <IGT:Headline> 21 | <IGT:TextStyle bold="true">WAERELD-HISTORIE</IGT:TextStyle> 22 | </IGT:Headline> 23 | </IGT:TextBlock> 24 | <IGT:TextBlock number="4" x="485" y="832" h="87" w="915"> 25 | <IGT:Headline> 26 | <IGT:TextStyle bold="true">VOOR DE JEUGD,</IGT:TextStyle> 27 | </IGT:Headline> 28 | </IGT:TextBlock> 29 | <IGT:TextBlock number="5" x="805" y="1020" h="92" w="290"> 30 | <IGT:Headline> 31 | <IGT:TextStyle bold="true">DOOR</IGT:TextStyle> 32 | </IGT:Headline> 33 | </IGT:TextBlock> 34 | <IGT:TextBlock number="6" x="487" y="1205" h="107" w="927"> 35 | <IGT:Headline> 36 | <IGT:TextStyle bold="true">J. F. MARTINET,</IGT:TextStyle> 37 | </IGT:Headline> 38 | </IGT:TextBlock> 39 | <IGT:TextBlock number="7" x="555" y="1390" h="80" w="797"> 40 | <IGT:Headline> 41 | <IGT:TextStyle bold="true">PREDIKANT TE ZUTPHEN, &amp;c.</IGT:TextStyle> 42 | </IGT:Headline> 43 | </IGT:TextBlock> 44 | <IGT:TextBlock number="8" x="592" y="1570" h="72" w="675"> 45 | <IGT:Headline> 46 | <IGT:TextStyle bold="true">MET KAARTEN.</IGT:TextStyle> 47 | </IGT:Headline> 48 | </IGT:TextBlock> 49 | <IGT:TextBlock number="9" x="525" y="2122" h="72" w="850"> 50 | <IGT:Headline> 51 | <IGT:TextStyle bold="true">TE AMSTERDAM, B IJ</IGT:TextStyle> 52 | </IGT:Headline> 53 | </IGT:TextBlock> 54 | <IGT:TextBlock number="10" x="412" y="2200" h="90" w="1055"> 55 | <IGT:Headline> 56 | <IGT:TextStyle bold="true">JOHANNES ALLART.</IGT:TextStyle> 57 | </IGT:Headline> 58 | </IGT:TextBlock> 59 | <IGT:TextBlock number="11" x="682" y="2310" h="77" w="510"> 60 | <IGT:Headline> 61 | <IGT:TextStyle bold="true">MDCCLXXXIX.</IGT:TextStyle> 62 | </IGT:Headline> 63 | </IGT:TextBlock> 64 | </IGT:Page> 65 | </IGT:Layout> 66 | </IGT:Impact> -------------------------------------------------------------------------------- /legacy/RelatedWork/UIBK_GroundTruth/0005.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/RelatedWork/UIBK_GroundTruth/0005.tif -------------------------------------------------------------------------------- /legacy/RelatedWork/UIBK_GroundTruth/0005.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8"?> 2 | <IGT:Impact xmlns:IGT="http://www.uibk.ac.at/ulb/dea/schemas/impactgt.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.uibk.ac.at/ulb/dea/schemas/impactgt.xsd http://www.uibk.ac.at/ulb/dea/schemas/impactgt.xsd"> 3 | <IGT:Identifier> 4 | <IGT:Type>filename</IGT:Type> 5 | <IGT:Id>dpo_35_0005</IGT:Id> 6 | </IGT:Identifier> 7 | <IGT:Layout> 8 | <IGT:Page> 9 | <IGT:TextBlock number="1" x="757" y="230" h="77" w="350"> 10 | <IGT:Headline> 11 | <IGT:TextStyle bold="true">AAN</IGT:TextStyle> 12 | </IGT:Headline></IGT:TextBlock> 13 | <IGT:TextBlock number="2" x="230" y="415" h="445" w="1385"> 14 | <IGT:Headline> 15 | <IGT:TextStyle bold="true">ANTON REINHARD, 16 | EGBERTA ANGELIQUE,</IGT:TextStyle> 17 | </IGT:Headline></IGT:TextBlock> 18 | <IGT:TextBlock number="3" x="827" y="942" h="170" w="257"> 19 | <IGT:Headline> 20 | <IGT:TextStyle bold="true">EN</IGT:TextStyle> 21 | </IGT:Headline></IGT:TextBlock> 22 | <IGT:TextBlock number="4" x="330" y="1172" h="162" w="1260"> 23 | <IGT:Headline> 24 | <IGT:TextStyle bold="true">AMELIA KAROLINA FALCK.</IGT:TextStyle> 25 | </IGT:Headline></IGT:TextBlock> 26 | <IGT:TextBlock number="5" x="272" y="1410" h="822" w="1322"> 27 | <IGT:Paragraph> 28 | <IGT:TextStyle>Wie helpt niet gaarne Kinders, van eenen aan- 29 | valligen aart, van zoete en zagte zeden, van eene 30 | bekoorende leergierigheid, op de baan dier Weeten- 31 | schappen, welken voor hun, by het toeneemen der 32 | jaaren van geen gering belang zullen weezen? Ik 33 | kom tot U met dit kleen geschenk, het eerste, 34 | dat ik tot U dat einde kan aanbieden. Het ge-</IGT:TextStyle> 35 | </IGT:Paragraph></IGT:TextBlock> 36 | <IGT:TextBlock number="6" x="1377" y="2240" h="97" w="237"> 37 | <IGT:Paragraph> 38 | <IGT:TextStyle>lei-</IGT:TextStyle> 39 | </IGT:Paragraph> 40 | </IGT:TextBlock> 41 | </IGT:Page> 42 | </IGT:Layout> 43 | </IGT:Impact> -------------------------------------------------------------------------------- /legacy/RelatedWork/hOCR/README: -------------------------------------------------------------------------------- 1 | ====== hocr-tools ====== 2 | 3 | Tools for manipulating and evaluating the hOCR microformat for 4 | representing multi-lingual OCR results. 5 | 6 | hOCR is a format for representing OCR output, including layout 7 | information, character confidences, bounding boxes, and style 8 | information. It embeds this information invisibly in standard HTML. By 9 | building on standard HTML, it automatically inherits well-defined support 10 | for most scripts, languages, and common layout options. Furthermore, 11 | unlike previous OCR formats, the recognized text and OCR-related 12 | information co-exist in the same file and survives editing and 13 | manipulation. hOCR markup is independent of the presentation. 14 | 15 | ====== the programs ====== 16 | 17 | === hocr-check file.html === 18 | 19 | Perform consistency checks on the hOCR file. 20 | 21 | === hocr-combine file1.html file2.html... === 22 | 23 | Combine the OCR pages contained in each HTML file into a single document. 24 | The document metadata is taken from the first file. 25 | 26 | === hocr-split file.html pattern === 27 | 28 | Split a multipage hOCR file into hOCR files containing one page each. 29 | The pattern should something like "base-%03d.html" 30 | 31 | === hocr-eval-lines [-v] true-lines.txt hocr-actual.html === 32 | 33 | Evaluate hOCR output against ASCII ground truth. This evaluation method 34 | requires that the line breaks in true-lines.txt and the ocr_line elements 35 | in hocr-actual.html agree (most ASCII output from OCR systems satisfies this 36 | requirement). 37 | 38 | === hocr-eval-geom [-e element-name] [-o overlap-threshold] hocr-truth hocr-actual === 39 | 40 | Compare the segmentations at the level of the element name (default: ocr_line). 41 | Computes undersegmentation, oversegmentation, and missegmentation. 42 | 43 | === hocr-eval hocr-true.html hocr-actual.html === 44 | 45 | Evaluate the actual OCR with respect to the ground truth. This outputs 46 | the number of OCR errors due to incorrect segmentation and the number 47 | of OCR errors due to character recognition errors. 48 | 49 | It works by aligning segmentation components geometrically, and for each 50 | segmentation component that can be aligned, computing the string edit distance 51 | of the text the segmentation component contains. 52 | 53 | === hocr-merge-dc dc.xml hocr.html > hocr-new.html === 54 | 55 | Merges the Dublin Core metadata into the hOCR file by encoding the data in its header. 56 | 57 | ====== about the code ====== 58 | 59 | Each command line program is self contained; if you have the right 60 | Python packages installed, it should just work. (Unfortunately, that 61 | means some code duplication; we may revisit this issue in later 62 | revisions.) 63 | 64 | ====== pointers ====== 65 | 66 | The format itself is defined here: 67 | 68 | https://misc.iupr.org/docs/doku.php?id=pub:hocr:ocr-html-microformat 69 | 70 | The project is hosted here: 71 | 72 | http://code.google.com/p/hocr-tools/ 73 | 74 | -------------------------------------------------------------------------------- /legacy/RelatedWork/hOCR/dcsample.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | 3 | <metadata 4 | xmlns="http://example.org/myapp/" 5 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 6 | xsi:schemaLocation="http://example.org/myapp/ http://example.org/myapp/schema.xsd" 7 | xmlns:dc="http://purl.org/dc/elements/1.1/"> 8 | 9 | <dc:title> 10 | UKOLN 11 | </dc:title> 12 | <dc:description> 13 | UKOLN is a national focus of expertise in digital information 14 | management. It provides policy, research and awareness services 15 | to the UK library, information and cultural heritage communities. 16 | UKOLN is based at the University of Bath. 17 | </dc:description> 18 | <dc:publisher> 19 | UKOLN, University of Bath 20 | </dc:publisher> 21 | <dc:identifier> 22 | http://www.ukoln.ac.uk/ 23 | </dc:identifier> 24 | 25 | </metadata> 26 | -------------------------------------------------------------------------------- /legacy/RelatedWork/hOCR/dcsample2.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | 3 | <metadata 4 | xmlns="http://example.org/myapp/" 5 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 6 | xsi:schemaLocation="http://example.org/myapp/ http://example.org/myapp/schema.xsd" 7 | xmlns:dc="http://purl.org/dc/elements/1.1/" 8 | xmlns:dcterms="http://purl.org/dc/terms/"> 9 | 10 | <dc:title> 11 | UKOLN 12 | </dc:title> 13 | <dcterms:alternative> 14 | UK Office for Library and Information Networking 15 | </dcterms:alternative> 16 | <dc:subject> 17 | national centre, network information support, library 18 | community, awareness, research, information services,public 19 | library networking, bibliographic management, distributed 20 | library systems, metadata, resource discovery, 21 | conferences,lectures, workshops 22 | </dc:subject> 23 | <dc:subject xsi:type="dcterms:DDC"> 24 | 062 25 | </dc:subject> 26 | <dc:subject xsi:type="dcterms:UDC"> 27 | 061(410) 28 | </dc:subject> 29 | <dc:description> 30 | UKOLN is a national focus of expertise in digital information 31 | management. It provides policy, research and awareness services 32 | to the UK library, information and cultural heritage communities. 33 | UKOLN is based at the University of Bath. 34 | </dc:description> 35 | <dc:description xml:lang="fr"> 36 | UKOLN est un centre national d'expertise dans la gestion de l'information 37 | digitale. 38 | </dc:description> 39 | <dc:publisher> 40 | UKOLN, University of Bath 41 | </dc:publisher> 42 | <dcterms:isPartOf xsi:type="dcterms:URI"> 43 | http://www.bath.ac.uk/ 44 | </dcterms:isPartOf> 45 | <dc:identifier xsi:type="dcterms:URI"> 46 | http://www.ukoln.ac.uk/ 47 | </dc:identifier> 48 | <dcterms:modified xsi:type="dcterms:W3CDTF"> 49 | 2001-07-18 50 | </dcterms:modified> 51 | <dc:format xsi:type="dcterms:IMT"> 52 | text/html 53 | </dc:format> 54 | <dcterms:extent> 55 | 14 Kbytes 56 | </dcterms:extent> 57 | 58 | </metadata> 59 | -------------------------------------------------------------------------------- /legacy/RelatedWork/hOCR/hocr-combine: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | import sys,os,string,re 4 | import xml 5 | from xml.dom.ext.reader import HtmlLib 6 | from xml.xpath import Evaluate as xquery 7 | 8 | ################################################################ 9 | ### library code 10 | ################################################################ 11 | 12 | def get_text(node): 13 | textnodes = xquery(".//text()",node) 14 | s = string.join([node.nodeValue for node in textnodes]) 15 | return re.sub(r'\s+',' ',s) 16 | 17 | ################################################################ 18 | ### main program 19 | ################################################################ 20 | 21 | if len(sys.argv)<2: 22 | sys.stderr.write("combine multiple hOCR documents into one\n\n") 23 | sys.stderr.write("usage: %s file1.html file2.html...\n"%sys.argv[0]) 24 | sys.exit(1) 25 | 26 | stream = open(sys.argv[1]) 27 | doc = HtmlLib.Reader().fromString(open(sys.argv[1]).read()) 28 | 29 | pages = xquery("//*[@class='ocr_page']",doc) 30 | container = pages[-1].parentNode 31 | 32 | for fname in sys.argv[2:]: 33 | doc2 = HtmlLib.Reader().fromString(open(fname).read()) 34 | pages = xquery("//*[@class='ocr_page']",doc2) 35 | for page in pages: 36 | page = doc.importNode(page,1) 37 | container.appendChild(page) 38 | 39 | xml.dom.ext.PrettyPrint(doc,sys.stdout) 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /legacy/RelatedWork/hOCR/hocr-eval-geom: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | # compute statistics about the quality of the geometric segmentation 4 | # at the level of the given OCR element 5 | 6 | import sys,os,string,re,getopt 7 | import xml 8 | from xml.dom.ext.reader import HtmlLib 9 | from xml.xpath import Evaluate as xquery 10 | 11 | ### general utilities 12 | 13 | def assoc(key,list): 14 | for k,v in list: 15 | if k==key: return v 16 | return None 17 | 18 | ### XML processing 19 | 20 | def get_text(node): 21 | textnodes = xquery(".//text()",node) 22 | s = string.join([node.nodeValue for node in textnodes]) 23 | return re.sub(r'\s+',' ',s) 24 | def get_prop(node,name): 25 | title = node.getAttributeNS(None,'title') 26 | props = title.split(';') 27 | for prop in props: 28 | (key,args) = prop.split(None,1) 29 | if key==name: return args 30 | return None 31 | def get_bbox(node): 32 | bbox = get_prop(node,'bbox') 33 | if not bbox: return None 34 | return tuple([int(x) for x in bbox.split()]) 35 | 36 | ### rectangle properties 37 | 38 | def intersect(u,v): 39 | # intersection of two rectangles 40 | r = (max(u[0],v[0]),max(u[1],v[1]),min(u[2],v[2]),min(u[3],v[3])) 41 | return r 42 | def area(u): 43 | # area of a rectangle 44 | return max(0,u[2]-u[0])*max(0,u[3]-u[1]) 45 | def overlaps(u,v): 46 | # predicate: do the two rectangles overlap? 47 | return area(intersect(u,v))>0 48 | def relative_overlap(u,v): 49 | m = max(area(u),area(v)) 50 | i = area(intersect(u,v)) 51 | return float(i)/m 52 | 53 | ################################################################ 54 | ### main program 55 | ################################################################ 56 | 57 | ### argument parsing 58 | 59 | if len(sys.argv)<3: 60 | print "usage: %s [-e element-name] [-o overlap-threshold] hocr-truth hocr-actualf"%sys.argv[0] 61 | sys.exit(0) 62 | optlist,args = getopt.getopt(sys.argv[1:],"e:o:") 63 | 64 | element = assoc('-e',optlist) or 'ocr_line' 65 | significant_overlap = assoc('-o',optlist) or 0.1 66 | significant_overlap = float(significant_overlap) 67 | close_match = assoc('-c',optlist) or 0.9 68 | close_match = float(close_match) 69 | 70 | ### read the hOCR files 71 | 72 | truth_doc = HtmlLib.Reader().fromString(open(args[0]).read()) 73 | actual_doc = HtmlLib.Reader().fromString(open(args[1]).read()) 74 | truth_pages = xquery("//*[@class='ocr_page']",truth_doc) 75 | actual_pages = xquery("//*[@class='ocr_page']",actual_doc) 76 | assert len(truth_pages) == len(actual_pages) 77 | pages = zip(truth_pages,actual_pages) 78 | 79 | ### compute statistics 80 | 81 | def boxstats(truths,actuals): 82 | multiple = 0 83 | missing = 0 84 | error = 0 85 | count = 0 86 | for t in truths: 87 | overlapping = [a for a in actuals if overlaps(a,t)] 88 | oas = [relative_overlap(t,a) for a in overlapping] 89 | if len([o for o in oas if o > significant_overlap])>1: 90 | multiple += 1 91 | matching = [o for o in oas if o > close_match] 92 | if len(matching)<1: 93 | missing += 1 94 | elif len(matching)>1: 95 | raise "multiple close matches: your segmentation files are bad" 96 | else: 97 | error += 1.0-matching[0] 98 | count += 1 99 | return multiple,missing,error,count 100 | 101 | def check_bad_partition(boxes): 102 | for i in range(len(boxes)): 103 | for j in range(i+1,len(boxes)): 104 | if relative_overlap(boxes[i],boxes[j])>significant_overlap: 105 | return 1 106 | return 0 107 | 108 | for truth,actual in pages: 109 | tobjs = xquery("//*[@class='%s']"%element,truth) 110 | aobjs = xquery("//*[@class='%s']"%element,actual) 111 | tboxes = [get_bbox(n) for n in tobjs] 112 | if check_bad_partition(tboxes): 113 | raise "ground truth data is not an acceptable segmentation" 114 | aboxes = [get_bbox(n) for n in aobjs] 115 | if check_bad_partition(aboxes): 116 | raise "actual data is not an acceptable segmentation" 117 | print boxstats(tboxes,aboxes),boxstats(aboxes,tboxes) 118 | -------------------------------------------------------------------------------- /legacy/RelatedWork/hOCR/hocr-eval-lines: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | # compute statistics about the quality of the geometric segmentation 4 | # at the level of the given OCR element 5 | 6 | import sys,os,string,re,getopt 7 | import xml 8 | from xml.dom.ext.reader import HtmlLib 9 | from xml.xpath import Evaluate as xquery 10 | from pylab import array,zeros,reshape 11 | 12 | ################################################################ 13 | ### misc library code 14 | ################################################################ 15 | 16 | def assoc(key,list): 17 | for k,v in list: 18 | if k==key: return v 19 | return None 20 | 21 | def get_text(node): 22 | textnodes = xquery(".//text()",node) 23 | s = string.join([node.nodeValue for node in textnodes]) 24 | return re.sub(r'\s+',' ',s) 25 | 26 | simp_re = re.compile(r'[^a-zA-Z0-9.,!?:;]+') 27 | 28 | def normalize(s): 29 | s = simp_re.sub(' ',s) 30 | s = s.strip() 31 | return s 32 | 33 | def edit_distance(a,b,threshold=999999): 34 | if a==b: return 0 35 | m = len(a) 36 | n = len(b) 37 | distances = zeros((m+1,n+1)) 38 | distances[:,:] = threshold 39 | distances[:,0] = array(range(m+1)) 40 | distances[0,:] = array(range(n+1)) 41 | for i in range(1,m+1): 42 | for j in range(1,n+1): 43 | if a[i-1] == b[j-1]: 44 | cij = 0 45 | else: 46 | cij = 1 47 | d = min( 48 | distances[i-1,j] + 1, 49 | distances[i,j-1] + 1, 50 | distances[i-1,j-1] + cij 51 | ) 52 | if d>=threshold: return d 53 | distances[i,j] = d 54 | return distances[m,n] 55 | 56 | ################################################################ 57 | ### main program 58 | ################################################################ 59 | 60 | if len(sys.argv)<3: 61 | print "usage: %s [-v] true-lines.txt hocr-actual.html"%sys.argv[0] 62 | sys.exit(0) 63 | optlist,args = getopt.getopt(sys.argv[1:],"v") 64 | 65 | verbose = (assoc('-v',optlist)=='') 66 | truth_lines = open(args[0]).read().split('\n') 67 | actual_doc = HtmlLib.Reader().fromString(open(args[1]).read()) 68 | actual_lines = [get_text(node) for node in xquery("//*[@class='ocr_line']",actual_doc)] 69 | 70 | truth_lines = [normalize(s) for s in truth_lines] 71 | truth_lines = [s for s in truth_lines if s!=""] 72 | actual_lines = [normalize(s) for s in actual_lines] 73 | actual_lines = [s for s in truth_lines if s!=""] 74 | 75 | remaining = []+truth_lines 76 | ocr_errors = 0 77 | for actual_line in actual_lines: 78 | min_d = 999999 79 | min_i = -1 80 | for index in range(len(remaining)): 81 | true_line = remaining[index] 82 | d = edit_distance(true_line,actual_line,min_d) 83 | if d<min_d: 84 | min_d = d 85 | min_i = index 86 | if verbose and min_d>0: 87 | print "distance",min_d 88 | print "\t"+actual_line 89 | print "\t"+remaining[min_i] 90 | assert min_i>=0 91 | del remaining[min_i] 92 | ocr_errors += min_d 93 | 94 | segmentation_errors = 0 95 | for s in remaining: segmentation_errors += len(s) 96 | 97 | print "segmentation_errors",segmentation_errors 98 | print "ocr_errors",ocr_errors 99 | -------------------------------------------------------------------------------- /legacy/RelatedWork/hOCR/hocr-extract-images: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | # extract the text within all the ocr_line elements within the hOCR file 4 | 5 | import sys,os,string,re,getopt 6 | import xml 7 | from PIL import Image 8 | from xml.dom.ext.reader import HtmlLib 9 | from xml.xpath import Evaluate as xquery 10 | 11 | def assoc(key,list): 12 | for k,v in list: 13 | if k==key: return v 14 | return None 15 | 16 | def get_text(node): 17 | textnodes = xquery(".//text()",node) 18 | s = string.join([node.nodeValue for node in textnodes]) 19 | return re.sub(r'\s+',' ',s) 20 | 21 | def get_prop(node,name): 22 | title = node.getAttributeNS(None,'title') 23 | props = title.split(';') 24 | for prop in props: 25 | (key,args) = prop.split(None,1) 26 | if key==name: return args 27 | return None 28 | 29 | if len(sys.argv)<2 and sys.stdin.isatty(): 30 | print "usage: %s [-b image-dir] [-p file-pattern] [-e element-name] [hocr-file]"%sys.argv[0] 31 | sys.exit(0) 32 | optlist,args = getopt.getopt(sys.argv[1:],"b:p:e:") 33 | print args 34 | 35 | basename = assoc('-b',optlist) 36 | pattern = assoc('-p',optlist) or 'line-%03d.png' 37 | element = assoc('-e',optlist) or 'ocr_line' 38 | 39 | if len(args)>1: raise "too many args" 40 | if len(args)==1: stream = open(args[0]) 41 | else: stream = sys.stdin 42 | 43 | doc = HtmlLib.Reader().fromString(stream.read()) 44 | pages = xquery("//*[@class='ocr_page']",doc) 45 | for page in pages: 46 | iname = get_prop(page,'file') 47 | if basename: 48 | iname = os.path.join(basename,os.path.basename(iname)) 49 | if not os.path.exists(iname): 50 | print "not found:",iname 51 | sys.exit(1) 52 | image = Image.open(iname) 53 | print image 54 | lines = xquery("//*[@class='%s']"%element,page) 55 | lcount = 1 56 | for line in lines: 57 | bbox = [int(x) for x in get_prop(line,'bbox').split()] 58 | assert bbox[0]<bbox[2] 59 | assert bbox[1]<bbox[3] 60 | lineimage = image.crop(bbox) 61 | lineimage.save(pattern%lcount) 62 | lcount += 1 63 | -------------------------------------------------------------------------------- /legacy/RelatedWork/hOCR/hocr-lines: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | # extract the text within all the ocr_line elements within the hOCR file 4 | 5 | import sys,os,string,re 6 | from xml.dom.ext.reader import HtmlLib 7 | from xml.xpath import Evaluate as xquery 8 | 9 | def get_text(node): 10 | textnodes = xquery(".//text()",node) 11 | s = string.join([node.nodeValue for node in textnodes]) 12 | return re.sub(r'\s+',' ',s) 13 | 14 | if len(sys.argv)>1: stream = open(sys.argv[1]) 15 | else: stream = sys.stdin 16 | doc = HtmlLib.Reader().fromString(stream.read()) 17 | lines = xquery("//*[@class='ocr_line']",doc.documentElement) 18 | 19 | for line in lines: 20 | print get_text(line) 21 | -------------------------------------------------------------------------------- /legacy/RelatedWork/hOCR/hocr-merge-dc: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | import sys,os,string,re 4 | import xml 5 | from xml.dom.ext.reader import Sax2 6 | from xml.dom.ext.reader import HtmlLib 7 | from xml.xpath import Compile,Evaluate 8 | 9 | dcknown = [ 10 | "dc:title","dc:creator","dc:subject", 11 | "dc:description","dc:publisher", 12 | "dc:contributor","dc:date","dc:type","dc:format", 13 | "dc:identifier","dc:source","dc:language","dc:relation", 14 | "dc:coverage","dc:rights" 15 | ] 16 | 17 | def get_text(node): 18 | textnodes = Evaluate(".//text()",node) 19 | s = string.join([node.nodeValue for node in textnodes]) 20 | return re.sub(r'\s+',' ',s) 21 | 22 | if len(sys.argv)<2: 23 | sys.stderr.write("merge Dublin Core metadata into hOCR header files\n\n") 24 | sys.stderr.write("usage: %s dc.xml hocr.html\n"%sys.argv[0]) 25 | sys.exit(1) 26 | 27 | s = open(sys.argv[1]).read() 28 | dc_doc = Sax2.Reader().fromString(s) 29 | dc_context = xml.xpath.Context.Context(dc_doc) 30 | dc_context.setNamespaces({"dc":"http://purl.org/dc/elements/1.1/"}) 31 | 32 | s = open(sys.argv[2]).read() 33 | hocr_doc = HtmlLib.Reader().fromString(s) 34 | 35 | ### remove all existing META tags representing Dublin Core metadata 36 | 37 | hocr_meta = Evaluate("//HEAD",hocr_doc) 38 | assert hocr_meta!=[] 39 | hocr_meta = hocr_meta[0] 40 | 41 | hocr_nodes = Evaluate("//HEAD//META[starts-with(@name,'DC.')]",hocr_doc) 42 | for node in hocr_nodes: 43 | node.parentNode.removeChild(node) 44 | 45 | ### find all the Dublin Core tags in the Dublin Core metadata 46 | 47 | dc_nodes = Evaluate("//dc:*",dc_doc,dc_context) 48 | for node in dc_nodes: 49 | if node.nodeName in dcknown: 50 | name = re.sub(r'^dc:','DC.',node.nodeName) 51 | value = get_text(node) 52 | value = re.sub("[\t\r\n'\"]"," ",value).strip() 53 | value = value[:500] 54 | # hnode = hocr_doc.importNode(node,1) 55 | hnode = hocr_doc.createElement("META") 56 | hnode.setAttribute("name",name) 57 | hnode.setAttribute("value",value) 58 | hocr_meta.appendChild(hnode) 59 | 60 | xml.dom.ext.PrettyPrint(hocr_doc,sys.stdout) 61 | -------------------------------------------------------------------------------- /legacy/RelatedWork/hOCR/hocr-split: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | 3 | # split an hOCR file into individual pages 4 | 5 | import sys,os,string,re 6 | import xml 7 | from xml.dom.ext.reader import HtmlLib 8 | from xml.xpath import Evaluate as xquery 9 | 10 | ################################################################ 11 | ### library 12 | ################################################################ 13 | 14 | def get_text(node): 15 | textnodes = xquery(".//text()",node) 16 | s = string.join([node.nodeValue for node in textnodes]) 17 | return re.sub(r'\s+',' ',s) 18 | 19 | ################################################################ 20 | ### main program 21 | ################################################################ 22 | 23 | if len(sys.argv)!=3: 24 | sys.stderr.write("split a multipage hOCR file into single pages\n\n") 25 | sys.stderr.write("usage: %s file.html pattern\n" % sys.argv[0]) 26 | sys.stderr.write(" where 'pattern' is something like 'base-%%03d.html'\n") 27 | sys.exit(1) 28 | 29 | pattern = sys.argv[2] 30 | assert re.search('%[0-9]*d',pattern) 31 | 32 | stream = open(sys.argv[1]) 33 | doc = HtmlLib.Reader().fromString(stream.read()) 34 | 35 | template = doc.cloneNode(1) 36 | pages = xquery("//*[@class='ocr_page']",template) 37 | assert pages!=[] 38 | container = pages[0].parentNode 39 | 40 | def write_template_with_page(new_page,index): 41 | pages = xquery("//*[@class='ocr_page']",template) 42 | for page in pages: container.removeChild(page) 43 | container.appendChild(new_page) 44 | stream = open(pattern % index,"w") 45 | xml.dom.ext.PrettyPrint(doc,stream) 46 | stream.close() 47 | 48 | pages = xquery("//*[@class='ocr_page']",template) 49 | index = 1 50 | for page in pages: 51 | write_template_with_page(page,index) 52 | index += 1 53 | -------------------------------------------------------------------------------- /legacy/RelatedWork/hOCR/sample.txt: -------------------------------------------------------------------------------- 1 | 1 Down the Rabbit-Hole 2 | Alice was beginning to get very tired of sitting by her sister on the bank, 3 | and of having nothing to do: once or twice she had peeped into the book her 4 | sister was reading, but it had no pictures or conversations in it, `and what is 5 | the use of a book,' thought Alice `without pictures or conversation?' 6 | So she was considering in her own mind (as well as she could, for the hot 7 | day made her feel very sleepy and stupid), whether the pleasure of making a 8 | daisy-chain would be worth the trouble of getting up and picking the daisies, 9 | when suddenly a White Rabbit with pink eyes ran close by her. 10 | There was nothing so VERY remarkable in that; nor did Alice think it so 11 | VERY much out of the way to hear the Rabbit say to itself, `Oh dear! Oh 12 | dear! I shall be late!' (when she thought it over afterwards, it occurred to 13 | her that she ought to have wondered at this, but at the time it all seemed 14 | quite natural); but when the Rabbit actually TOOK A WATCH OUT OF 15 | ITS WAISTCOAT- POCKET, and looked at it, and then hurried on, Alice 16 | started to her feet, for it flashed across her mind that she had never before 17 | seen a rabbit with either a waistcoat-pocket, or a watch to take out of it, and 18 | burning with curiosity, she ran across the field after it, and fortunately was 19 | just in time to see it pop down a large rabbit-hole under the hedge. 20 | In another moment down went Alice after it, never once considering how 21 | in the world she was to get out again. 22 | The rabbit-hole went straight on like a tunnel for some way, and then 23 | dipped suddenly down, so suddenly that Alice had not a moment to think 24 | about stopping herself before she found herself falling down a very deep well. 25 | Either the well was very deep, or she fell very slowly, for she had plenty 26 | of time as she went down to look about her and to wonder what was going 27 | to happen next. First, she tried to look down and make out what she was 28 | coming to, but it was too dark to see anything; then she looked at the sides 29 | of the well, and noticed that they were filled with cupboards and book- 30 | shelves; here and there she saw maps and pictures hung upon pegs. She took 31 | down a jar from one of the shelves as she passed; it was labelled `ORANGE 32 | MARMALADE', but to her great disappointment it was empty: she did not 33 | like to drop the jar for fear of killing somebody, so managed to put it into 34 | one of the cupboards as she fell past it. 35 | `Well!' thought Alice to herself, `after such a fall as this, I shall think 36 | nothing of tumbling down stairs! How brave they'll all think me at home! 37 | Why, I wouldn't say anything about it, even if I fell off the top of the house!' 38 | -------------------------------------------------------------------------------- /legacy/RelatedWork/simpledc20021212.xsd: -------------------------------------------------------------------------------- 1 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 2 | xmlns="http://purl.org/dc/elements/1.1/" 3 | targetNamespace="http://purl.org/dc/elements/1.1/" 4 | elementFormDefault="qualified" 5 | attributeFormDefault="unqualified"> 6 | 7 | <xs:annotation> 8 | <xs:documentation xml:lang="en"> 9 | Simple DC XML Schema, 2002-10-09 10 | by Pete Johnston (p.johnston@ukoln.ac.uk), 11 | Carl Lagoze (lagoze@cs.cornell.edu), Andy Powell (a.powell@ukoln.ac.uk), 12 | Herbert Van de Sompel (hvdsomp@yahoo.com). 13 | This schema defines terms for Simple Dublin Core, i.e. the 15 14 | elements from the http://purl.org/dc/elements/1.1/ namespace, with 15 | no use of encoding schemes or element refinements. 16 | Default content type for all elements is xs:string with xml:lang 17 | attribute available. 18 | 19 | Supercedes version of 2002-03-12. 20 | Amended to remove namespace declaration for http://www.w3.org/XML/1998/namespace namespace, 21 | and to reference lang attribute via built-in xml: namespace prefix. 22 | xs:appinfo also removed. 23 | </xs:documentation> 24 | </xs:annotation> 25 | 26 | <xs:import namespace="http://www.w3.org/XML/1998/namespace" 27 | schemaLocation="http://www.w3.org/2001/03/xml.xsd"> 28 | </xs:import> 29 | 30 | <xs:element name="title" type="elementType"/> 31 | <xs:element name="creator" type="elementType"/> 32 | <xs:element name="subject" type="elementType"/> 33 | <xs:element name="description" type="elementType"/> 34 | <xs:element name="publisher" type="elementType"/> 35 | <xs:element name="contributor" type="elementType"/> 36 | <xs:element name="date" type="elementType"/> 37 | <xs:element name="type" type="elementType"/> 38 | <xs:element name="format" type="elementType"/> 39 | <xs:element name="identifier" type="elementType"/> 40 | <xs:element name="source" type="elementType"/> 41 | <xs:element name="language" type="elementType"/> 42 | <xs:element name="relation" type="elementType"/> 43 | <xs:element name="coverage" type="elementType"/> 44 | <xs:element name="rights" type="elementType"/> 45 | 46 | <xs:group name="elementsGroup"> 47 | <xs:sequence> 48 | <xs:choice minOccurs="0" maxOccurs="unbounded"> 49 | <xs:element ref="title"/> 50 | <xs:element ref="creator"/> 51 | <xs:element ref="subject"/> 52 | <xs:element ref="description"/> 53 | <xs:element ref="publisher"/> 54 | <xs:element ref="contributor"/> 55 | <xs:element ref="date"/> 56 | <xs:element ref="type"/> 57 | <xs:element ref="format"/> 58 | <xs:element ref="identifier"/> 59 | <xs:element ref="source"/> 60 | <xs:element ref="language"/> 61 | <xs:element ref="relation"/> 62 | <xs:element ref="coverage"/> 63 | <xs:element ref="rights"/> 64 | </xs:choice> 65 | </xs:sequence> 66 | </xs:group> 67 | 68 | <xs:complexType name="elementType"> 69 | <xs:simpleContent> 70 | <xs:extension base="xs:string"> 71 | <xs:attribute ref="xml:lang" use="optional"/> 72 | </xs:extension> 73 | </xs:simpleContent> 74 | </xs:complexType> 75 | 76 | </xs:schema> 77 | 78 | 79 | -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 10.00 3 | # Visual Studio 2008 4 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VB-PAGE-Converter", "VB-PAGE-Converter\VB-PAGE-Converter.vbproj", "{22B9FA4D-2792-429A-AD19-89365051D495}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Any CPU = Debug|Any CPU 9 | Release|Any CPU = Release|Any CPU 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {22B9FA4D-2792-429A-AD19-89365051D495}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 13 | {22B9FA4D-2792-429A-AD19-89365051D495}.Debug|Any CPU.Build.0 = Debug|Any CPU 14 | {22B9FA4D-2792-429A-AD19-89365051D495}.Release|Any CPU.ActiveCfg = Release|Any CPU 15 | {22B9FA4D-2792-429A-AD19-89365051D495}.Release|Any CPU.Build.0 = Release|Any CPU 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter.suo -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/ClassDiagram1.cd: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <ClassDiagram MajorVersion="1" MinorVersion="1"> 3 | <Class Name="VB_PAGE_Converter.Form1"> 4 | <Position X="0.5" Y="0.5" Width="1.5" /> 5 | <TypeIdentifier> 6 | <HashCode>CBAAWAKAQCYAAAAEAoiAACACEFAgICggAAQBCAAABCA=</HashCode> 7 | <FileName>Form1.vb</FileName> 8 | </TypeIdentifier> 9 | </Class> 10 | <Font Name="Segoe UI" Size="9" /> 11 | </ClassDiagram> -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/Icon1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/Icon1.ico -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' <auto-generated> 3 | ' This code was generated by a tool. 4 | ' Runtime Version:2.0.50727.4200 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' </auto-generated> 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes, 18 | ' or if you encounter build errors in this file, go to the Project Designer 19 | ' (go to Project Properties or double-click the My Project node in 20 | ' Solution Explorer), and make changes on the Application tab. 21 | ' 22 | Partial Friend Class MyApplication 23 | 24 | <Global.System.Diagnostics.DebuggerStepThroughAttribute()> _ 25 | Public Sub New() 26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) 27 | Me.IsSingleInstance = false 28 | Me.EnableVisualStyles = true 29 | Me.SaveMySettingsOnExit = true 30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses 31 | End Sub 32 | 33 | <Global.System.Diagnostics.DebuggerStepThroughAttribute()> _ 34 | Protected Overrides Sub OnCreateMainForm() 35 | Me.MainForm = Global.VB_PAGE_Validator.Form1 36 | End Sub 37 | End Class 38 | End Namespace 39 | -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 3 | <MySubMain>true</MySubMain> 4 | <MainForm>Form1</MainForm> 5 | <SingleInstance>false</SingleInstance> 6 | <ShutdownMode>0</ShutdownMode> 7 | <EnableVisualStyles>true</EnableVisualStyles> 8 | <AuthenticationMode>0</AuthenticationMode> 9 | <ApplicationType>0</ApplicationType> 10 | <SaveMySettingsOnExit>true</SaveMySettingsOnExit> 11 | </MyApplicationData> 12 | -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | <Assembly: AssemblyTitle("VB-PAGE-Converter")> 12 | <Assembly: AssemblyDescription("")> 13 | <Assembly: AssemblyCompany("")> 14 | <Assembly: AssemblyProduct("VB-PAGE-Converter")> 15 | <Assembly: AssemblyCopyright("Copyright © 2009")> 16 | <Assembly: AssemblyTrademark("")> 17 | 18 | <Assembly: ComVisible(False)> 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | <Assembly: Guid("7d1ecf85-891c-4340-b0a2-cd2d8d5b2543")> 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' <Assembly: AssemblyVersion("1.0.*")> 33 | 34 | <Assembly: AssemblyVersion("1.0.0.0")> 35 | <Assembly: AssemblyFileVersion("1.0.0.0")> 36 | -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/My Project/Resources.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' <auto-generated> 3 | ' This code was generated by a tool. 4 | ' Runtime Version:2.0.50727.4200 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' </auto-generated> 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | Imports System 15 | 16 | Namespace My.Resources 17 | 18 | 'This class was auto-generated by the StronglyTypedResourceBuilder 19 | 'class via a tool like ResGen or Visual Studio. 20 | 'To add or remove a member, edit your .ResX file then rerun ResGen 21 | 'with the /str option, or rebuild your VS project. 22 | '''<summary> 23 | ''' A strongly-typed resource class, for looking up localized strings, etc. 24 | '''</summary> 25 | <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0"), _ 26 | Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ 27 | Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _ 28 | Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _ 29 | Friend Module Resources 30 | 31 | Private resourceMan As Global.System.Resources.ResourceManager 32 | 33 | Private resourceCulture As Global.System.Globalization.CultureInfo 34 | 35 | '''<summary> 36 | ''' Returns the cached ResourceManager instance used by this class. 37 | '''</summary> 38 | <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ 39 | Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager 40 | Get 41 | If Object.ReferenceEquals(resourceMan, Nothing) Then 42 | Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("VB_PAGE_Validator.Resources", GetType(Resources).Assembly) 43 | resourceMan = temp 44 | End If 45 | Return resourceMan 46 | End Get 47 | End Property 48 | 49 | '''<summary> 50 | ''' Overrides the current thread's CurrentUICulture property for all 51 | ''' resource lookups using this strongly typed resource class. 52 | '''</summary> 53 | <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ 54 | Friend Property Culture() As Global.System.Globalization.CultureInfo 55 | Get 56 | Return resourceCulture 57 | End Get 58 | Set 59 | resourceCulture = value 60 | End Set 61 | End Property 62 | End Module 63 | End Namespace 64 | -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/My Project/Settings.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' <auto-generated> 3 | ' This code was generated by a tool. 4 | ' Runtime Version:2.0.50727.4200 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' </auto-generated> 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _ 18 | Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0"), _ 19 | Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ 20 | Partial Friend NotInheritable Class MySettings 21 | Inherits Global.System.Configuration.ApplicationSettingsBase 22 | 23 | Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings),MySettings) 24 | 25 | #Region "My.Settings Auto-Save Functionality" 26 | #If _MyType = "WindowsForms" Then 27 | Private Shared addedHandler As Boolean 28 | 29 | Private Shared addedHandlerLockObject As New Object 30 | 31 | <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _ 32 | Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) 33 | If My.Application.SaveMySettingsOnExit Then 34 | My.Settings.Save() 35 | End If 36 | End Sub 37 | #End If 38 | #End Region 39 | 40 | Public Shared ReadOnly Property [Default]() As MySettings 41 | Get 42 | 43 | #If _MyType = "WindowsForms" Then 44 | If Not addedHandler Then 45 | SyncLock addedHandlerLockObject 46 | If Not addedHandler Then 47 | AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings 48 | addedHandler = True 49 | End If 50 | End SyncLock 51 | End If 52 | #End If 53 | Return defaultInstance 54 | End Get 55 | End Property 56 | End Class 57 | End Namespace 58 | 59 | Namespace My 60 | 61 | <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _ 62 | Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ 63 | Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _ 64 | Friend Module MySettingsProperty 65 | 66 | <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _ 67 | Friend ReadOnly Property Settings() As Global.VB_PAGE_Validator.My.MySettings 68 | Get 69 | Return Global.VB_PAGE_Validator.My.MySettings.Default 70 | End Get 71 | End Property 72 | End Module 73 | End Namespace 74 | -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 | <?xml version='1.0' encoding='utf-8'?> 2 | <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true"> 3 | <Profiles> 4 | <Profile Name="(Default)" /> 5 | </Profiles> 6 | <Settings /> 7 | </SettingsFile> 8 | -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/VB-PAGE-Converter.vbproj.user: -------------------------------------------------------------------------------- 1 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 2 | <PropertyGroup> 3 | <PublishUrlHistory>publish\</PublishUrlHistory> 4 | <InstallUrlHistory> 5 | </InstallUrlHistory> 6 | <SupportUrlHistory> 7 | </SupportUrlHistory> 8 | <UpdateUrlHistory> 9 | </UpdateUrlHistory> 10 | <BootstrapperUrlHistory> 11 | </BootstrapperUrlHistory> 12 | <FallbackCulture>en-US</FallbackCulture> 13 | <VerifyUploadedFiles>false</VerifyUploadedFiles> 14 | </PropertyGroup> 15 | </Project> -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/VB-PAGE-Converter.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/VB-PAGE-Converter.exe -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/VB-PAGE-Converter.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/VB-PAGE-Converter.pdb -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/VB-PAGE-Converter.vshost.exe.manifest: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 2 | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 3 | <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/> 4 | <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> 5 | <security> 6 | <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> 7 | <requestedExecutionLevel level="asInvoker" uiAccess="false"/> 8 | </requestedPrivileges> 9 | </security> 10 | </trustInfo> 11 | </assembly> 12 | -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/VB-PAGE-Converter.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <doc> 3 | <assembly> 4 | <name> 5 | VB-PAGE-Converter 6 | </name> 7 | </assembly> 8 | <members> 9 | 10 | </members> 11 | </doc> -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/VB-PAGE-Validator.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/VB-PAGE-Validator.exe -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/VB-PAGE-Validator.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/VB-PAGE-Validator.pdb -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/VB-PAGE-Validator.vshost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/VB-PAGE-Validator.vshost.exe -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/VB-PAGE-Validator.vshost.exe.manifest: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 2 | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 3 | <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/> 4 | <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> 5 | <security> 6 | <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> 7 | <requestedExecutionLevel level="asInvoker" uiAccess="false"/> 8 | </requestedPrivileges> 9 | </security> 10 | </trustInfo> 11 | </assembly> 12 | -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/VB-PAGE-Validator.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <doc> 3 | <assembly> 4 | <name> 5 | VB-PAGE-Validator 6 | </name> 7 | </assembly> 8 | <members> 9 | <member name="P:VB_PAGE_Validator.My.Resources.Resources.ResourceManager"> 10 | <summary> 11 | Returns the cached ResourceManager instance used by this class. 12 | </summary> 13 | </member><member name="P:VB_PAGE_Validator.My.Resources.Resources.Culture"> 14 | <summary> 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | </summary> 18 | </member><member name="T:VB_PAGE_Validator.My.Resources.Resources"> 19 | <summary> 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | </summary> 22 | </member> 23 | </members> 24 | </doc> -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/in/mp00105c.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Debug/in/mp00105c.tif -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Release/VB-PAGE-Validator.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Release/VB-PAGE-Validator.exe -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Release/VB-PAGE-Validator.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Release/VB-PAGE-Validator.pdb -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Release/VB-PAGE-Validator.vshost.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Release/VB-PAGE-Validator.vshost.exe -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Release/VB-PAGE-Validator.vshost.exe.manifest: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 2 | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 3 | <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/> 4 | <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> 5 | <security> 6 | <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> 7 | <requestedExecutionLevel level="asInvoker" uiAccess="false"/> 8 | </requestedPrivileges> 9 | </security> 10 | </trustInfo> 11 | </assembly> 12 | -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Release/VB-PAGE-Validator.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <doc> 3 | <assembly> 4 | <name> 5 | VB-PAGE-Validator 6 | </name> 7 | </assembly> 8 | <members> 9 | <member name="P:VB_PAGE_Validator.My.Resources.Resources.ResourceManager"> 10 | <summary> 11 | Returns the cached ResourceManager instance used by this class. 12 | </summary> 13 | </member><member name="P:VB_PAGE_Validator.My.Resources.Resources.Culture"> 14 | <summary> 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | </summary> 18 | </member><member name="T:VB_PAGE_Validator.My.Resources.Resources"> 19 | <summary> 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | </summary> 22 | </member> 23 | </members> 24 | </doc> -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Release/in/mp00105c.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/bin/Release/in/mp00105c.tif -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/TempPE/My Project.Resources.Designer.vb.dll -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB-PAGE-Converter.vbproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\bin\Debug\VB-PAGE-Converter.exe 2 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\bin\Debug\VB-PAGE-Converter.pdb 3 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\bin\Debug\VB-PAGE-Converter.xml 4 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Debug\ResolveAssemblyReference.cache 5 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Debug\VB_PAGE_Converter.Form1.resources 6 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Debug\VB_PAGE_Converter.Resources.resources 7 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Debug\VB-PAGE-Converter.vbproj.GenerateResource.Cache 8 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Debug\VB-PAGE-Converter.exe 9 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Debug\VB-PAGE-Converter.xml 10 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Debug\VB-PAGE-Converter.pdb 11 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Debug\VB-PAGE-Converter.exe 12 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Debug\VB-PAGE-Converter.xml 13 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Debug\VB-PAGE-Converter.pdb 14 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\bin\Debug\VB-PAGE-Converter.exe 15 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\bin\Debug\VB-PAGE-Converter.pdb 16 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\bin\Debug\VB-PAGE-Converter.xml 17 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Debug\ResolveAssemblyReference.cache 18 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Debug\VB_PAGE_Converter.Form1.resources 19 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Debug\VB_PAGE_Converter.Resources.resources 20 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Debug\VB-PAGE-Converter.vbproj.GenerateResource.Cache 21 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\bin\Debug\VB-PAGE-Validator.exe 22 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\bin\Debug\VB-PAGE-Validator.pdb 23 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\bin\Debug\VB-PAGE-Validator.xml 24 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\obj\Debug\ResolveAssemblyReference.cache 25 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\obj\Debug\VB_PAGE_Validator.Form1.resources 26 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\obj\Debug\VB_PAGE_Validator.Resources.resources 27 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\obj\Debug\VB-PAGE-Converter.vbproj.GenerateResource.Cache 28 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\obj\Debug\VB-PAGE-Validator.exe 29 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\obj\Debug\VB-PAGE-Validator.xml 30 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\obj\Debug\VB-PAGE-Validator.pdb 31 | -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB-PAGE-Converter.vbproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB-PAGE-Converter.vbproj.GenerateResource.Cache -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB-PAGE-Validator.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB-PAGE-Validator.exe -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB-PAGE-Validator.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB-PAGE-Validator.pdb -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB-PAGE-Validator.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <doc> 3 | <assembly> 4 | <name> 5 | VB-PAGE-Validator 6 | </name> 7 | </assembly> 8 | <members> 9 | <member name="P:VB_PAGE_Validator.My.Resources.Resources.ResourceManager"> 10 | <summary> 11 | Returns the cached ResourceManager instance used by this class. 12 | </summary> 13 | </member><member name="P:VB_PAGE_Validator.My.Resources.Resources.Culture"> 14 | <summary> 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | </summary> 18 | </member><member name="T:VB_PAGE_Validator.My.Resources.Resources"> 19 | <summary> 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | </summary> 22 | </member> 23 | </members> 24 | </doc> -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB_PAGE_Converter.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB_PAGE_Converter.Form1.resources -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB_PAGE_Converter.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB_PAGE_Converter.Resources.resources -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB_PAGE_Validator.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB_PAGE_Validator.Form1.resources -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB_PAGE_Validator.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Debug/VB_PAGE_Validator.Resources.resources -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/TempPE/My Project.Resources.Designer.vb.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/TempPE/My Project.Resources.Designer.vb.dll -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB-PAGE-Converter.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB-PAGE-Converter.exe -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB-PAGE-Converter.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB-PAGE-Converter.pdb -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB-PAGE-Converter.vbproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\bin\Release\VB-PAGE-Converter.exe 2 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\bin\Release\VB-PAGE-Converter.pdb 3 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\bin\Release\VB-PAGE-Converter.xml 4 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Release\ResolveAssemblyReference.cache 5 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Release\VB_PAGE_Converter.Form1.resources 6 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Release\VB_PAGE_Converter.Resources.resources 7 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Release\VB-PAGE-Converter.vbproj.GenerateResource.Cache 8 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Release\VB-PAGE-Converter.exe 9 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Release\VB-PAGE-Converter.xml 10 | C:\Users\spl\Documents\Visual Studio 2008\Projects\VB-PAGE-Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Release\VB-PAGE-Converter.pdb 11 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Release\VB-PAGE-Converter.exe 12 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Release\VB-PAGE-Converter.xml 13 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Release\VB-PAGE-Converter.pdb 14 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\bin\Release\VB-PAGE-Converter.exe 15 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\bin\Release\VB-PAGE-Converter.pdb 16 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\bin\Release\VB-PAGE-Converter.xml 17 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Release\ResolveAssemblyReference.cache 18 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Release\VB_PAGE_Converter.Form1.resources 19 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Release\VB_PAGE_Converter.Resources.resources 20 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Converter\VB-PAGE-Converter\VB-PAGE-Converter\obj\Release\VB-PAGE-Converter.vbproj.GenerateResource.Cache 21 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\bin\Release\VB-PAGE-Validator.exe 22 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\bin\Release\VB-PAGE-Validator.pdb 23 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\bin\Release\VB-PAGE-Validator.xml 24 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\obj\Release\ResolveAssemblyReference.cache 25 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\obj\Release\VB_PAGE_Validator.Form1.resources 26 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\obj\Release\VB_PAGE_Validator.Resources.resources 27 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\obj\Release\VB-PAGE-Converter.vbproj.GenerateResource.Cache 28 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\obj\Release\VB-PAGE-Validator.exe 29 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\obj\Release\VB-PAGE-Validator.xml 30 | C:\Users\spl\eclipse3.4.0\workspace\XML-Schema\Validator\VB-PAGE-Validator\VB-PAGE-Converter\obj\Release\VB-PAGE-Validator.pdb 31 | -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB-PAGE-Converter.vbproj.GenerateResource.Cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB-PAGE-Converter.vbproj.GenerateResource.Cache -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB-PAGE-Converter.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <doc> 3 | <assembly> 4 | <name> 5 | VB-PAGE-Converter 6 | </name> 7 | </assembly> 8 | <members> 9 | 10 | </members> 11 | </doc> -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB-PAGE-Validator.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB-PAGE-Validator.exe -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB-PAGE-Validator.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB-PAGE-Validator.pdb -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB-PAGE-Validator.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <doc> 3 | <assembly> 4 | <name> 5 | VB-PAGE-Validator 6 | </name> 7 | </assembly> 8 | <members> 9 | <member name="P:VB_PAGE_Validator.My.Resources.Resources.ResourceManager"> 10 | <summary> 11 | Returns the cached ResourceManager instance used by this class. 12 | </summary> 13 | </member><member name="P:VB_PAGE_Validator.My.Resources.Resources.Culture"> 14 | <summary> 15 | Overrides the current thread's CurrentUICulture property for all 16 | resource lookups using this strongly typed resource class. 17 | </summary> 18 | </member><member name="T:VB_PAGE_Validator.My.Resources.Resources"> 19 | <summary> 20 | A strongly-typed resource class, for looking up localized strings, etc. 21 | </summary> 22 | </member> 23 | </members> 24 | </doc> -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB_PAGE_Converter.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB_PAGE_Converter.Form1.resources -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB_PAGE_Converter.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB_PAGE_Converter.Resources.resources -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB_PAGE_Validator.Form1.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB_PAGE_Validator.Form1.resources -------------------------------------------------------------------------------- /legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB_PAGE_Validator.Resources.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/legacy/Validator/VB-PAGE-Validator/VB-PAGE-Converter/obj/Release/VB_PAGE_Validator.Resources.resources -------------------------------------------------------------------------------- /pagecontent/documentation/2013 PAGE XML Format Update.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/pagecontent/documentation/2013 PAGE XML Format Update.pdf -------------------------------------------------------------------------------- /pagecontent/documentation/2016 PAGE XML Format Update.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/pagecontent/documentation/2016 PAGE XML Format Update.pdf -------------------------------------------------------------------------------- /pagecontent/documentation/Generated schema documentation 2017.xhtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/pagecontent/documentation/Generated schema documentation 2017.xhtml -------------------------------------------------------------------------------- /pagecontent/documentation/Simple PAGE XML Example.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/pagecontent/documentation/Simple PAGE XML Example.pdf -------------------------------------------------------------------------------- /pagecontent/documentation/changelog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/pagecontent/documentation/changelog.txt -------------------------------------------------------------------------------- /pagecontent/examples/AletheiaExamplePage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/pagecontent/examples/AletheiaExamplePage.jpg -------------------------------------------------------------------------------- /pagecontent/examples/aletheiaexamplepage_b.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PRImA-Research-Lab/PAGE-XML/830a3ae8aa7b5dac973cd00d06ba1acfc37fe0af/pagecontent/examples/aletheiaexamplepage_b.tif --------------------------------------------------------------------------------