From: Sergey Vladimirov Date: Wed, 6 Jul 2011 10:36:30 +0000 (+0000) Subject: add empty rdf:about to rdf:Description X-Git-Tag: REL_3_8_BETA4~305 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e680cd7344ea9ec52685c855d787145aaae24ced;p=poi.git add empty rdf:about to rdf:Description git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143331 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java b/src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java index 773f0d29cb..51ae9e5283 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/converter/FoDocumentFacade.java @@ -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; } }