Project

Profile

Help

Bug #6519

closed

Confusing documentation for otherwise

Added by Norm Tovey-Walsh 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Documentation
Sprint/Milestone:
-
Start date:
2024-08-29
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

By way of a question on the. XML.com slack, on the page about otherwise we find:

The precedence of the operator is greater than arithmetic operators (so $n div $m otherwise 1 means $n div ($m otherwise 1)), but less than the "union" operator (so a/b/c otherwise 0 means (a/b/c) otherwise 0).

But there isn't an obvious use of the union operator there. Was that meant to be (a|b|c) otherwise 0?

Please register to edit this issue

Also available in: Atom PDF