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/28 09:21:06 UTC
svn commit: r1930905 - pdfbox/branches/2.0/xmpbox/src/main/java/org/apache/xmpbox/xml
Author: tilman
Date: Sun Dec 28 09:21:06 2025
New Revision: 1930905
Log:
PDFBOX-5660: improve exception message
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 Sun Dec 28 09:21:01 2025 (r1930904)
+++ pdfbox/branches/2.0/xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java Sun Dec 28 09:21:06 2025 (r1930905)
@@ -768,7 +768,8 @@ public class DomXmpParser
{
// PDFBOX-5649
throw new XmpParsingException(ErrorType.NoType,
- "Property '" + firstChildQName.getLocalPart() + "' not defined in " + firstChildQName.getNamespaceURI());
+ "Property '" + firstChildQName.getPrefix() + ":" + firstChildQName.getLocalPart() +
+ "' not defined in " + firstChildQName.getNamespaceURI());
}
Types tt = ctype.type();
AbstractStructuredType ast = instanciateStructured(tm, tt, parentQName.getLocalPart(), firstLiDescriptionElementChild.getNamespaceURI());