OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Why would MS want to make XML break on UNIX, Perl, Python

[ Lists Home | Date Index | Thread Index ]

Rick Jelliffe scripsit:

>  From: "John Cowan" <cowan@mercury.ccil.org>
>  
> > > So if you can send ^D down your UNIX pipes, it is because the specific programs in the 
> > > pipeline happen to be reading the input stream in binary mode not text mode.  
> > 
> > There is no such distinction at all in Unix.  If some stdio operations on
> > Windows terminate when they see a #x19 in the input, it is purely for CP/M
> > compatibility (no :-) ).
>  
> Where did I say it was a distinction built into UNIX?  
> 
> I said "it is because the specific programs".  And I gave examples of the 
> APIs from C++, Python, Haskell and Perl where this can happen.

In their Unix implementations?  No.  No Unix stdio treats any incoming byte
as EOF.

-- 
John Cowan           http://www.ccil.org/~cowan              cowan@ccil.org
Please leave your values        |       Check your assumptions.  In fact,
   at the front desk.           |          check your assumptions at the door.
     --sign in Paris hotel      |            --Miles Vorkosigan




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS