cocoon-dev mailing list archives

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

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

you can have a look at the code.

Thanks,
Halgurt
>X-Sieve: CMU Sieve 2.2
>Delivered-To: halgurt.mustafa-ali@informatik.tu-muenchen.de
>Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm
>list-help: <mailto:dev-help@cocoon.apache.org>
>list-unsubscribe: <mailto:dev-unsubscribe@cocoon.apache.org>
>list-post: <mailto:dev@cocoon.apache.org>
>Delivered-To: mailing list dev@cocoon.apache.org
>X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE
>X-Spam-Check-By: apache.org
>Date: Tue, 10 Aug 2004 21:06:48 +0200
>From: "J.Pietschmann" <j3322ptm@yahoo.de>
>User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626)
>X-Accept-Language: en-us, en
>MIME-Version: 1.0
>To: dev@cocoon.apache.org
>Subject: Re: help needed (OWQL)
>Content-Transfer-Encoding: 7bit
>X-Virus-Checked: Checked
>X-Virus-Scanned: by amavisd-new/sophie/sophos at 
mailin1.informatik.tu-muenchen.de
>X-Spam-Checker-Version: SpamAssassin 2.64-tuminfo_0 (2004-01-11) on  
mailin1.informatik.tu-muenchen.de
>X-Spam-Level: 
>X-Spam-Status: No, hits=-4.9 required=7.0 tests=BAYES_00 autolearn=ham  
version=2.64-tuminfo_0
>X-Virus-Scanned: by amavisd-new/sophie/sophos at 
mailrelay1.informatik.tu-muenchen.de
>
>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!
>
>J.Pietschmann
>

Mime
View raw message