[Bug 1967] [F+O] Year Zero

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





------- Additional Comments From colin@colina.demon.co.uk  2005-09-03 08:01 -------
I think that's an excellent suggestion. I've been thinking about this issue this
very week, and very gloomy thoughts they were too.
Some error codes will be needed (at least two - one for literal dates that are
too early, and one for the results of computations).

Should there be a system-property() key to test the availability of early dates?
My initial tought is that the answer is probably no, as I cannot see how the
author of a stylesheet can do much about the situation. My next thought is that
a user-friendly diagnostic could be given.
Perhaps a more useful system-property() key would be the level of XML Schema
that is supported, as this property might not be redundant in XPath 2.1/3.0.

I can see a problem for schema-aware processors though - what will happen when
you try to validate a stylesheet contain a date in year zero? If it's using XML
Schema 1.0, presumably it will fail validation.
I guess just this means a schema-aware processor cannot implement this option
unless it also has a validating parser with the same behaviour.

Received on Saturday, 3 September 2005 08:01:57 UTC