Kohsuke Kawaguchi wrote:
> Paul Sandoz wrote:
>
>> Kohsuke Kawaguchi wrote:
>>
>>> Paul Sandoz wrote:
>>>
>>>> Hi Kohsuke,
>>>>
>>>> A couple of questions on namespaces.
>>>>
>>>> When serializing "bound XML" will the XML namespace ever be declared
>>>> such that it will be written?
>>>
>>>
>>>
>>> You mean it will be "overwritten"? I suspect that it doesn't.
>>>
>>
>> No, i mean will it ever get serialized as a namespace attribute?
>
>
> Maybe I misunderstood what "bound XML" means, then. Namespace
> declarations are certainly serialized (or else it won't be a valid XML!)
>
> I must be missing your point.
>
:-) yet it is really confusing.
An example:
<a xmlns:xml="http://...." xml:lang="en"/>
^
|
Will this ever get written out
when 'a' and 'xml:lang' are bound by
JAXB?
I do not think it will, or i suppose it is up to the serialization
implementation to make sure it does not.
Paul.
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109