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

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 UTC