jakarta-oro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4531] New: - print/graph/punct character classes missing some chars
Date Wed, 31 Oct 2001 00:12:04 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4531>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4531

print/graph/punct character classes missing some chars

           Summary: print/graph/punct character classes missing some chars
           Product: ORO
           Version: 2.0.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Main
        AssignedTo: oro-dev@jakarta.apache.org
        ReportedBy: tlane@macromedia.com


The print, graph & punct POSIX character classes (i.e. [[:print:]]) don't match 
the following chars:

$+<=>^`|~

While it is arguable that some of all of these are not punctuation characters, 
I suspect most or all existing POSIX implementations do include them in the 
punct class. Clearly print & graph should include these no matter what.

The trouble in the code seems to be that punct relies exclusively on the 
Unicode punctuation categories, which don't include these chars, and then print 
& graph rely on punct.

You might look into including the Unicode symbol character categories in the 
punct class (Character.MATH_SYMBOL, .CURRENCY_SYMBOL, etc.) I haven't checked 
myself to see if they include everything you want (and nothing you don't), but 
they seem like good candidates.

--
To unsubscribe, e-mail:   <mailto:oro-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:oro-dev-help@jakarta.apache.org>


Mime
View raw message