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

[Bug 5476] xsi:schemaLocation should be a hint, should be MAY not SHOULD

From: <bugzilla@wiggum.w3.org>
Date: Wed, 13 Feb 2008 09:20:40 +0000
CC:
To: www-xml-schema-comments@w3.org
Message-Id: <E1JPDnE-0002C2-As@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5476





------- Comment #1 from mike@saxonica.com  2008-02-13 09:20 -------
I hate the word "hint" with its connotation of "do whatever you feel like".

I would prefer this to read:

If directed to do so, for example by the invoking 
    application or by command line option, processors should
    attempt to dereference each schema document location URI 
    in the ·actual value· of such xsi:schemaLocation and 
    xsi:noNamespaceSchemaLocation [attributes]

It's not really a substantive change because choice of defaults is up to the
API designer, but it sets expectations differently.

There are some validators out there that require you to add an
xsi:schemaLocation attribute before you can validate the instance. I would love
to make that illegal, though on balance I'm happy to let the market decide
whether it wants such products or not. But I certainly think we should set the
expectations a bit differently.
Received on Wednesday, 13 February 2008 09:20:53 GMT

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