This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In http://www.w3.org/TR/xquery-11/#prod-xquery11-DecimalFormatDecl , there is the following EBNF definition of a Decimal Format Declaration: "declare" (("decimal-format" QName) | ("default" "decimal-format")) (DFPropertyName "=" StringLiteral)* The last portion seems to allow omission of DFPropertyName-value pairs. If there is some reason to allow such a declaration without a DFPropertyName, I think it should be spelled out. If not, I believe the "*" should be changed to a "+".
It's entirely reasonable to declare a decimal format in which all the properties are defaulted. If someone does format-number(123.456, '##.###', $myformat) then $myformat must be the name of a format declared in the prolog, and it's entirely reasonable for one of the formats to use system defaults for all properties.
Ok, that is reasonable. I think it might help to spell that fact out though.
(In reply to comment #2) > Ok, that is reasonable. I think it might help to spell that fact out though. The Working Group agrees. We will explain this in the text.