W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2001

RE: Schema being imported multiple times

From: <Noah_Mendelsohn@lotus.com>
Date: Wed, 31 Oct 2001 21:41:49 -0500
To: "Alexander Falk" <al@altova.com>
Cc: ht@cogsci.ed.ac.uk, mfeblowitz@frictionless.com, support@xmlspy.com, xmlschema-dev@w3.org
Message-ID: <OF3B207EB1.32C6B4E7-ON85256AF7.000F47B4@lotus.com>
Alexander Falk writes:

>> But as long as there is no standardized 
>> (i.e. W3C-endorsed) way of doing this,

The schema spec requires that you not include conflicting definitions or 
declarations for the same component.  If you know from your runtime that 
you are in fact about to open the same file you just parsed, then it's 
clear you're getting the same definitions and decls (unless I'm missing 
something subtle).  So, I believe that the schema spec does sanction your 
using any means you can that will ensure consistent definitions and 
declarations.  If you keep a filename or URI list, I think you are OK. 
What is not in general efficient is looking for duplicates when importing 
files or web resources that are accidently the same, I.e. ones for which 
the names or URIs are different, but the contents are the same or 
consistent at the component level.  That you have to check the hard way, 
but that is a rarer case I would think. 

Noah Mendelsohn                                    Voice: 1-617-693-4036
Lotus Development Corp.                            Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
Received on Wednesday, 31 October 2001 21:53:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:55 UTC