You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PDF 2.0 standard structure namespace uses Article instead of Art. Adds the missing StructRole2::Article variant so consumers can emit the preferred 2.0 name.
Closing this. After verifying against ISO 32000-2:2020 (Table 365), Art was not renamed to Article in the PDF 2.0 standard structure namespace. It was removed from the 2.0 namespace entirely, along with some others. The PDF 1.7 namespace (which remains the default in PDF 2.0 files) still defines Art, so consumers should continue using that.
For context on why this came up: I encountered a corpus of PDFs claiming PDF/UA-2 compliance that used /Article as a structure type. It turns out these PDFs are actually non-conforming as /Article isn't a valid tag in either standard namespace. I guess the upstream authoring tool has a bug or failed to generate a role map entry.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PDF 2.0 standard structure namespace uses
Articleinstead ofArt. Adds the missingStructRole2::Articlevariant so consumers can emit the preferred 2.0 name.