Re: [castor-user] Supress Namespaces

2007-04-21 Thread Werner Guttmann
; / /wls /gauges -Original Message- From: Stephen Bash [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 2:35 AM To: user@castor.codehaus.org Subject: Re: [castor-user] Supress Namespaces Hi all- Hopefully this isn't redundant, but I believe if you use the setNamespaceMapping

Re: [castor-user] Supress Namespaces

2007-03-27 Thread Keith Visco
] Sent: Friday, March 23, 2007 2:35 AM To: user@castor.codehaus.org Subject: Re: [castor-user] Supress Namespaces Hi all- Hopefully this isn't redundant, but I believe if you use the setNamespaceMapping method on a Marshaller object (i.e. using the NON-static marshal method), the namespace mapping

AW: [castor-user] Supress Namespaces

2007-03-23 Thread Werner Guttmann
on the classpath, you should get e.g. namespaces in your XML document instances as defined in your XML schema. Werner -Ursprüngliche Nachricht- Von: Uday Kari [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 23. März 2007 02:52 An: user@castor.codehaus.org Betreff: [castor-user] Supress

AW: [castor-user] Supress Namespaces

2007-03-23 Thread Werner Guttmann
: Freitag, 23. März 2007 03:16 An: user@castor.codehaus.org Betreff: RE: [castor-user] Supress Namespaces B. (prefer this) one of us extends the API within org.exolab.castor.xml.Marshaller to provide method suppressNamespacesInAllChildElements() or showNamespacesInTopElementOnly

Re: [castor-user] Supress Namespaces

2007-03-23 Thread Stephen Bash
. Werner -Ursprüngliche Nachricht- Von: Uday Kari [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 23. März 2007 03:16 An: user@castor.codehaus.org Betreff: RE: [castor-user] Supress Namespaces B. (prefer this) one of us extends the API within org.exolab.castor.xml.Marshaller

RE: [castor-user] Supress Namespaces

2007-03-23 Thread Uday Kari
@castor.codehaus.org Subject: Re: [castor-user] Supress Namespaces Hi all- Hopefully this isn't redundant, but I believe if you use the setNamespaceMapping method on a Marshaller object (i.e. using the NON-static marshal method), the namespace mapping will be declared at the top level and any child

Re: [castor-user] Supress Namespaces

2007-03-23 Thread Stephen Bash
%20AKamp;type=Tide%20Data; / /wls /gauges -Original Message- From: Stephen Bash [mailto:[EMAIL PROTECTED] Sent: Friday, March 23, 2007 2:35 AM To: user@castor.codehaus.org Subject: Re: [castor-user] Supress Namespaces Hi all- Hopefully this isn't redundant, but I believe if you use

RE: [castor-user] Supress Namespaces

2007-03-22 Thread Karr, David
-Original Message- From: Uday Kari [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 6:52 PM To: user@castor.codehaus.org Subject: [castor-user] Supress Namespaces Praveen: Thanks for the prompt response! Indeed...it works. To clarify, you mean call

RE: [castor-user] Supress Namespaces

2007-03-22 Thread Uday Kari
Subject: RE: [castor-user] Supress Namespaces Generally it's a cosmetic issue, yes. In certain circumstances, it might have a performance impact (having the xmlns in every element), but I wouldn't try to solve this problem unless you're really sure (by measuring) that it causes a problem

Re: [castor-user] Supress Namespaces

2007-03-22 Thread Praveen Jani
Yup I meant TRUE. It was that classroom situation where you want to raise your hand and say Oh I know, I know ... :-) Uday Kari [EMAIL PROTECTED] wrote: Praveen: Thanks for the prompt response! Indeed...it works. To clarify, you mean call Marshaller.setSuppressNamespaces(TRUE), not false,