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 2014/12/21 20:28:28 UTC
svn commit: r1647195 -
/pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/xml/XmpSerializer.java
Author: tilman
Date: Sun Dec 21 19:28:28 2014
New Revision: 1647195
URL: http://svn.apache.org/r1647195
Log:
PDFBOX-2576: merge identical code from two branches
Modified:
pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/xml/XmpSerializer.java
Modified: pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/xml/XmpSerializer.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/xml/XmpSerializer.java?rev=1647195&r1=1647194&r2=1647195&view=diff
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/xml/XmpSerializer.java (original)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/xml/XmpSerializer.java Sun Dec 21 19:28:28 2014
@@ -177,10 +177,6 @@ public class XmpSerializer
{
target.setAttribute(XmpConstants.DEFAULT_RDF_PREFIX + ":" + attribute.getName(), attribute.getValue());
}
- else if (target.getNamespaceURI().equals(attribute.getNamespace()))
- {
- target.setAttribute(attribute.getName(), attribute.getValue());
- }
else
{
target.setAttribute(attribute.getName(), attribute.getValue());