Thanks Arnaud.
That fixed my problem.

Thanks,
-Sreekanth.






From: "Arnaud Blandin" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Namspace problem
Date: Fri, 22 Nov 2002 15:52:40 +0100

Hi Sreekanth,

You can declare your namespace http://www.rulespower.com as the default
namespace using the Marshaller#setNamespaceMapping method.

Arnaud

-----Original Message-----
From: Sreekanth Chintala [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 5:13 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] Namspace problem

Hello,
I am trying to generate xml without namespace to support old version of
xerces used in unmarshalling.
�<ns1:Process PackageRef="action" id="1037893376484" Name="testCastor"
VersionNumber="0" Description="" ValidFrom="" ValidTo="" Creator=""
xmlns:ns1="http://www.rulespower.com";>
�<ns1:SimpleActivity Name="SimpleActivity_1037893410984"
Type="synchronous" id="1037893410984">
� <ns1:ActionActivity />
� </ns1:SimpleActivity>
�<ns1:ProcessContextData>
�<ns1:ContextDataItem>
�<ns1:DataElement name="fasFa">
� <ns1:Primitive value="string" />
� </ns1:DataElement>
� </ns1:ContextDataItem>
�<ns1:ContextDataItem externalName="action.testCastor.fasfasfa">
�<ns1:DataElement name="fasfasfa">
� <ns1:Primitive value="long" />
� </ns1:DataElement>
� </ns1:ContextDataItem>
� </ns1:ProcessContextData>
� </ns1:Process>
How can I get 'ns1' to disappear
Thanks,
Sreekanth.

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
	unsubscribe castor-dev

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

Reply via email to