|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Including schemata with duplicate referents
From: Michael Kay <mike@saxonica.com>
Date: Fri, 5 Nov 2004 20:56:26 -0000 To: "'Alessandro Triglia'" <sandro@mclink.it>, <xmlschema-dev@w3.org> Message-Id: <E1CQB8M-0006bB-00@ukmail1.eechost.net> > Yes, but you are saying "from" a component. When a <schema> > includes another <schema>, there must be a valid Schema > corresponding to the included <schema>. Unless there are > circular includes/imports, it must be possible to resolve all > the references in the included <schema> before doing the > inclusion, otherwise you won't have a "valid schema". No, we had a discussion on that point on this list a few weeks ago. Section 4.2.1 says: <quote> As discussed in Missing Sub-components (§5.3), ·QName·s in XML representations may fail to ·resolve·, rendering components incomplete and unusable because of missing subcomponents. During schema construction, implementations must retain ·QName· values for such references, in case an appropriately-named component becomes available to discharge the reference by the time it is actually needed. </quote> Despite various other phrases that appear to contradict this, it seems that the intent of the spec is that when <schema> A includes <schema>s B and C, you can have references from components in B to components in C, and from B to A. Michael KayReceived on Friday, 5 November 2004 20:56:33 GMT |
Subscribe in XML format
|






