Author: tyrell
Date: Fri Jan 25 06:28:46 2008
New Revision: 12915
Log:
Adding a temporary fix to the sample, to prevent it from breaking when saved
using the editor.
Modified:
trunk/mashup/java/modules/samples/storexml/storexml.js
Modified: trunk/mashup/java/modules/samples/storexml/storexml.js
==============================================================================
--- trunk/mashup/java/modules/samples/storexml/storexml.js (original)
+++ trunk/mashup/java/modules/samples/storexml/storexml.js Fri Jan 25
06:28:46 2008
@@ -28,7 +28,7 @@
<div>The <b>store</b> operation stores an XML element for later retrieval.
The XML element can be given a name token (xs:NCName) to aid in retrieval,
update, or
removal of the element. This operation returns a copy of the XML element
- stored (when successful) or a <fault> element when it fails. If the
name
+ stored (when successful) or a <fault/> element when it fails. If the name
already exists, the XML associated with it is replaced by the submitted
value.</div>;
store.inputTypes = {"name" : "string", "value" : "any"};
store.outputType = "any";
@@ -51,7 +51,7 @@
<div>The <b>retrieve</b> operation fetches an XML element previously
stored,
using the "name" under which the element was stored. This operation
returns
a copy of the requested XML element (when successful) or a
- <fault> element when it fails (e.g. no element has been stored with
that
+ <fault/> element when it fails (e.g. no element has been stored with that
name).</div>;
retrieve.inputTypes = {"name" : "string"};
retrieve.outputType = "any";
@@ -73,7 +73,7 @@
<div>The <b>remove</b> operation deletes an XML element previously stored,
using the "name" under which the element was stored. This operation
returns
a copy of the XML element that has just been deleted (when successful) or
a
- <fault> element when it fails.</div>;
+ <fault/> element when it fails.</div>;
remove.inputTypes = {"name" : "string"};
remove.outputType = "any";
function remove(name) {
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev