#422 deep-equal() ignores typed value of elements

v8.6
closed
5
2012-10-08
2005-11-13
Michael Kay
No

The specification of deep-equal() says that in the case
of element nodes having a simple type (or a complex
type with simple content) the typed values of the
elements should be compared. So for example 1.0
should equal 1.00 if both nodes are typed as
xs:decimal.

Saxon (8.6 and all earlier releases) ignores the type
annotation and simply compares the string values of the
elements.

Note that this will only show up in Saxon-SA.

Discussion