Ticket #1234 (closed defect: fixed)

Bug contains 38 commit(s) | SVN Diffs for #1234

 

Opened 7 years ago

Last modified 2 years ago

Add &functions to Transliterator output

Reported by: mark.davis(at)us.ibm.com Assigned to: alan
Priority: Milestone:
Component: unknown Version: 1.8.1
Keywords: closed Cc:
Load: Xref:
Java Version: Operating System: all
Project (C/J): Weeks: 0
Review: doug & mark davis

Description

Post 2.0 RFE

Add &function(x,y,...) syntax to the Transliterator output.

A small number of useful functions could be supported at first:

toLower(x) toUpper(x) toTitle(x) fromNumber(x) toNumber(x,radix,padToCount)

These will make a number of the rule sets simpler and easier to maintain, and allow more flexibility. For example, to do an XML style to/from hex converter one could have:

$decimal = [0-9] ; $hex = [0-9a-fA-F] ;

(.) > '&#x' &toNumber($1,16,0) ';' ;

&fromNumber($1) < '&#x' ( $hex * ) ';' ;

&fromNumber($1) < '&#' ( $decimal * ) ';' ;

Attachments

Change History

12/31/69 16:26:48 changed by notes

assigned to: alan reviewer: doug & mark davis target: 2002q1

12/31/69 16:26:49 changed by auditor

  • 10/30/01 12:40:12 alan moved from incoming to transliterate
  • 11/07/01 15:54:36 alan changed notes
  • 11/30/01 22:04:41 mark moved from transliterate to feature
  • 12/10/01 17:34:33 alan moved from feature to transliterate
  • 03/21/02 16:31:30 alan changed notes
  • 03/22/02 15:34:17 dougfelt moved from transliterate to fixed
  • 04/05/02 16:15:46 schererm changed notes
  • 07/29/02 18:14:42 schererm moved from fixed to closed

01/09/07 15:07:59 changed by

  • milestone deleted.

Milestone 2002q1 deleted


Add/Change #1234 (Add &functions to Transliterator output)




Anti spam check: