Author: amilas
Date: Wed Sep 10 05:13:49 2008
New Revision: 693811

URL: http://svn.apache.org/viewvc?rev=693811&view=rev
Log:
set the weblogic parser also works in setPrefixAfter mode.

Modified:
    
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/util/OMSerializerUtil.java

Modified: 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/util/OMSerializerUtil.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/util/OMSerializerUtil.java?rev=693811&r1=693810&r2=693811&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/util/OMSerializerUtil.java
 (original)
+++ 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/util/OMSerializerUtil.java
 Wed Sep 10 05:13:49 2008
@@ -202,8 +202,9 @@
         if (!ret) {
             // Fallback: Toggle based on sun or woodstox implementation.
             NamespaceContext nc = writer.getNamespaceContext();
-            ret = (nc == null || 
-                    (nc.getClass().getName().indexOf("wstx") == -1 && 
+            ret = (nc == null ||
+                    (nc.getClass().getName().indexOf("wstx") == -1 &&
+                            nc.getClass().getName().indexOf("weblogic") == -1 
&&
                             nc.getClass().getName().indexOf("sun") == -1));
         }
         


Reply via email to