diff --git a/applications/product/src/org/ofbiz/product/product/ProductsExportToGoogle.java b/applications/product/src/org/ofbiz/product/product/ProductsExportToGoogle.java index b2072f7b33..77fd02ef39 100644 --- a/applications/product/src/org/ofbiz/product/product/ProductsExportToGoogle.java +++ b/applications/product/src/org/ofbiz/product/product/ProductsExportToGoogle.java @@ -276,6 +276,7 @@ public class ProductsExportToGoogle { feedElem.setAttribute("xmlns:openSearch", "http://a9.com/-/spec/opensearchrss/1.0/"); feedElem.setAttribute("xmlns:g", "http://base.google.com/ns/1.0"); feedElem.setAttribute("xmlns:batch", "http://schemas.google.com/gdata/batch"); + feedElem.setAttribute("xmlns:app", "http://purl.org/atom/app#"); // Iterate the product list getting all the relevant data Iterator productsListItr = productsList.iterator(); @@ -323,7 +324,6 @@ public class ProductsExportToGoogle { // status is draft or deactivate if (statusId != null && ("draft".equals(statusId) || "deactivate".equals(statusId))) { Element appControlElem = UtilXml.addChildElement(entryElem, "app:control", feedDocument); - appControlElem.setAttribute("xmlns:app", "http://purl.org/atom/app#"); UtilXml.addChildElementValue(appControlElem, "app:draft", "yes", feedDocument); // status is deactivate diff --git a/applications/product/webapp/catalog/find/ExportForms.xml b/applications/product/webapp/catalog/find/ExportForms.xml index dc1fe2d6ed..b8c5ba9c47 100644 --- a/applications/product/webapp/catalog/find/ExportForms.xml +++ b/applications/product/webapp/catalog/find/ExportForms.xml @@ -32,7 +32,7 @@ under the License. - +