Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#467 Negative zero durations

v8.6.1
closed
Michael Kay
5
2012-10-08
2006-02-03
Michael Kay
No

In general, Saxon is not recognizing a negative zero
duration as equivalent to a positive zero duration. For
example "-PT0S" compares not equal to "PT0S", and is
displayed with a minus sign when converted to a string.

Although none of the specs are 100% explicit that -PT0S
and PT0S represent the same duration value, it's the
only sensible interpretation.

Discussion