;
/
/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
]
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
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
: 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
.
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
@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
%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
-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
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
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,
10 matches
Mail list logo