Greetings!
That HTML email is awful! Converted to text for a more sensible reply.
On 7/7/2024 5:12 AM, Regina Henschel via OASIS wrote:
010001908c77005c-52b70023-66d2-44b7-ae14-2fa8ee30471e-000000@email.amazonses.com"> Hi Patrick, hi all, "any" is broad. But how to write it? Maybe 'Integer|Array' to restrict it a little bit?
Why not Boolean since it is restricted to 1, -1? Defaults to 1.
010001908c77005c-52b70023-66d2-44b7-ae14-2fa8ee30471e-000000@email.amazonses.com"> 'positiveInteger' does not exist as parameter type in part 4.
True.
Francis: We never normatively reference part 3 in part 4. Bug?
Of course then we need to be careful that none of the datatypes conflict.
Perhaps better to treat absence of positiveInteger as a bug for ODF 1.5?
010001908c77005c-52b70023-66d2-44b7-ae14-2fa8ee30471e-000000@email.amazonses.com"> I just see, a constrain for Sort_index is missing: The values in an array need to be unique.
Yes, good catch!
010001908c77005c-52b70023-66d2-44b7-ae14-2fa8ee30471e-000000@email.amazonses.com"> And perhaps put the sentence "The array may be given by reference, as function result or as inline array." in a Note? It is valid for Sort_index and Sort_order.
Do you mean to say the Sort_Index and Sort_Order may be given by an array separate from the array of values?
010001908c77005c-52b70023-66d2-44b7-ae14-2fa8ee30471e-000000@email.amazonses.com"> BTW, I can still not upload a file 'multilevelSort.ods'. Error message: "Must be a supported file. Unable to upload."
I saved your file on this issue with a test name and uploaded it to misc.
Look under workspace. The site is still odd and changing. Maybe it will work today.
Thanks for all your work on this!
Patrick
010001908c77005c-52b70023-66d2-44b7-ae14-2fa8ee30471e-000000@email.amazonses.com"> ------------------------------ Regina Henschel The Document Foundation Dortmund ------------------------------
Original Message: Sent: 07-06-2024 21:09 From: Patrick Durusau Subject: Question on Sort proposal - Greetings! On the data type question in: https://issues.oasis-open.org/browse/OFFICE-4157 <https://issues.oasis-open.org/browse/OFFICE-4157> Any seems awfully broad for values limited to -1 and 1. That said, I don't think the suggested ForceArray Reference|Array captures positive integer values as a data type. Is the data type positive integer with its expression the matter of a note? Hope everyone is having a great weekend! Patrick Reply to Sender : https://groups.oasis-open.org/eGroups/PostReply/?GroupId=205&MID=512537&SenderKey=69788570-5b00-4c96-bc1c-018dc8275051 Reply to Discussion : https://groups.oasis-open.org/eGroups/PostReply/?GroupId=205&MID=512537 You are subscribed to "OASIS Open Document Format for Office Applications (OpenDocument) TC" as patrick@durusau.net. To change your subscriptions, go to http://oasis.connectedcommunity.org/preferences?section=Subscriptions. To unsubscribe from this community discussion, go to http://oasis.connectedcommunity.org/HigherLogic/eGroups/Unsubscribe.aspx?UserKey=a44d2e26-401b-4705-8352-018dc8f934a8&sKey=KeyRemoved&GroupKey=ec376088-2870-492a-bfaa-018dce24bbc9.
Original Message:
Sent: 7/7/2024 5:12:00 AM
From: Regina Henschel
Subject: RE: Question on Sort proposal -
Hi Patrick, hi all,
"any" is broad. But how to write it? Maybe 'Integer|Array' to restrict it a little bit?
'positiveInteger' does not exist as parameter type in part 4.
I just see, a constrain for Sort_index is missing: The values in an array need to be unique.
And perhaps put the sentence "The array may be given by reference, as function result or as inline array." in a Note? It is valid for Sort_index and Sort_order.
BTW, I can still not upload a file 'multilevelSort.ods'. Error message: "Must be a supported file. Unable to upload."
------------------------------
Regina Henschel
The Document Foundation
Dortmund
------------------------------