From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,4dde1b456a42123c,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Tiny error in ARM 2012 ? (about characters) Date: Mon, 24 Jan 2011 00:43:26 +0100 Organization: Ada @ Home Message-ID: NNTP-Posting-Host: VW9mNFblv9T62deBHlS8Vw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/11.00 (Win32) Xref: g2news2.google.com comp.lang.ada:17615 Date: 2011-01-24T00:43:26+01:00 List-Id: Hillo, I do not know if I've missed something. I am currently adding an Ada = colorizer to an editor, and I decided to use the ARM 2012 instead of ARM= = 2005 (for fun). It appears the wording in 2.1 are not exactly the same a= ny = more as in ARM 2005 (didn't suspected this section could be updated). Unless I've missed something, is appears to exclude the space in source = = text. 2.1 is here: http://www.ada-auth.org/standards/12rm/html/RM-2-1.html 2.1(4/3) says > The only characters allowed outside of comments are those in > categories other_format, format_effector, and graphic_character. Other,Format: http://www.fileformat.info/info/unicode/category/Cf/list.htm No space Format_Effector, defined by 2.1(13/2) to be U+09..U+0D,U+85, and Separator,Line and Separator,Paragraph. Separator,Line http://www.fileformat.info/info/unicode/category/Zl/list.htm is U+2028 Separator,Paragraph http://www.fileformat.info/info/unicode/category/Zp/list.htm is U+2029 From a strict interpretation (in my possibly erroneous interpretation) = of = the ARM 2012, the character U+20 is not allowed outside of comments. Seem the category Separator,Space http://www.fileformat.info/info/unicode/category/Zs/list.htm is missing from Format_Effector. It is safe, as luckily this does not = include the zero-width space (U=3D200B) nor the zero-width no-break spac= e = (U+FEFF), which would be both unsafe. Separator,Space is defined in = 2.1(11/2), but not referred to. Guess if I missed something, I am really foolish here :D (oops) -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens. =E2=80=9CI am fluent in ASCII=E2=80=9D [Warren 2010]