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
To: www-xml-schema-comments@w3.org
Message-Id: <E1JPDnE-0002C2-As@wiggum.w3.org>


------- 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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:07 UTC