qt4cg / qtspecs

QT4 specifications
https://qt4cg.org/
Other
28 stars 15 forks source link

fn:deep-equal: default option #1462

Open ChristianGruen opened 1 month ago

ChristianGruen commented 1 month ago

The default value for the option parameter of fn:deep-equal is:

{ 'collation': fn:default-collation() }

Can we simply use {}, or is there a particular reason for mentioning the collation and no other option?

michaelhkay commented 1 month ago

The particular reason is an attempt (I don't know if it's entirely successful) to ensure that all dependencies of functions on the static and dynamic context are captured in default values for function parameters.