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

Support for multiple schema for one namespace

From: Arnold, Curt <Curt.Arnold@hyprotech.com>
Date: Mon, 31 Jan 2000 14:30:18 -0700
Message-ID: <00E567D938B9D311ACEC00A0C9B468730C7520@THOR>
To: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
The current mechanism for associating a schema with a document only allows
one schema per namespace per document.  There may be instances where this
limitation causes significant problems.  For instance, if an clipping agent
was scanning documents that had declared the XHTML namespace but were using
different schemas (one strict, the other transitional) and was trying to
build a composite document that contained fragments from each type of
document.  Unless the clipping agent had knowledge of the schemas and knew
that one was a superset of the other, it could not resolve which one schema
it should declare for the namespace in the combined document.  I would
suggest associating schema locations with namespace prefixes.

Some other notes:

I had suggested a type attribute for the <info> element that would have an
open enumeration containing predefined values like "remarks".  In addition
to the values that I had listed, a value of "legal" for the legalese that we
are compelled to put into everything that goes out the door would be useful.
Received on Monday, 31 January 2000 16:32:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:46 GMT