]> source.dussan.org Git - poi.git/commitdiff
add empty rdf:about to rdf:Description
authorSergey Vladimirov <sergey@apache.org>
Wed, 6 Jul 2011 10:36:30 +0000 (10:36 +0000)
committerSergey Vladimirov <sergey@apache.org>
Wed, 6 Jul 2011 10:36:30 +0000 (10:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143331 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java

index 773f0d29cb76fd42ee0510affd25e05420ffd303..51ae9e52838aba3611670a16af996e66c8b7906f 100644 (file)
@@ -222,6 +222,7 @@ public class FoDocumentFacade
         xmpmeta.appendChild( rdf );
 
         propertiesRoot = document.createElementNS( NS_RDF, "rdf:Description" );
+        propertiesRoot.setAttributeNS( NS_RDF, "rdf:about", "" );
         rdf.appendChild( propertiesRoot );
 
         return propertiesRoot;
@@ -261,7 +262,8 @@ public class FoDocumentFacade
 
     public Element setPdfProperty( String name, String value )
     {
-        return setProperty( "http://ns.adobe.com/pdf/1.3/", "pdf", name, value );
+//        return setProperty( "http://ns.adobe.com/pdf/1.3/", "pdf", name, value );
+        return null;
     }
 
     public void setProducer( String value )
@@ -316,7 +318,8 @@ public class FoDocumentFacade
 
     public Element setXmpProperty( String name, String value )
     {
-        return setProperty( "http://ns.adobe.com/xap/1.0/", "xmp", name, value );
+//        return setProperty( "http://ns.adobe.com/xap/1.0/", "xmp", name, value );
+        return null;
     }
 
 }