Re: [xml-dev] targetNamespace and default namespace

From
Elliotte Rusty Harold <>
To
Thomas Passin <>
Date
2016-09-29T21:05:22Z
ID
<CAGhczrp=Gswx8DFqjB171nW+t7=NLE=>
Thread
Re: [xml-dev] targetNamespace and default namespace
FYI

https://bugs.eclipse.org/bugs/show_bug.cgi?id=502693

On Thu, Sep 29, 2016 at 1:32 PM, Thomas Passin <> wrote:
> I seem to remember from way back a lot of discussion about how you would be
> able to use elements from another namespace or schema, if they weren't
> qualified somehow.  That might have been mostly about inserting XML
> fragments from one document into another, I don't remember too clearly.  It
> would have lead to not wanting to default namespaces to that of the parent
> element.
>
> TomP
>
> On 9/29/2016 11:26 AM, Michael Kay wrote:
>>
>> omeone, I think, had the bright idea that if a container element is
>> in a namespace
>>
>> <svg:svg xmlns:svg="http://svg.com/">
>>      <rectangle/>
>>      <circle/>
>> </svg:svg>
>>
>> then there is no good reason why its children need to be in a
>> namespace: like attributes, they are scoped by the container. The
>> idea didn't catch on, but the schema spec was written in the belief
>> that this was the way forwards.
>
>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: 
> subscribe: 
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



-- 
Elliotte Rusty Harold