https://saxonica.plan.io/https://saxonica.plan.io/favicon.ico2022-02-15T17:08:23ZSaxonica Developer CommunitySaxon - Bug #5324: format-integer: French ordinalshttps://saxonica.plan.io/issues/5324?journal_id=195172022-02-15T17:08:23ZChristian Grünchristian.gruen@gmail.com
<ul></ul><p>Sorry, it should have been <code>format-integer</code> in the title (it seems I don’t have enough permissions to fix this).</p> Saxon - Bug #5324: format-integer: French ordinalshttps://saxonica.plan.io/issues/5324?journal_id=195182022-02-15T21:37:05ZMichael Kaymike@saxonica.com
<ul><li><strong>Subject</strong> changed from <i>format-date: French ordinals</i> to <i>format-integer: French ordinals</i></li></ul> Saxon - Bug #5324: format-integer: French ordinalshttps://saxonica.plan.io/issues/5324?journal_id=195192022-02-15T21:53:43ZMichael Kaymike@saxonica.com
<ul></ul><p>Indeed, Saxon-HE produces <strong>six mille centième</strong>. Saxon-PE and -EE produce <strong>sept millième</strong>.</p>
<p>(Saxon-PE and -EE use ICU4J; Saxon-HE uses some user-contributed code attributed to Luc Rochefort.</p>
<p>Not sure what to do about this; the use of the old user-contributed numberers in Saxon-HE is an awkward compromise based primarily on commercial rather than technical considerations. We've wanted to get rid of them for years but we've been indecisive about dropping the localisation support entirely, versus supporting ICU4J in Saxon-HE. One way forward might be:</p>
<ul>
<li>
<p>drop the user-contributed Numberers</p>
</li>
<li>
<p>for date/time formatting in Saxon-HE, use whatever the JDK gives us - for all languages that the JDK supports</p>
</li>
<li>
<p>for spell-out numbering, drop the feature from Saxon-HE.</p>
</li>
</ul>
<p>This would be consistent with what we do for collation support.</p> Saxon - Bug #5324: format-integer: French ordinalshttps://saxonica.plan.io/issues/5324?journal_id=222222022-12-07T17:32:10ZMichael Kaymike@saxonica.com
<ul></ul><p>Saxon-EE (with ICU) produces</p>
<pre><code> 7000 = sept millième
7001 = sept mille-et-unième
7010 = sept mille dixième
7050 = sept mille cinquantième
7070 = sept mille soixante-dixième
7071 = sept mille soixante-et-onzième
7100 = sept mille centième
</code></pre>
<p>Saxon-HE (Luc Rochefort's contributed numberer) gives</p>
<pre><code>7000 = six mille centième
7001 = six mille cent unième
7010 = six mille cent dixième
7050 = six mille cent cinquantième
7070 = six mille cent soixante-dixième
7071 = six mille cent soixante et onzième
7100 = sept mille centième
</code></pre>
<p>There's special logic to do this! If I remove it, I get</p>
<pre><code>7000 = sept millième
7001 = sept mille unième
7010 = sept mille dixième
7050 = sept mille cinquantième
7070 = sept mille soixante-dixième
7071 = sept mille soixante et onzième
7100 = sept mille centième
</code></pre>
<p>which is close enough to the ICU results.</p>
<p>For 9000+ (where there is also custom logic) ICU gives</p>
<pre><code>9000 = neuf millième
9001 = neuf mille-et-unième
9010 = neuf mille dixième
9050 = neuf mille cinquantième
9070 = neuf mille soixante-dixième
9071 = neuf mille soixante-et-onzième
9100 = neuf mille centième
</code></pre>
<p>Saxon-HE (after the change) -- the numberer produced by Karel Goossens -- gives</p>
<pre><code>9000 = neuf millième
9001 = neuf mille unième
9010 = neuf mille dixième
9050 = neuf mille cinquantième
9070 = neuf mille soixante-dixième
9071 = neuf mille soixante et onzième
9100 = neuf mille centième
</code></pre>
<p>For fr-BE, ICU gives</p>
<p>9000 = neuf millième
9001 = neuf mille-et-unième
9010 = neuf mille dixième
9050 = neuf mille cinquantième
9070 = neuf mille septantième
9071 = neuf mille septante-et-unième
9100 = neuf mille centième</p>
<p>whereas Saxon-HE gives:</p>
<pre><code>9000 = huit mille centième
9001 = huit mille cent unième
9010 = huit mille cent dixième
9050 = huit mille cent cinquantième
9070 = huit mille cent soixante-dixième
9071 = huit mille cent soixante et onzième
9100 = neuf mille centième
</code></pre>
<p>I've made suitable adjustments to the fr-BE code.</p> Saxon - Bug #5324: format-integer: French ordinalshttps://saxonica.plan.io/issues/5324?journal_id=222232022-12-07T17:37:33ZMichael Kaymike@saxonica.com
<ul><li><strong>Category</strong> set to <i>Localization</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Assignee</strong> set to <i>Michael Kay</i></li><li><strong>Applies to branch</strong> <i>11, trunk</i> added</li><li><strong>Fix Committed on Branch</strong> <i>11, trunk</i> added</li><li><strong>Platforms</strong> <i>Java</i> added</li></ul> Saxon - Bug #5324: format-integer: French ordinalshttps://saxonica.plan.io/issues/5324?journal_id=224912023-01-13T23:46:51ZO'Neil Delprattoneil@saxonica.com
<ul><li><strong>Fixed in Maintenance Release</strong> <i>12.0</i> added</li></ul><p>Bug fix applied in the Saxon 12.0 major release. (Issue remains open awaiting Saxon 11 maintenance release.)</p> Saxon - Bug #5324: format-integer: French ordinalshttps://saxonica.plan.io/issues/5324?journal_id=229092023-02-08T16:24:16ZO'Neil Delprattoneil@saxonica.com
<ul><li><strong>Fixed in Maintenance Release</strong> <i>11.5</i> added</li></ul><p>Bug fix applied in the Saxon 11.5 maintenance release.</p> Saxon - Bug #5324: format-integer: French ordinalshttps://saxonica.plan.io/issues/5324?journal_id=236602023-05-02T12:59:19ZO'Neil Delprattoneil@saxonica.com
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>