-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Location of checks is always empty #140
Comments
The error contains two properties that are used to identify the object causing the problem:
Typically location is It is assumed that the PDF viewer would be able to compute the location bbox from the context, if the location property is |
@bdoubrov Yeah Thanks you. Unfortunatelly the js-viewer is causing many problems, since its relaying on a beta version of react-pdf. This version is not compatible with vite, which we are using for our project. So I thought having the bbox infos it is easy to show them by myself. |
@bdoubrov "root/doc[0]/StructTreeRoot[0]/children[0](173 0 obj Sect Sect)/children[11](1331 0 obj P P)" other times it's like: The second example its easy to get the page number and the index of an item. In my opinion, the report should output always the same unified format. |
If this helps, we plan to upgrade the viewer to the latest stable version of react-js (6.2). The context info is consistent within the veraPDF validation model, that is it shows the path to the object in question in the graph of all veraPDF objects created by PDF parser. For example, two different formats i your example come from two different parent objects in the model:
The server-side calculation of the bounding boxes for PDF/UA-1 objects is not implemented (yet). But it is on our radar for the future development. |
hello,
When recieving the check informations, the location property is always null.

It would be nice to have it available again.
The text was updated successfully, but these errors were encountered: