cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Halgurt Mustafa-Ali <>
Subject Re: help needed (OWQL)
Date Wed, 18 Aug 2004 09:35:22 GMT

I solved this problem through using JDOM and then converting the JDOM document 
to SAX events.

you can have a look at the code.

>X-Sieve: CMU Sieve 2.2
>Mailing-List: contact; run by ezmlm
>list-help: <>
>list-unsubscribe: <>
>list-post: <>
>Delivered-To: mailing list
>X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE
>Date: Tue, 10 Aug 2004 21:06:48 +0200
>From: "J.Pietschmann" <>
>User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626)
>X-Accept-Language: en-us, en
>MIME-Version: 1.0
>Subject: Re: help needed (OWQL)
>Content-Transfer-Encoding: 7bit
>X-Virus-Checked: Checked
>X-Virus-Scanned: by amavisd-new/sophie/sophos at
>X-Spam-Checker-Version: SpamAssassin 2.64-tuminfo_0 (2004-01-11) on
>X-Spam-Status: No, hits=-4.9 required=7.0 tests=BAYES_00 autolearn=ham  
>X-Virus-Scanned: by amavisd-new/sophie/sophos at
>Vadim Gritsenko wrote:
>>> Though job. The lazy way would be to use a PipeStream to
>>> pipe the content written to the PrintWriter to a SAX parser
>>> running in another thread. That's likely to course trouble
>>> in some circumstances.
>> I don't see anything lazy about this :)
>> IMHO, lazy way is to use StringWriter and then parse resulting text with 
>> SAX parser using one of the Cocoon's Util classes.
>I always thought I was lazy. But then:
> >> running in another thread. That's likely to course trouble
>                                                ^^^^^^
>I thought I even spell-checked the message before sending!

View raw message