Author: dkulp
Date: Sun Sep 19 23:21:22 2010
New Revision: 998751

URL: http://svn.apache.org/viewvc?rev=998751&view=rev
Log:
Add the reserved prefixs.   Fixes the Woden tests.

Modified:
    webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/pom.xml
    
webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/src/main/java/org/apache/ws/commons/schema/utils/NodeNamespaceContext.java

Modified: webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/pom.xml
URL: 
http://svn.apache.org/viewvc/webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/pom.xml?rev=998751&r1=998750&r2=998751&view=diff
==============================================================================
--- webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/pom.xml 
(original)
+++ webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/pom.xml Sun Sep 
19 23:21:22 2010
@@ -23,7 +23,7 @@
   <artifactId>XmlSchema</artifactId>
   <packaging>bundle</packaging>
   <name>XmlSchema</name>
-  <version>1.4.8-SNAPSHOT</version>
+  <version>1.4.7-SNAPSHOT</version>
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>

Modified: 
webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/src/main/java/org/apache/ws/commons/schema/utils/NodeNamespaceContext.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/src/main/java/org/apache/ws/commons/schema/utils/NodeNamespaceContext.java?rev=998751&r1=998750&r2=998751&view=diff
==============================================================================
--- 
webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/src/main/java/org/apache/ws/commons/schema/utils/NodeNamespaceContext.java
 (original)
+++ 
webservices/commons/branches/modules/XmlSchema/1_4_X_BRANCH/src/main/java/org/apache/ws/commons/schema/utils/NodeNamespaceContext.java
 Sun Sep 19 23:21:22 2010
@@ -75,6 +75,11 @@ public class NodeNamespaceContext implem
     
     
     public static String getNamespaceURI(Element el, String pfx) {
+        if ("xml".equals(pfx)) {
+            return "http://www.w3.org/XML/1998/namespace";;
+        } else  if ("xmlns".equals(pfx)) {
+            return "http://www.w3.org/2000/xmlns/";;
+        }
         if (DOM_LEVEL_3) {
             return getNamespaceURIDomLevel3(el, pfx);
         }


Reply via email to