Skip to content

Commit 6b47202

Browse files
committed
PDFBOX-5660: improve exception text
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1930857 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8d80365 commit 6b47202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ private AbstractStructuredType parseLiDescription(XMPMetadata xmp, QName descrip
825825
if (type == null)
826826
{
827827
// not defined
828-
throw new XmpParsingException(ErrorType.NoType, "Type '" + name + "' not defined in "
828+
throw new XmpParsingException(ErrorType.NoType, "Type '" + prefix + ":" + name + "' not defined in "
829829
+ liDescriptionElementChild.getNamespaceURI());
830830
}
831831
else if (type.card().isArray())

0 commit comments

Comments
 (0)