[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: OpenFormula: 5.14 White Space Clarification
In Document OpenDocument-formula-20080516: Section 5.14 Whitespace, second paragraph is contradictory. The character entity for ASCII character 10 (LF control code) is "�A;" and that is indeed the normal C-Locale treatment of character literal '\n'. (0x0D is the CR control code, '\r', ASCII code 13) - - - - - - - - - Incidental observations: 1. The use of C-isms, such as "(\n)" are probably inappropriate here. Also, ASCII is not quite it. It might be more appropriate to reference against Unicode, using U+000A or '\u000A' and then explicitly define the restrictions on character codes made for OpenFormula. 2. If the XML Specification's form of EBNF is adopted, you could create non-terminals for these codes using that specification's notation for literal Unicode code-points. (I haven't checked the ISO EBNF to see if it handles that.) 3. space, tab, newline, and carriage return should probably be explicitly defined, giving the corresponding codes, with some indication that there are no other code points recognized as white space in OpenFormula formulae coded in XML attribute values. (This rules out some other Unicode code points outside of the C0 Controls and Basic Latin block that constitute flavors of white space.) [These are incidental observations because I haven't checked everywhere in the ODF and OpenFormula drafts to see if this is already addressed somewhere.] - Dennis Dennis E. Hamilton ------------------ NuovoDoc: Design for Document System Interoperability mailto:Dennis.Hamilton@acm.org | gsm:+1-206.779.9430 http://NuovoDoc.com http://ODMA.info/dev/ http://nfoWorks.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]