Hi Patrick,
I guess this depends on whether your proposal is for Approved Errata 02 or
only for ODF 1.2.
We can't make a specific syntax requirement here for Approved Errata
unless it we are sure that this change would not cause existing conformant
implementations to be non-conformant. That is why I suggested removing
the "typical syntax" altogether. Obviously this is far from ideal, but
such are the limitations of OASIS errata.
For ODF 1.2, I'd probably go with:
"The value of this attribute shall be a string consisting of an optional
namespace prefix followed by a Boolean expression."
Going forward do we really need to support the no prefix case?
-Rob
----- Forwarded by Robert Weir/Cambridge/IBM on 09/28/2009 02:57 PM -----
Patrick Durusau <> wrote on 09/28/2009 10:27:11 AM:
> You had a suggestion for:
>
> http://tools.oasis-open.org/issues/browse/OFFICE-1812
>
> The current text reads:
>
> > The |table:condition| attribute specifies the condition that
> > determines whether a cell content is valid in regard to a validation
> > rule or not. A cell content is valid if the condition evaluates to
> > ?true?. The value of this attribute should be a namespace prefix,
> > followed by a Boolean expression. If the namespace prefix is missing
> > it defaults to the "urn:oasis:names:tc:opendocument:xmlns:of:1.2"
> > namespace.
> >
> > The defined conditions are:
> >
> > *
> >
> > |Condition ::= ExtendedTrueCondition | TrueFunction 'and'
> > TrueCondition|
> >
> > *
> >
> > |ExtendedGetFunction ::=
> > cell-content-text-length-is-between(Value, Value) |
> > cell-content-text-length-is-not-between(Value, Value) |
> > cell-content-is-in-list( StringList )|
> >
> > *
> >
> > |ExtendedTrueCondition ::= ExtendedGetFunction |
> > cell-content-text-length() Operator Value|
> >
> > *
> >
> > |A Formula|| is a formula without an equals (=) sign at the
> > beginning.|
> >
> > *
> >
> > |GetFunction ::= cell-content-is-between(Value, Value) |
> > cell-content-is-not-between(Value, Value)|
> >
> > *
> >
> > |A NumberValue is a whole or decimal number. It shall not
> > contain comma separators for numbers of 1000 or greater.|
> >
> > *
> >
> > |Operator ::= '<' | '>' | '<=' | '>=' | '=' | '!='|
> >
> > *
> >
> > |A String|| comprises one or more characters surrounded by
> > quotation marks.|
> >
> > *
> >
> > |StringList ::= StringList ';' String | String|
> >
> > *
> >
> > |TrueCondition ::= GetFunction | cell-content() Operator Value|
> >
> > *
> >
> > |TrueFunction ::= cell-content-is-whole-number() |
> > cell-content-is-decimal-number() | cell-content-is-date() |
> > cell-content-is-time() | cell-content-is-text()|
> >
> > *
> >
> > |Value ::= NumberValue | String | Formula|
> >
> If you have time can you look at your comment and see if this satisfies
> you comment and that of Makoto?
>
> Thanks!
>
> Hope you are at the start of a great week!
>
> Patrick
>
> --
> Patrick Durusau
>
> Chair, V1 - US TAG to JTC 1/SC 34
> Convener, JTC 1/SC 34/WG 3 (Topic Maps)
> Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300
> Co-Editor, ISO/IEC 13250-1, 13250-5 (Topic Maps)
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this mail list, you must leave the OASIS TC that
> generates this mail. Follow this link to all your TCs in OASIS at:
> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
>