From b0c67177ffbaf0faa7361dea4e49a90ed055b23f Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Fri, 16 Aug 2024 12:06:41 +0000 Subject: [github-673] Add word10.xsd to poi-ooxml-full. Thanks to fangd1997. This closes #673 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1919929 13f79535-47bb-0310-9956-ffa450edef68 --- poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'poi-ooxml') diff --git a/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java b/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java index 6e070b1252..e848e383cd 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java +++ b/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLTypeLoader.java @@ -68,6 +68,8 @@ public class POIXMLTypeLoader { map.put(MS_EXCEL_URN, "x"); map.put(MS_WORD_URN, "w10"); map.put(MS_VML_URN, "v"); + map.put("http://schemas.microsoft.com/office/word/2010/wordml", "w14"); + map.put("http://schemas.microsoft.com/office/word/2012/wordml", "w15"); map.put("http://schemas.microsoft.com/office/drawing/2012/chart", "c15"); DEFAULT_XML_OPTIONS.setSaveSuggestedPrefixes(Collections.unmodifiableMap(map)); } -- cgit v1.2.3