W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2000

locally scoped element decls and namespaces

From: Gabe Beged-Dov <begeddov@jfinity.com>
Date: Mon, 03 Jan 2000 10:10:50 -0800
Message-ID: <3870E62A.8C62FE4@jfinity.com>
To: XML List <xml-dev@ic.ac.uk>
CC: xml-schema-comments <www-xml-schema-comments@w3c.org>
I have a hopefully simple question concerning locally
scoped element decls and namespaces. Here is an example

<schema targetNamespace='urn:person-schema'>
        <type name='Person'>
                <element name='fname' type='string' />
                <element name='lname' type='string' />
        <element name='Person' type='Person' />

Given this schema, here is an instance:

<t:Person xmlns:t='urn:person-schema'

Is this right or should fname and lname be bound to the
same namespace as Person, i.e.: 

<t:Person xmlns:t='urn:person-schema'

Cordially from Corvallis,

Gabe Beged-Dov

Received on Monday, 3 January 2000 13:26:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:51 UTC