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())

Reply via email to