This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /boards/15/topics/60?r=397 at Thu, 03 Nov 2022 15:40:59 GMT fn:substring-before returns 'collation units' - no definition for this - Public Comments Archive - Open Grid Forum

fn:substring-before returns 'collation units' - no definition for this

Added by Michael Beckerle about 9 years ago

for fn:substring-before and fn:substring-after, the spec says: Returns the collation units of one xs:string that precede in that xs:string the collation units of another xs:string. A collation may be specified.

Glossary doesn't include 'collation units' or 'collation'. How does one specify a 'collation' (it's a string as that's the type of the optional 3rd arg)? I think "collation units" means a string, but this is really unclear.

We either need to xref to XPath more explicitly here, or provide more information. If we keep this terminology, it should go into the glossary, unless it is used ONLY here.


Replies (5)

Action 240 - RE: fn:substring-before returns 'collation units' - no definition for this - Added by Michael Beckerle almost 9 years ago

Ideas: eliminate collation from DFDL functions (there are more than just the two mentioned). Provide glossary def for collation and specify that DFDL uses the default Unicode collation order (just codepoint comparison).

Resolved - Action 240 - RE: fn:substring-before returns 'collation units' - no definition for this - Added by Michael Beckerle almost 9 years ago

Drop forms of all functions that take collation as argument.

Change wording "collation unit" replaced by "character"

Add to description that DFDL always uses the default unicode collation algorithm (which is comparison of codepoint values).

(1-5/5)

This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /boards/15/topics/60?r=397 at Thu, 03 Nov 2022 15:40:59 GMT