diff --git a/src/main/java/org/apache/xmlbeans/XmlOptions.java b/src/main/java/org/apache/xmlbeans/XmlOptions.java index 71b7ba7cc..78ec2dfe2 100644 --- a/src/main/java/org/apache/xmlbeans/XmlOptions.java +++ b/src/main/java/org/apache/xmlbeans/XmlOptions.java @@ -107,7 +107,7 @@ public enum XmlOptionsKeys { SAVE_CDATA_LENGTH_THRESHOLD, SAVE_CDATA_ENTITY_COUNT_THRESHOLD, SAVE_SAX_NO_NSDECLS_IN_ATTRIBUTES, - SAVE_EXTRA_ENAMESPACES, + SAVE_EXTRA_NAMESPACES, LOAD_REPLACE_DOCUMENT_ELEMENT, LOAD_STRIP_WHITESPACE, LOAD_STRIP_COMMENTS, @@ -458,12 +458,12 @@ public Map getSaveSuggestedPrefixes() { * @see XmlTokenSource#xmlText(XmlOptions) */ public XmlOptions setSaveExtraNamespaces(Map extraNamespaces) { - return set(XmlOptionsKeys.SAVE_EXTRA_ENAMESPACES, extraNamespaces); + return set(XmlOptionsKeys.SAVE_EXTRA_NAMESPACES, extraNamespaces); } @SuppressWarnings("unchecked") public Map getSaveExtraNamespaces() { - return (Map) get(XmlOptionsKeys.SAVE_EXTRA_ENAMESPACES); + return (Map) get(XmlOptionsKeys.SAVE_EXTRA_NAMESPACES); } /**