Forums » #117 - DFDL v1.0 Revision »
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).
Resolved: fn:substring-before returns 'collation units' - no definition for this - Added by Steve Hanson over 8 years ago
New erratum 4.12 in experience document 1.
DONE - RE: fn:substring-before returns 'collation units' - no definition for this - Added by Michael Beckerle over 8 years ago
Changes in draft-gwdrp-dfdl-v1.0.4-r06.docx
DONE - RE: fn:substring-before returns 'collation units' - no definition for this - Added by Steve Hanson about 8 years ago
(1-5/5)