Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Implementations/Non-Implementations of xs:redefine?

From: WJ Krpelan <krpelan_wj@-----.--->
To: xmlschema-dev@--.---
Date: 1/9/2008 6:16:00 PM
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@i...> 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@i...
>                    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

From saisuman@t... Thu Jan 10 15:37:26 2008
Received: from wiggum.w3.org ([128.30.52.23])
	by frink.w3.or


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent