poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject svn commit: r1143331 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java
Date Wed, 06 Jul 2011 10:36:30 GMT
Author: sergey
Date: Wed Jul  6 10:36:30 2011
New Revision: 1143331

URL: http://svn.apache.org/viewvc?rev=1143331&view=rev
Log:
add empty rdf:about to rdf:Description

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java?rev=1143331&r1=1143330&r2=1143331&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java Wed Jul
 6 10:36:30 2011
@@ -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;
     }
 
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message