[From nobody Fri Aug 6 17:08:07 2004 Return-Path: <jdom-interest-admin@jdom.org> Received: from dorothy.denveronline.net ([66.37.141.4]) by niles.mail.mindspring.net (Earthlink Mail Service) with ESMTP id 1869v96oY3Nl3pm0 for <servlets@mindspring.com>; Mon, 28 Oct 2002 08:00:15 -0500 (EST) Received: from dorothy.denveronline.net (localhost [127.0.0.1]) by dorothy.denveronline.net (Postfix) with ESMTP id 75DAD5894; Mon, 28 Oct 2002 06:00:01 -0700 (MST) Delivered-To: jdom-interest-admin@pop.firstlink.com Received: from mailegw1.dmz.basf-ag.de (mail1.basf-ag.de [141.6.2.81]) by dorothy.denveronline.net (Postfix) with ESMTP id 6EDF65888 for <jdom-interest-admin@jdom.org>; Mon, 28 Oct 2002 05:56:18 -0700 (MST) Received: from mailigw1.fw.basf-ag.de (mailigw1.fw.basf-ag.de [10.8.129.52]) by mailegw1.dmz.basf-ag.de (8.12.2/8.12.2) with ESMTP id g9SCbSVv025151 for <jdom-interest-admin@jdom.org>; Mon, 28 Oct 2002 13:37:29 +0100 Received: from basf-ag-gw01.basf-ag.de (pluto01.notes1-c010.basf-ag.de [10.48.6.201]) by mailigw1.fw.basf-ag.de (8.12.2/8.12.2) with SMTP id g9SCnePO007982 for <jdom-interest-admin@jdom.org>; Mon, 28 Oct 2002 13:49:40 +0100 Received: by basf-ag-gw01.basf-ag.de(Lotus SMTP MTA v4.6.7 (934.1 12-30-1999)) id C1256C60.00469423 ; Mon, 28 Oct 2002 13:50:54 +0100 X-Lotus-FromDomain: EUROPE From: dominik.deimling@basf-it-services.com To: jdom-interest-admin@jdom.org Message-ID: <C1256C60.0046932D.00@basf-ag-gw01.basf-ag.de> Date: Mon, 28 Oct 2002 13:56:12 +0100 Subject: omit xml-declaration Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: jdom-interest-owner@jdom.org Errors-To: jdom-interest-owner@jdom.org X-BeenThere: jdom-interest@jdom.org X-Mailman-Version: 2.0.1 Precedence: bulk List-Help: <mailto:jdom-interest-request@jdom.org?subject=help> List-Post: <mailto:jdom-interest@jdom.org> List-Subscribe: <http://lists.denveronline.net/mailman/listinfo/jdom-interest>, <mailto:jdom-interest-request@jdom.org?subject=subscribe> List-Id: JDOM Mailing List for General Issues and Updates <jdom-interest.jdom.org> List-Unsubscribe: <http://lists.denveronline.net/mailman/listinfo/jdom-interest>, <mailto:jdom-interest-request@jdom.org?subject=unsubscribe> List-Archive: <http://lists.denveronline.net/pipermail/jdom-interest/> X-Mozilla-Status2: 00000000 Hello, I have created a jdom document and produce sax-events with the Saxoutputter(). These sax events are given to a ContentHandler which already has a xml-declaration (<?xml version="1.0"?>). The xml result is a document with two xml-declarations which is not a valid xml-document. Is it possible to omit the xml declaration in the Document or in the Saxoutputter? kind Regards Dominik Deimling ------------------------------------------------------------------------ BASF IT Services GmbH ES-PW - RAT17 Dominik Deimling Tel.: +49 621 60-58614 ]