-
Type: Bug
-
Status: Applied
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: ODF 1.2 CD 05
-
Fix Version/s: ODF 1.2 CD 06
-
Component/s: Part 3 (Schema) [1.2: 1], Table
-
Labels:None
-
Proposal:
-
Resolution:
The special syntax for table:condition is ambiguous.
In the first paragraph, it is said that the namespace prefix (default or otherwise) applies to the syntax and semantics of values, strings, and expressions.
To then stipulate the syntax of value and string is peculiar.
I think the repair should be in the first paragraph, where the namespace governs only the syntax and semantics of the expression pattern. This allows simple table:condition forms that avoid dependence on any separate formula specification altogether.
However it does mean that we have trouble when an expression under the namespace has exactly the same lexical appearance as what is defined here as a value or string pattern. I would suggest that the value and string rules would have precedence and expression is to be considered only when the the occurence is not a well-formed value or string.
Finally, I note that the statement about leading "=" is worded as if it is a restriction on Part 2. I believe there is a separate proposal to strike that.
The repair to this should allow a table:condition that has simple values and strings as operands without any use of namespace-determined expressions.