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

Reply via email to