[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Is CDATA "structure"?
Nik O wrote: > <rant original_post_to="Z3950IW"> > <excerpt> > ..much of the internet is still constrained by Unix's feeble 7-bit character > TTY legacy. This latter issue is echoed in Java's lack of _unsigned_ bytes > (!), and XML's auto-conversion of CRLF-delimited text records to > LF-delimited records (yet another legacy/bias from Unix). > </excerpt> > <question> > Is there historical basis to the above statement? It was a deduction based > upon the old Xenix "text mode" I/O and the probability that most of the > developers of the XML standard were based in the Unix world. > </question> > </rant> Java doesn't have unsigned arithmetic values (and type *byte* is meant to be arithmetic) because they have all kinds of surprising results if misused: see the relevant sections of _Writing Solid C_. The purposes served by unsigned bytes are better served by characters; you can't just cast bytes to characters, though, but need to use c = b < 0 ? b + 256 : b instead. The use of LF as newline is Unix, but is also ISO; the character code was explicitly ambiguous between advance-paper and go-to-new-line. In the rarely used C1 character set, there are two separate control characters to disambiguate these functions. As for "TTY legacy", real Teletypes (at least models 33/35) want CR/LF, not just LF. -- John Cowan http://www.ccil.org/~cowan cowan@c... Schlingt dreifach einen Kreis um dies! / Schliesst euer Aug vor heiliger Schau, Denn er genoss vom Honig-Tau / Und trank die Milch vom Paradies. -- Coleridge / Politzer xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|