I've run into an age-old issue but I don’t
see any off-the-shelf solutions for.
Suppose I have 2 XML documents I want to
compare (not diff, just give me yes/no are they equivalent).
This is pretty simple to do even with
things like ignoring whitespace options etc. Many tools out
there, including one I wrote
Now here's the twist …
Suppose I want to compare for XSD data
model equivalence, not XDM equivalence ?
Without type annotation these are
But if I declare the type for number to be xs:double
they should compare equal.