Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 66341 invoked from network); 25 Jul 2009 19:28:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jul 2009 19:28:42 -0000 Received: (qmail 55690 invoked by uid 500); 25 Jul 2009 19:29:46 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 55597 invoked by uid 500); 25 Jul 2009 19:29:46 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 55382 invoked by uid 99); 25 Jul 2009 19:29:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jul 2009 19:29:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.210.204 as permitted sender) Received: from [209.85.210.204] (HELO mail-yx0-f204.google.com) (209.85.210.204) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jul 2009 19:29:36 +0000 Received: by yxe42 with SMTP id 42so4240996yxe.13 for ; Sat, 25 Jul 2009 12:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=rU9TVNIIPfibgfOob3iW0A57iNNFCTNDHERqoAvNgEw=; b=fJPsKNPEOoGQ+QdMHJfTs1lVVdcVI/8scfgHLvzzVM4X2UbmnGtea/2XetZJ/5Yq5j n/oqcN9vHpreocCEofVnpa4nwjl4WISjpaxMyGoM/LOlEAY8pkVw5J8IiOa+hVtajTmC ncnzh9nnDEIdjpMU6pvKROQ3P4hwY967lgidk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=wKDkb6vuBJ8ctQuaMcplVlrqIPjQKDdqR6MFPTTrME4I+yLzbuHcfsQ5HIhYgTpC0Y OPALDcIFIyiHNtHNJOvNl3Qzl1tszJhd3Ac/ost/CORkwIt+jfdvhrGVrG8WjglOY9Hw CRIOzLF5D0iBEF4KEbivRAbFLsb6efCI+5EKE= MIME-Version: 1.0 Received: by 10.100.208.9 with SMTP id f9mr6294858ang.55.1248550155648; Sat, 25 Jul 2009 12:29:15 -0700 (PDT) In-Reply-To: <-1654162249199285478@unknownmsgid> References: <-1654162249199285478@unknownmsgid> Date: Sat, 25 Jul 2009 15:29:15 -0400 Message-ID: Subject: Re: CouchDB / Mochiweb version From: Paul Davis To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Sat, Jul 25, 2009 at 9:54 AM, Lynton Grice wrote: > Hi there, > > Can someone let me know why CouchDB does not work with the latest version of > Mochiweb from the web? I get JSON encoding errors using the latest version > of Mochiweb. All the test suite tests fail with syntax errors. What version > of Mochiweb is bundled with the latest version of CouchDB? > > There seems to be a difference in the "mochijson2.erl" file between the > mochiweb file bundled with the CouchDB download vs the latest Mochiweb " > mochijson2.erl". > > Any ideas? > > Lynton > > CouchDB's JSON serialization has always been slightly different than mochiweb's. At one point there was supposed to be a shift towards what CouchDB uses. There's a thread somewhere on erlang-questions IIRC that this move was discussed. HTH, Paul Davis