- From: WJ Krpelan <krpelan_wj@yahoo.com>
- Date: Thu, 10 Jan 2008 02:15:47 -0800 (PST)
- To: xmlschema-dev@w3.org
Hi everyone, schemaLocation is optional according to XML-Schema and meant only as a hint. a xml-processor, if paying respects to schemaLocation at all, will get tbe first schema-document referring to some namespace it can get hold of and (hopefully) ignore the rest. I would think it btw very bad practice to use identical references to different content. Imagine URLs pointing at different destinations chosen at random. Cheers Wolfgang Krpelan IT-Architect --- "Henry S. Thompson" <ht@inf.ed.ac.uk> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Eliot Kimber writes: > > > Having thought it about just now, it seems clear > that the redefine > > feature definitely precludes caching of > modules-as-redefined used via > > xs:include (that is, modules in the same namespace > or no-namespace) > > and might preclude caching). The best you could do > is cache modules in > > their unmodified state and apply redefines > dynamically as you process > > top-level schemas. > > Right -- so my point would be, _this_ case at least > is not a > corner-case wrt xs:redefine as such, but rather an > issue for > namespace/schema/cache management in > multiple-validation-session > contexts. Many/most of the relevant issues might > arise without > redefine being involved at all, e.g. if I have two > documents which > share a namespace but have xsi:schema-location hints > pointing to > differing schemas (e.g. different versions) for that > namespace. > > ht > - -- > Henry S. Thompson, HCRC Language Technology Group, > University of Edinburgh > Half-time member of W3C Team > 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND > -- (44) 131 650-4440 > Fax: (44) 131 650-4587, e-mail: > ht@inf.ed.ac.uk > URL: http://www.ltg.ed.ac.uk/~ht/ > [mail really from me _always_ has this .sig -- mail > without it is forged spam] > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > > iD8DBQFHhNPWkjnJixAXWBoRAmckAJ9qBNHxprgrqO/jl/uldBx9tdQ99gCeJGUk > bLOYqRaajzo3j8A6PDMhIxM= > =phfU > -----END PGP SIGNATURE----- > > ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
Received on Thursday, 10 January 2008 10:16:02 UTC