Skip to content

Commit

Permalink
PDF/UA-2. Fix getroleMapToSameNamespaceTag to GFPDStructElem
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Nov 8, 2023
1 parent b2d06a2 commit 92f2596
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 92f2596

Please sign in to comment.