[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Possible changes for XML 2nd Edition

  • From: "David Brownell" <david-b@p...>
  • To: "Rick JELLIFFE" <ricko@g...>, <xml-dev@x...>
  • Date: Thu, 25 May 2000 15:31:40 +0200

java io 2nd edition download
Last time I had any occasion to look at this, the bogus
behaviors in Java were restricted to output processing,
not input processing.  (Most output encoders provide a
non-configurable substitution, writing '?' when they
should instead throw an exception, or maybe even use
the Unicode character designated for that role.)  I seem
to recall that JDK 1.3 has at least partially fixed this.

In any case, (a) standards like the XML spec should never
be designed around vendor bugs, and (b) essentially every
Java parser of XML I've seen has its own UTF-8 decoder,
for speed (*), so platform bugs in that area are easily
worked around.  (Which might reduce the likelihood of
them getting fixed, sadly enough, since Java isn't at
this time an Open Source platform where such violations
are readily fixed by anyone with the urge.)

- Dave

(*) Sun's not the vendor to blame for those speed issues;
    it's easy to implement a java.io.Reader class that
    does the decodings with  very low overhead, but the folk
    who did that subsysteim in JDK 1.1 didn't choose such
    a natural approach.


----- Original Message ----- 
From: Rick JELLIFFE <ricko@g...>
To: <xml-dev@x...>
Sent: Thursday, May 25, 2000 12:12 AM
Subject: Re: Possible changes for XML 2nd Edition


> Steve Schafer wrote:
>  
> > Do there really exist library functions that purportedly read UTF-8
> > yet accept FF on input? If so, what do they convert it to?
> 
> I think it has been the default behaviour of Java to swallow encoding
> flaws without an error.  I think Netscape also did the same. I have used
> applications which simply replace bogus characters with ASCII ? as well.
> 
> Rick Jelliffe
> 



***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.