You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2025/12/26 06:45:58 UTC

svn commit: r1930856 - pdfbox/branches/3.0/xmpbox/src/main/java/org/apache/xmpbox/xml

Author: tilman
Date: Fri Dec 26 06:45:58 2025
New Revision: 1930856

Log:
PDFBOX-5660: improve exception text

Modified:
   pdfbox/branches/3.0/xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java

Modified: pdfbox/branches/3.0/xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java
==============================================================================
--- pdfbox/branches/3.0/xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java	Fri Dec 26 04:20:02 2025	(r1930855)
+++ pdfbox/branches/3.0/xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java	Fri Dec 26 06:45:58 2025	(r1930856)
@@ -825,7 +825,7 @@ public class DomXmpParser
             if (type == null)
             {
                 // not defined
-                throw new XmpParsingException(ErrorType.NoType, "Type '" + name + "' not defined in "
+                throw new XmpParsingException(ErrorType.NoType, "Type '" + prefix + ":" + name + "' not defined in "
                         + liDescriptionElementChild.getNamespaceURI());
             }
             else if (type.card().isArray())