Return-Path: Delivered-To: apmail-xerces-j-users-archive@www.apache.org Received: (qmail 22842 invoked from network); 25 Jul 2005 07:40:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jul 2005 07:40:07 -0000 Received: (qmail 20914 invoked by uid 500); 25 Jul 2005 07:40:03 -0000 Delivered-To: apmail-xerces-j-users-archive@xerces.apache.org Received: (qmail 20903 invoked by uid 500); 25 Jul 2005 07:40:02 -0000 Mailing-List: contact j-users-help@xerces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: j-users@xerces.apache.org Delivered-To: mailing list j-users@xerces.apache.org Received: (qmail 20888 invoked by uid 99); 25 Jul 2005 07:40:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2005 00:40:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [195.34.115.138] (HELO bg.seeburger.com) (195.34.115.138) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2005 00:39:56 -0700 Received: from [10.10.18.124] ([10.10.18.124]) (authenticated user s.stamenkov@bg.seeburger.com) by bg.seeburger.com (bg.seeburger.com [10.10.18.8]) (MDaemon.PRO.v6.8.1.R) with ESMTP id 16-md50000000147.tmp for ; Mon, 25 Jul 2005 22:36:43 +0300 Message-ID: <42E49636.1020606@myrealbox.com> Date: Mon, 25 Jul 2005 10:35:18 +0300 From: Stanimir Stamenkov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050707 Netscape/7.2 (Spidey) SeaMonkey/1.0a MIME-Version: 1.0 To: j-users@xerces.apache.org Subject: Re: XMLSerializer Writer Constructor References: <42E470E3.9090901@orionhealth.com> In-Reply-To: <42E470E3.9090901@orionhealth.com> X-Face: "38vqP2WVSL4[RJa(3{]RXaA*vZ66LTF'NGwie2qa$GGgVk0@})>!Hzf6OF&}e=F@s'4".% "1\pl,U3MNb)vA4p_Vlo5$!ez2aS[LLo].`U5_XDjMnEq&)JYmvke-|`d6o-7CCQ_gZ2N;G2JXe$%co>xfhyM8U'yJyCF[o_,^ .PH^Wf-5re*k5N8N~JS"?AVSgMejLfk5O\a Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: s.stamenkov@bg.seeburger.com X-Spam-Processed: bg.seeburger.com, Mon, 25 Jul 2005 22:36:43 +0300 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 10.10.18.124 X-Return-Path: stanio@myrealbox.com X-MDaemon-Deliver-To: j-users@xerces.apache.org X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N /Stephen Kestle/: > Of course it is because Characters should not need to specify encoding, > but xml IS NOT a character stream - it's an encoded character stream > [...] Don't want to spam the list but: XML _is_ a character stream. The byte encoded representation is for transport means as most data in the computer world is stored as sequences of bytes. Your sentence seems to me like: "DOM is not an object, it is an 'encoded' XML stream". > Please stop the madness - just deprecate it and write a nice javadoc > explaining why. You'll probably end up saving 1000s of developer hours > on that change alone. You know, I've thought of that many times too, but what if I need to write to a character buffer and not a byte one? I think it is just problem of the less experienced developers which doesn't realize what actually happens when encoding text to a byte stream and in particular serializing XML. -- Stanimir --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org For additional commands, e-mail: j-users-help@xerces.apache.org