xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1443720 - /xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Locale.java
Date Thu, 07 Feb 2013 20:52:20 GMT
Author: jsy
Date: Thu Feb  7 20:52:20 2013
New Revision: 1443720

URL: http://svn.apache.org/r1443720
Log:
fix to 
https://issues.apache.org/jira/browse/XMLBEANS-489

Modified:
    xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Locale.java

Modified: xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Locale.java
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Locale.java?rev=1443720&r1=1443719&r2=1443720&view=diff
==============================================================================
--- xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Locale.java (original)
+++ xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Locale.java Thu Feb  7 20:52:20
2013
@@ -2313,19 +2313,6 @@ public final class Locale
                     String prefix = c.getXmlnsPrefix();
                     String uri = c.getXmlnsUri();
 
-                    // Here I check to see if there is a default namespace
-                    // mapping which is not empty on a non root container which
-                    // is in a namespace.  This this case, I do not want to add
-                    // this mapping because it could not be persisted out this
-                    // way.
-
-                    if (prefix.length() == 0 && uri.length() > 0 &&
-                        cName != null &&
-                        cName.getNamespaceURI().length() > 0)
-                    {
-                        continue;
-                    }
-
                     if (filleMe == null)
                         filleMe = new HashMap();
 



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


Mime
View raw message