Coder Social home page Coder Social logo

Lots of XSD validation errors about assets HOT 2 OPEN

ocr-d avatar ocr-d commented on July 24, 2024
Lots of XSD validation errors

from assets.

Comments (2)

bertsky avatar bertsky commented on July 24, 2024
assets/data/page_dewarp/data/mets.xml
assets/data/leptonica_samples/data/mets.xml
assets/data/DIBCO11-machine_printed/data/mets.xml
assets/data/grenzboten-test/data/mets.xml
assets/data/communist_manifesto/data/mets.xml
assets/data/dfki-testdata/data/mets.xml
assets/data/page_dewarp/data/mets.xml
assets/data/leptonica_samples/data/mets.xml
assets/data/DIBCO11-machine_printed/data/mets.xml
  • affected by OCR-D/core#499 (merely needs re-ordering between dmdSec and structMap):
assets/data/grenzboten-test/data/mets.xml
assets/data/scribo-test/data/mets.xml
assets/data/communist_manifesto/data/mets.xml
  • affected by OCR-D/core#499 (merely needs re-ordering between fileSec and structMap):
assets/data/column-samples/data/mets.xml
assets/data/dfki-testdata/data/mets.xml
  • file ID re-used (repeated) as page ID (needs manual fix):
assets/data/kant_aufklaerung_1784-binarized/data/mets.xml
  • invalid CDATA (... – manual fix or remove):
assets/data/SBB0000F29300010000/data/OCR-D-GT-PAGE/FILE_0001_FULLTEXT.xml
assets/data/SBB0000F29300010000/data/OCR-D-GT-PAGE/FILE_0002_FULLTEXT.xml

But as of now there are even more errors:

  • empty reading order group (intentional?):
assets/data/gutachten/data/TEMP1/PAGE_TEMP1
  • wrongly formatted regionRef (intentional?):
assets/data/gutachten/data/TEMP2/PAGE_TEMP2_1.xml
assets/data/gutachten/data/TEMP2/PAGE_TEMP2_2.xml
  • pc:PcGts/@pcGtsId differs from mets:file/@ID (newly introduced, ambitious goal)

nearly everywhere...

from assets.

kba avatar kba commented on July 24, 2024
assets/data/page_dewarp/data/mets.xml
assets/data/leptonica_samples/data/mets.xml
assets/data/DIBCO11-machine_printed/data/mets.xml
assets/data/grenzboten-test/data/mets.xml
assets/data/communist_manifesto/data/mets.xml
assets/data/dfki-testdata/data/mets.xml

fixed (w/o regenerating)

assets/data/page_dewarp/data/mets.xml
assets/data/leptonica_samples/data/mets.xml
assets/data/DIBCO11-machine_printed/data/mets.xml

fixed

  • affected by OCR-D/core#499 (merely needs re-ordering between dmdSec and structMap):
assets/data/grenzboten-test/data/mets.xml
assets/data/scribo-test/data/mets.xml
assets/data/communist_manifesto/data/mets.xml

fixed

  • affected by OCR-D/core#499 (merely needs re-ordering between fileSec and structMap):
assets/data/column-samples/data/mets.xml
assets/data/dfki-testdata/data/mets.xml

fixed

  • file ID re-used (repeated) as page ID (needs manual fix):
assets/data/kant_aufklaerung_1784-binarized/data/mets.xml

fixed

  • invalid CDATA (... – manual fix or remove):
assets/data/SBB0000F29300010000/data/OCR-D-GT-PAGE/FILE_0001_FULLTEXT.xml
assets/data/SBB0000F29300010000/data/OCR-D-GT-PAGE/FILE_0002_FULLTEXT.xml

But as of now there are even more errors:

  • empty reading order group (intentional?):
assets/data/gutachten/data/TEMP1/PAGE_TEMP1

yes this is intentional to test the reading order methods in the generateDS API

  • wrongly formatted regionRef (intentional?):
assets/data/gutachten/data/TEMP2/PAGE_TEMP2_1.xml
assets/data/gutachten/data/TEMP2/PAGE_TEMP2_2.xml

same

  • pc:PcGts/@pcGtsId differs from mets:file/@ID (newly introduced, ambitious goal)

nearly everywhere...

fixed manually where it wasn't too much effort. will be a perfect use case for ocrd-sanitize implementing https://github.com/mikegerber/sbb-useful-hacks/blob/master/mets-fixers/fix-page-pcgtsid-to-be-mets-file-id

from assets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.