ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Re: [xml-dev] Quick Review of XML 1.1 Candidate Recommendation
by John Cowan other posts by this author
Oct 16 2002 9:37PM messages near this date
Re: [xml-dev] Quick Review of XML 1.1 Candidate Recommendation | Re: [xml-dev] Quick Review of XML 1.1 Candidate Recommendation
Tim Bray scripsit:

>  In the general case where you want to wrap up weird bits of binary 
>  gibberish to control hardware, why don't you just base64 it and not have 
>  to worry about which of them are magic C0 Controls and which aren't...

Well, that's a question.  Are the terminal control sequences characters or
octets?  On the face of X3.64 (I forget the ISO number), they are octets,
but people think of "move up" as ESC [ A, not 1/11 5/11 4/1 (in the
poor-mans-hex used by the standard).

>  And you know perfectly 
>  well that the people who want these aren't trying to exchange termcaps, 
>  they're trying to wrap binary gibberish in the trappings of XML 
>  interoperability.  

I don't think it's actually about raw binary -- little-endian integers
or IEEE floats or the like.  It's about not having a guarantee that the
CHAR fields in databases can be reliably exported to XML.  Excluding #x0
kills real binary data, but doesn't affect database data much because
of C APIs.

-- 
John Cowan    http://www.ccil.org/~cowan   <jcowan@[...].com> 
    "Any legal document draws most of its meaning from context. A telegram
    that says 'SELL HUNDRED THOUSAND SHARES IBM SHORT' (only 190 bits in
    5-bit Baudot code plus appropriate headers) is as good a legal document
    as any, even sans digital signature." --me

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 
Thread:
John Cowan
John Cowan
Rick Jelliffe
John Cowan
Rick Jelliffe
Rick Jelliffe
Rick Jelliffe
Rick Jelliffe
Richard Tobin
Tim Bray
Richard Tobin
Tim Bray
Richard Tobin
John Cowan
G. Ken Holman
John Cowan
Elliotte Rusty Harold
Amelia A Lewis
John Cowan
Richard Tobin
John Cowan
Amelia A Lewis
John Cowan
John Cowan
Rick Jelliffe
Karl Waclawek
Karl Waclawek
Karl Waclawek
Elliotte Rusty Harold
John Cowan
Jeni Tennison
John Cowan
Karl Waclawek
Elliotte Rusty Harold
Elliotte Rusty Harold
Elliotte Rusty Harold
Daniel Veillard
Elliotte Rusty Harold
John Cowan
David Carlisle
John Cowan
David Megginson
Tim Bray
John Cowan
Daniel Veillard
Elliotte Rusty Harold
Elliotte Rusty Harold
Elliotte Rusty Harold
Elliotte Rusty Harold

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved