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:46:06 UTC

svn commit: r1930858 - pdfbox/branches/2.0/xmpbox/src/main/java/org/apache/xmpbox/xml

Author: tilman
Date: Fri Dec 26 06:46:05 2025
New Revision: 1930858

Log:
PDFBOX-5660: improve exception text

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

Modified: pdfbox/branches/2.0/xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java
==============================================================================
--- pdfbox/branches/2.0/xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java	Fri Dec 26 06:46:02 2025	(r1930857)
+++ pdfbox/branches/2.0/xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java	Fri Dec 26 06:46:05 2025	(r1930858)
@@ -794,7 +794,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())