On Mon, 10 Mar 2003 11:32:29 -0800, Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_sun.com> wrote:
>> >- Suppose the original output was
>> >
>> > <ns1:root ns1:att="foo" xmlns:ns1="uri1"> bar </ns1:root>
>> >
>> > Mapping uri1 to "" will change it to
>> >
>> > <root att="foo" xmlns="uri1"> bar </root>
>> >
>> > But this is wrong.
>>
>> I don't see what is wrong with that one.
>
>Well, that's why our default XML output is not so nice :-)
>we felt that marshalling things correctly is more important than
>marshalling things beautifully.
No, I meant, I don't see anything wrong with that. Don't they mean the same thing? Specifically:
1) 'root' is in the namespace defined by 'uri1'
2) 'att' is in scope of 'root' which is in 'uri1'
Malachi