Skip to content

Commit

Permalink
Merge pull request #608 from veraPDF/pdfua2
Browse files Browse the repository at this point in the history
PDF/UA-2. Fix getroleMapToSameNamespaceTag to GFPDStructElem
  • Loading branch information
MaximPlusov authored and Git User committed Nov 8, 2023
1 parent 37c1c96 commit e3a39d2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ public Boolean getcircularMappingExist() {

@Override
public String getroleMapToSameNamespaceTag() {
return ((org.verapdf.pd.structure.PDStructElem)simplePDObject).getRoleMapToSameNamespaceTag() + ":" + getstandardType();
String namespace = ((org.verapdf.pd.structure.PDStructElem)simplePDObject).getRoleMapToSameNamespaceTag();
return namespace != null ? namespace + ":" + getstandardType() : null;
}

@Override
Expand Down

0 comments on commit e3a39d2

Please sign in to comment.