cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r905747 - in /cxf/branches/2.2.x-fixes: ./ distribution/src/main/release/samples/js_provider/impl.js
Date Tue, 02 Feb 2010 19:05:33 GMT
Author: dkulp
Date: Tue Feb  2 19:05:28 2010
New Revision: 905747

URL: http://svn.apache.org/viewvc?rev=905747&view=rev
Log:
Merged revisions 905745 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r905745 | dkulp | 2010-02-02 13:56:30 -0500 (Tue, 02 Feb 2010) | 1 line
  
  Update js sample to define the namespace for the element
........

Modified:
    cxf/branches/2.2.x-fixes/   (props changed)
    cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_provider/impl.js

Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Feb  2 19:05:28 2010
@@ -1 +1 @@
-/cxf/trunk:905712
+/cxf/trunk:905712,905745

Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_provider/impl.js
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_provider/impl.js?rev=905747&r1=905746&r2=905747&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_provider/impl.js (original)
+++ cxf/branches/2.2.x-fixes/distribution/src/main/release/samples/js_provider/impl.js Tue
Feb  2 19:05:28 2010
@@ -30,6 +30,8 @@
     var name = list.item(0).getFirstChild().getNodeValue();
     var newDoc = document.getImplementation().createDocument(ns4, "ns4:greetMeResponse",
null);
     var el = newDoc.createElementNS(ns4, "ns4:responseType");
+    el.setAttributeNS("http://www.w3.org/2000/xmlns/", 
+                      "xmlns:ns4", ns4);
     var txt = newDoc.createTextNode("Hi " + name);
     el.insertBefore(txt, null);
     newDoc.getDocumentElement().insertBefore(el, null);



Mime
View raw message