From stephanie60@example.com Mon May 1 23:52:19 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 77938 invoked from network); 1 May 2000 23:52:19 -0000 Received: from unknown (HELO minas-anor.wygand.com) (stephanie60@example.com) by locus.apache.org with SMTP; 1 May 2000 23:52:19 -0000 Received: from wygand.com (siwebmts1.si.itc-us.com [83.161.120.155] (may be forged)) by minas-anor.wygand.com (8.8.7/8.8.7) with ESMTP id QAA10364 for <stephanie60@example.com>; Mon, 1 May 2000 16:36:50 -0700 Sender: stephanie60@example.com Message-ID: <stephanie60@example.com> Date: Mon, 01 May 2000 16:56:30 -0700 From: "Robert J. Wygand III" <stephanie60@example.com> X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.12-20smp i686) X-Accept-Language: en MIME-Version: 1.0 To: stephanie60@example.com Subject: Disable Output Escaping? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, I am using both Xerces and Xalan in a Servlet environment. I'm having the following problem, though: I need to allow a user to type in some data into an html textarea field. This text MAY be html. I then need to preview this html-text back to the user. Using the DOM, I write out an xml construct using the following code: ... Element body = doc.CreateElement ("Body"); // doc is a Document message.appendChild (body); Node bodyText = doc.createCDATASection (_body); // _body is a String set to <b>123</b> body.appendChild (bodyText); ... which outputs the following: <?xml version="1.0"?> <?xml-stylesheet href="/html_preview.xsl"?> <Page> <Message> <Body> <CDATA[[<b>123</b>]]> </Body> </Message> </Page> When I try and style this document using Xalan, I cannot get it to pass the CDATA section through unencoded. My styling rule looks like this... <xsl:template match="Preview"> <table border="0" cellpadding="4" cellspacing="0" width="100%"> <tr bgcolor="#FFFFFF"> <td valign="top"> <table border="0" cellpadding="6" cellspacing="0" width="100%"> <tr> <td colspan="2" height="100%"> <xsl:value-of select="/Page/Composer/Message/Body" disable-output-escaping="yes"/> </td> </tr> </table> </td> </tr> </table> </xsl:template> I've also tried seting the cdata-section-elements attribute of the xsl:output element to "Body". Additionally, I've tried both doc.createTextNode() and doc.createCDATASection() in the java code. Any ideas what I am doing wrong, or if I've hit a bug or an unimplemented feature? Thanks! rob stephanie60@example.com From stephanie60@example.com Tue May 2 00:35:02 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 88334 invoked from network); 2 May 2000 00:35:02 -0000 Received: from mercury.sun.com (83.161.120.155) by locus.apache.org with SMTP; 2 May 2000 00:35:02 -0000 Received: from shorter.eng.sun.com ([83.161.120.155]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id RAA24243; Mon, 1 May 2000 17:34:59 -0700 (PDT) Received: from micro.eng.sun.com (d-ucup02-124-78 [83.161.120.155]) by shorter.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id RAA20751; Mon, 1 May 2000 17:34:53 -0700 (PDT) Received: from localhost (duncan@localhost) by micro.eng.sun.com (8.9.3/8.8.7) with ESMTP id RAA08597; Mon, 1 May 2000 17:36:38 -0700 X-Authentication-Warning: micro.eng.sun.com: duncan owned process doing -bs Date: Mon, 1 May 2000 17:36:33 -0700 (PDT) From: James Duncan Davidson <stephanie60@example.com> To: stephanie60@example.com cc: stephanie60@example.com, stephanie60@example.com, stephanie60@example.com, stephanie60@example.com Subject: Re: JDOM - moving to stephanie60@example.com In-Reply-To: <stephanie60@example.com> Message-ID: <{{EMAIL+PHONE}}> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Fri, 28 Apr 2000, Ben Laurie wrote: > Jason Hunter wrote: > > If scoped namespaces can be handled efficiently, they'll be included. > > If handling scoped namespaces is extremely onerous and slow, then they > > may not be included, at least by default. It wouldn't be unprecedented; > > I'm strongly suspect the Apache server has a few places where they > > violate the HTTP spec for the sake of speed. I *know* Tomcat does. > > No way. Roy would have our guts for garters if we did that! > > My understanding is that Tomcat is not intended to run standalone except > for testing, so standards compliance is not so important. Pretty much. It violates the standard primarily because it was put together in a quicky hack one night and it was fully intended for it to get ripped out and replaced by something that was HTTP/1.1 compliant. It didn't happen before it went public, and the rest is an open book. -- stephanie60@example.com From stephanie60@example.com Tue May 2 09:04:06 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 8533 invoked from network); 2 May 2000 09:04:06 -0000 Received: from unknown (HELO aims.eo.nl) (83.161.120.155) by locus.apache.org with SMTP; 2 May 2000 09:04:06 -0000 Received: from eo.nl (83.161.120.155) by aims.eo.nl with ESMTP (Apple Internet Mail Server 1.1.1); Tue, 2 May 2000 10:11:07 +0100 Message-ID: <stephanie60@example.com> Date: Tue, 02 May 2000 13:06:03 +0200 From: Gerard van Enk <stephanie60@example.com> Organization: Evangelische Omroep User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.12-20 i686; en-US; m16) Gecko/20000501 X-Accept-Language: en MIME-Version: 1.0 To: stephanie60@example.com Subject: Re: JDOM - moving to stephanie60@example.com References: <{{EMAIL+PHONE}}> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N James Duncan Davidson wrote: > On Fri, 28 Apr 2000, Ben Laurie wrote: > > Jason Hunter wrote: > > > If scoped namespaces can be handled efficiently, they'll be included. > > > If handling scoped namespaces is extremely onerous and slow, then they > > > may not be included, at least by default. It wouldn't be unprecedented; > > > I'm strongly suspect the Apache server has a few places where they > > > violate the HTTP spec for the sake of speed. I *know* Tomcat does. > > > > No way. Roy would have our guts for garters if we did that! > > > > My understanding is that Tomcat is not intended to run standalone except > > for testing, so standards compliance is not so important. > > Pretty much. It violates the standard primarily because it was put > together in a quicky hack one night and it was fully intended for it to > get ripped out and replaced by something that was HTTP/1.1 compliant. It > didn't happen before it went public, and the rest is an open book. Any ideas if it's ever gonna be HTTP/1.1 compliant? Gerard From stephanie60@example.com Tue May 2 14:15:26 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 84896 invoked from network); 2 May 2000 14:15:26 -0000 Received: from mtk-mail1.mitretek.org (83.161.120.155) by locus.apache.org with SMTP; 2 May 2000 14:15:26 -0000 Received: from mail1.mitretek.org (mail1.mitretek.org [83.161.120.155]) by mtk-mail1.mitretek.org (8.9.3/8.9.3) with ESMTP id KAA09833 for <stephanie60@example.com>; Tue, 2 May 2000 10:14:56 -0400 (EDT) Received: from ls- ([83.161.120.155]) by mail1.mitretek.org (Lotus Domino Release 5.0.2c) with SMTP id 2000050210145798:10089 ; Tue, 2 May 2000 10:14:57 -0400 Message-ID: <stephanie60@example.com> From: "Thomas B. Passin" <stephanie60@example.com> To: <stephanie60@example.com> Subject: Re: Disable Output Escaping? Date: Tue, 2 May 2000 10:15:22 -0400 MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-MIMETrack: Itemize by SMTP Server on Mail1/Mitretek Systems(Release 5.0.2c |February 2, 2000) at 05/02/2000 10:14:58 AM, Serialize by Router on Mail1/Mitretek Systems(Release 5.0.2c |February 2, 2000) at 05/02/2000 10:14:59 AM, Serialize complete at 05/02/2000 10:14:59 AM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Robert J. Wygand III asked about some xslt: >I am using both Xerces and Xalan in a Servlet environment. I'm having >the following problem, though: > <snip/> First of all, the CDATA section in your example is not well-formed. Of course, maybe your actual xml source is different. Your posting said: <Body> <CDATA[[<b>123</b>]]> </Body> The correct syntax is <Body> <![CDATA[<b>123</b>]]> </Body> After I fixed this and fixed the path spec in the template match statement, I tried it using XT. It worked as you intended. I don't have Xalan/Xerces running at the moment, so can't help you there. Tom Passin From stephanie60@example.com Tue May 2 17:03:30 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 49539 invoked from network); 2 May 2000 17:03:30 -0000 Received: from unknown (HELO minas-anor.wygand.com) (stephanie60@example.com) by locus.apache.org with SMTP; 2 May 2000 17:03:30 -0000 Received: from wygand.com (siwebmts1.si.itc-us.com [83.161.120.155] (may be forged)) by minas-anor.wygand.com (8.8.7/8.8.7) with ESMTP id JAA10586 for <stephanie60@example.com>; Tue, 2 May 2000 09:47:44 -0700 Sender: stephanie60@example.com Message-ID: <stephanie60@example.com> Date: Tue, 02 May 2000 10:07:26 -0700 From: Rob Wygand <stephanie60@example.com> X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.12-20smp i686) X-Accept-Language: en MIME-Version: 1.0 To: stephanie60@example.com Subject: Re: Disable Output Escaping? References: <stephanie60@example.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N "Thomas B. Passin" wrote: > > First of all, the CDATA section in your example is not well-formed. Of > course, maybe your actual xml source is different. > > Your posting said: > <Body> > <CDATA[[<b>123</b>]]> > </Body> > > The correct syntax is > <Body> > <![CDATA[<b>123</b>]]> > </Body> Yes, this was my typo (curse my metal body!). My CDATA section is, in fact, well formed, but the <xsl:value-of select="Body" disable-output-escaping="yes"/> still does not work. Again, I've tried both CDATA children of body (which looks like <![CDATA[<b>123</b>]]>) and text children (which look like &lt;b&gt;123&lt;/b&gt;). Logicially, I'd expect the 1st case to output '<', and according the the spec, the 2nd case should also generate '<'. rjw From stephanie60@example.com Tue May 2 17:38:41 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 61959 invoked from network); 2 May 2000 17:38:41 -0000 Received: from lotus2.lotus.com (83.161.120.155) by locus.apache.org with SMTP; 2 May 2000 17:38:41 -0000 Received: from internet2.lotus.com (internet2 [83.161.120.155]) by lotus2.lotus.com (8.9.3/8.9.3) with ESMTP id NAA15735 for <stephanie60@example.com>; Tue, 2 May 2000 13:37:35 -0400 (EDT) Received: from a3mail.lotus.com (A3MAIL.lotus.com [83.161.120.155]) by internet2.lotus.com (8.9.3/8.9.3) with ESMTP id NAA15114 for <stephanie60@example.com>; Tue, 2 May 2000 13:38:11 -0400 (EDT) Subject: Re: Disable Output Escaping? To: stephanie60@example.com X-Mailer: Lotus Notes Release 5.0.1 July 16, 1999 Message-ID: <stephanie60@example.com> From: "Scott Boag/CAM/Lotus" <stephanie60@example.com> Date: Tue, 2 May 2000 13:37:35 -0400 X-MIMETrack: Serialize by Router on A3MAIL/CAM/H/Lotus(Build V504_04122000 |April 12, 2000) at 05/02/2000 01:40:02 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N If you're working in Cocoon, or with the Xerces serializers, or with DOM ouput, I don't think disable-output-escaping will work. This will be fixed with Cocoon 2 and further integration with the Xerces serializers in Xalan 1.1.x. -scott Rob Wygand <stephanie60@example.com To: stephanie60@example.com > cc: (bcc: Scott Boag/CAM/Lotus) Sent by: Subject: Re: Disable Output Escaping? stephanie60@example.com. wygand.com 05/02/2000 01:07 PM Please respond to general "Thomas B. Passin" wrote: > > First of all, the CDATA section in your example is not well-formed. Of > course, maybe your actual xml source is different. > > Your posting said: > <Body> > <CDATA[[<b>123</b>]]> > </Body> > > The correct syntax is > <Body> > <![CDATA[<b>123</b>]]> > </Body> Yes, this was my typo (curse my metal body!). My CDATA section is, in fact, well formed, but the <xsl:value-of select="Body" disable-output-escaping="yes"/> still does not work. Again, I've tried both CDATA children of body (which looks like <![CDATA[<b>123</b>]]>) and text children (which look like &lt;b&gt;123&lt;/b&gt;). Logicially, I'd expect the 1st case to output '<', and according the the spec, the 2nd case should also generate '<'. rjw --------------------------------------------------------------------- In case of troubles, e-mail: stephanie60@example.com To unsubscribe, e-mail: stephanie60@example.com For additional commands, e-mail: stephanie60@example.com From stephanie60@example.com Wed May 3 01:18:25 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 91096 invoked from network); 3 May 2000 01:18:25 -0000 Received: from mercury.sun.com (83.161.120.155) by locus.apache.org with SMTP; 3 May 2000 01:18:25 -0000 Received: from shorter.eng.sun.com ([83.161.120.155]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id SAA06824 for <stephanie60@example.com>; Tue, 2 May 2000 18:18:25 -0700 (PDT) Received: from micro.eng.sun.com (d-ucup02-124-78 [83.161.120.155]) by shorter.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id SAA03331 for <stephanie60@example.com>; Tue, 2 May 2000 18:18:24 -0700 (PDT) Received: from localhost (duncan@localhost) by micro.eng.sun.com (8.9.3/8.8.7) with ESMTP id SAA11984 for <stephanie60@example.com>; Tue, 2 May 2000 18:22:45 -0700 X-Authentication-Warning: micro.eng.sun.com: duncan owned process doing -bs Date: Tue, 2 May 2000 18:22:45 -0700 (PDT) From: James Duncan Davidson <stephanie60@example.com> To: stephanie60@example.com Subject: Re: JDOM - moving to stephanie60@example.com In-Reply-To: <stephanie60@example.com> Message-ID: <stephanie60@example.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Tue, 2 May 2000, Gerard van Enk wrote: > Any ideas if it's ever gonna be HTTP/1.1 compliant? I know that some people would like it to be. And of course if you want to see it happen, talk about it on tomcat-dev. Write code. Ya know, open source kinda stuff.. :) -- stephanie60@example.com From stephanie60@example.com Wed May 3 09:40:17 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 86703 invoked from network); 3 May 2000 09:40:17 -0000 Received: from relay.iunet.it (83.161.120.155) by locus.apache.org with SMTP; 3 May 2000 09:40:17 -0000 Received: from pc6xa20.cadlab.it (pc6xa20.cadlab.it [83.161.120.155]) by relay.iunet.it (8.9.3/8.9.3) with SMTP id LAA02777; Wed, 3 May 2000 11:40:13 +0200 (MET DST) Received: from pces.cadlab.it by pc6xa20.cadlab.it via smtpd (for relay.iunet.it [83.161.120.155]) with SMTP; 3 May 2000 09:40:14 UT Received: by pces.cadlab.it with Internet Mail Service (5.5.2448.0) id <JH6VHVVC>; Wed, 3 May 2000 11:40:14 +0200 Message-ID: <stephanie60@example.com> From: Alessandro Bottoni <stephanie60@example.com> To: "'stephanie60@example.com'" <stephanie60@example.com>, "'stephanie60@example.com'" <stephanie60@example.com> Subject: How can I publish XML DocBook files to HTML using Cocoon (or Exet er)? Date: Wed, 3 May 2000 11:40:14 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi All, I'm trying to publish my XML DocBook documents to my Intranet using the XMLS Exeter XML Web Server (a "distribution" containing Apache and Cocoon, see: http://www.xmls.com ). I'm using Norman Walsh's DocBook XML and XSL files for a first test. Unfortunatley, Exeter (that is: Cocoon) seems to be unable to use Norman's XSL files for converting my XML/DocBook doc to HTML (that is perfectly reasonable: this is not a complain, of course). Does anybody can tell me how I can publish my XML DocBook files using Exeter/Cocoon and Norman's XML and XSL files? Anybody did try it before? Any known issue? Any other suggestion? ---------------------------------------------------------------- Alessandro Bottoni (stephanie60@example.com) Web Programmer @ Think3 inc. (www.think3.com) I do not speak for think3 and they return the favour From stephanie60@example.com Wed May 3 10:17:13 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 97862 invoked from network); 3 May 2000 10:17:13 -0000 Received: from mx.syborg.de (HELO wall.syborg.de) (83.161.120.155) by locus.apache.org with SMTP; 3 May 2000 10:17:13 -0000 Received: (from smap@localhost) by wall.syborg.de (8.8.8/8.8.8) id OAA29822; Wed, 3 May 2000 14:27:53 +0200 X-Authentication-Warning: wall.syborg.de: smap set sender to <stephanie60@example.com> using -f Received: from fgw.syborg.de(83.161.120.155) by wall.syborg.de via smap (V2.1) id xma029818; Wed, 3 May 00 14:27:23 +0200 Received: by sybex.syborg.de with Internet Mail Service (5.5.2650.21) id <2WQ882PQ>; Wed, 3 May 2000 12:16:41 +0200 Message-ID: <stephanie60@example.com> From: Dorchain Marc <stephanie60@example.com> To: "'stephanie60@example.com'" <stephanie60@example.com>, "'stephanie60@example.com'" <stephanie60@example.com> Subject: AW: How can I publish XML DocBook files to HTML using Cocoon (or Exet er)? Date: Wed, 3 May 2000 12:16:31 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N In the book 'Java and XML' by Brett McLaughlin in chapter 9 'Web publishing Frameworks' is a good description of how to install cocoon and tomcat. You can read this beta chapter at http://www.oreilly.com/catalog/javaxml/ >Hi All, >I'm trying to publish my XML DocBook documents to my Intranet using the XMLS >Exeter XML Web Server (a "distribution" containing Apache and Cocoon, see: >http://www.xmls.com ). >I'm using Norman Walsh's DocBook XML and XSL files for a first test. >Unfortunatley, Exeter (that is: Cocoon) seems to be unable to use Norman's >XSL files for converting my XML/DocBook doc to HTML (that is perfectly >reasonable: this is not a complain, of course). >Does anybody can tell me how I can publish my XML DocBook files using >Exeter/Cocoon and Norman's XML and XSL files? >Anybody did try it before? >Any known issue? >Any other suggestion? >---------------------------------------------------------------- >Alessandro Bottoni (stephanie60@example.com) >Web Programmer @ Think3 inc. (www.think3.com) >I do not speak for think3 and they return the favour From stephanie60@example.com Wed May 3 12:54:21 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Delivered-To: moderator for stephanie60@example.com Received: (qmail 54469 invoked from network); 3 May 2000 12:54:21 -0000 Received: from unknown (HELO gauntlet.meb.co.za) (stephanie60@example.com) by locus.apache.org with SMTP; 3 May 2000 12:54:21 -0000 Received: by gauntlet.meb.co.za; id OAA28952; Wed, 3 May 2000 14:54:09 +0200 (SAT) Received: from unknown(83.161.120.155) by gauntlet.meb.co.za via smap (4.1) id xma028933; Wed, 3 May 00 14:54:01 +0200 Received: by NEPTUNE with Internet Mail Service (5.5.2448.0) id <KF889VZ8>; Wed, 3 May 2000 14:55:02 +0200 Message-ID: <57000325BEACD311A22300A0C9ECD6E21AF0B9@HULK> From: Wimpie Baben <stephanie60@example.com> To: "'stephanie60@example.com'" <stephanie60@example.com> Subject: Cocoon XSP problem Date: Wed, 3 May 2000 14:53:59 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, I have been working with Cocoon for a while now, but only recently looked at XSP pages. I cannot run the examples to generate HTML with XSP. The error I get is the same as in the faqs.html file that comes with Cocoon, but the way they propose to solve it doesn't seem to work. The error: I get the exception telling me the method org.apache.dom.ElementImpl.normalize(ElementImpl.java:290) could not be found. I tried moving the xerces_1_0_3.jar file to the top of the "wrapper.classpath" declarations to include it first in my classpath, but I still get the error. Can you PLEASE help me find a solution to my problem. (By the way...I'm running on Apache 1.3.12) Thanks, Wimpie From stephanie60@example.com Wed May 3 17:36:29 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 88021 invoked from network); 3 May 2000 17:36:29 -0000 Received: from rdc.vanteon.com (83.161.120.155) by locus.apache.org with SMTP; 3 May 2000 17:36:29 -0000 Received: from joshv2 (yavin.rdc.vanteon.com [83.161.120.155]) by rdc.vanteon.com (8.8.7/) with SMTP id MAA11702 for <stephanie60@example.com>; Wed, 3 May 2000 12:40:47 -0400 From: "Joshua Van Buren" <stephanie60@example.com> To: <stephanie60@example.com> Subject: RE: Cocoon XSP problem Date: Wed, 3 May 2000 13:39:38 -0400 Message-ID: <stephanie60@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 In-Reply-To: <57000325BEACD311A22300A0C9ECD6E21AF0B9@HULK> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I fixed the problem by putting Xerces_1_0_3.jar at the beginning of my system CLASSPATH. -----Original Message----- From: Wimpie Baben [mailto:stephanie60@example.com] Sent: Wednesday, May 03, 2000 8:54 AM To: 'stephanie60@example.com' Subject: Cocoon XSP problem Hi, I have been working with Cocoon for a while now, but only recently looked at XSP pages. I cannot run the examples to generate HTML with XSP. The error I get is the same as in the faqs.html file that comes with Cocoon, but the way they propose to solve it doesn't seem to work. The error: I get the exception telling me the method org.apache.dom.ElementImpl.normalize(ElementImpl.java:290) could not be found. I tried moving the xerces_1_0_3.jar file to the top of the "wrapper.classpath" declarations to include it first in my classpath, but I still get the error. Can you PLEASE help me find a solution to my problem. (By the way...I'm running on Apache 1.3.12) Thanks, Wimpie --------------------------------------------------------------------- In case of troubles, e-mail: stephanie60@example.com To unsubscribe, e-mail: stephanie60@example.com For additional commands, e-mail: stephanie60@example.com From stephanie60@example.com Thu May 4 06:53:05 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 26192 invoked from network); 4 May 2000 06:53:05 -0000 Received: from lumberjack.collab.net (HELO yaz.hyperreal.org) (83.161.120.155) by locus.apache.org with SMTP; 4 May 2000 06:53:05 -0000 Received: (qmail 2242 invoked by uid 1000); 4 May 2000 06:53:03 -0000 Received: from localhost (stephanie60@example.com) by localhost with SMTP; 4 May 2000 06:53:03 -0000 Date: Wed, 3 May 2000 23:53:02 -0700 (PDT) From: Brian Behlendorf <stephanie60@example.com> X-Sender: stephanie60@example.com To: stephanie60@example.com, stephanie60@example.com, stephanie60@example.com, stephanie60@example.com Subject: locus.apache.org hacked by white hats; FTP down for good, bugzilla down until audited. Message-ID: <stephanie60@example.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi. We have been made aware (thanks to a very humorous banner ad for Microsoft Back Office on the front of www.apache.org!) that our particular configuration on www.apache.org of ftpd and bugzilla opened a security hole that allowed someone from the outside to get a shell account, and then get root. We have been in contact with those who found the hole, and have closed up the misconfigurations that allowed this. It is important to note that this is *not* a hole in the Apache web server or related software products. I would encourage double-checking the PGP signatures of Apache releases for the immediate future. However, I do not believe we are out of the woods yet. Bugzilla has not been thoroughly audited, and while I am not worried about ftpd, simply having another deamon that can write files to the web server whose purpose has been completely superceded by others suggests that taking it down for good is the right idea. So I am taking down FTP - something that should have been done long ago. If there are FTP links on any of our pages (or on places like freshmeat) they should be change to HTTP. There are enough high-quality text-mode HTTP clients that there is no point to having it up, save for mirroring, and we allow rsync and cvsup for that. I will be contacting the mirror site admins list to communicate this. Also, I have taken down all installations of bugzilla on apache.org until it can be audited. I will be performing a first pass tonight over it, but anyone else familiar with perl and willing to deal with rather ugly code is welcome to do so as well. I will set it back up once I'm comfortable there's been at least one reasonable pass over the whole codebase and any obvious holes have been plugged. This is only life-support though; I really don't think we should be using bugzilla once a suitable replacement is found. Finally, I think it can be said that this compromise was mostly due to a lack of discipline on the part of those who had root and set up services without considering the ramifications of the way they were installed. I don't want to point fingers, since I'm probably at least as to blame as others, but I do feel that the policy of giving root access to a larger number of people than usual was probably a mistake. Along those lines, I've changed the root password and removed everyone from group wheel but myself - sorry to be fascist about this but I kinda feel like at the end of the day it's my responsibility. We'll come up with a strategy soon about granting sudo access to particular people for particular binaries so that I don't become a bottleneck again. The details will soon be posted to bugtraq. Thanks. Brian From stephanie60@example.com Thu May 4 08:33:55 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 73240 invoked from network); 4 May 2000 08:33:55 -0000 Received: from relay.iunet.it (83.161.120.155) by locus.apache.org with SMTP; 4 May 2000 08:33:55 -0000 Received: from pc6xa20.cadlab.it (pc6xa20.cadlab.it [83.161.120.155]) by relay.iunet.it (8.9.3/8.9.3) with SMTP id KAA26198; Thu, 4 May 2000 10:33:52 +0200 (MET DST) Received: from pces.cadlab.it by pc6xa20.cadlab.it via smtpd (for relay.iunet.it [83.161.120.155]) with SMTP; 4 May 2000 08:33:52 UT Received: by pces.cadlab.it with Internet Mail Service (5.5.2448.0) id <KGTFK887>; Thu, 4 May 2000 10:33:51 +0200 Message-ID: <stephanie60@example.com> From: Alessandro Bottoni <stephanie60@example.com> To: "'stephanie60@example.com'" <stephanie60@example.com>, "'stephanie60@example.com'" <stephanie60@example.com> Subject: Any good book about the XML-Apache and Java-Apache software? Date: Thu, 4 May 2000 10:33:50 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Thanks to Marc Dorchain, I discovered this (apparently) very good book on XML and Java: Java and XML By Brett McLaughlin <author.html> 1st Edition June 2000 (est.) 0-596-00016-2, Order Number: 0162 512 pages (est.), $39.95 (est.) (See : http://www.oreilly.com/catalog/javaxml/ ) Does anybody know of any other interesting book related to one or more of the XML-Apache and Java-Apache projects (like Cocoon, Jserv, Xalan, XSP, etc...)? ---------------------------------------------------------------- Alessandro Bottoni (stephanie60@example.com) Web Programmer @ Think3 inc. (www.think3.com) I do not speak for think3 and they return the favour From stephanie60@example.com Thu May 4 08:57:17 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 83280 invoked from network); 4 May 2000 08:57:17 -0000 Received: from saturn.ff-muenchen.de (stephanie60@example.com) by locus.apache.org with SMTP; 4 May 2000 08:57:17 -0000 Received: (from smap@localhost) by saturn.ff-muenchen.de (8.9.3/8.9.3/Debian/GNU) id KAA13504 for <stephanie60@example.com>; Thu, 4 May 2000 10:57:11 +0200 Received: from erde.intern.ff-muenchen.de(83.161.120.155) by saturn via smap (V2.1/2.1+anti-relay+anti-spam) id xma013502; Thu, 4 May 00 10:56:42 +0200 Received: from ff-muenchen.de (wp-leibfried.intern.ff-muenchen.de [83.161.120.155]) by erde.intern.ff-muenchen.de (8.9.3/8.9.3/Debian/GNU) with ESMTP id KAA08059 for <stephanie60@example.com>; Thu, 4 May 2000 10:56:41 +0200 Message-ID: <stephanie60@example.com> Date: Thu, 04 May 2000 10:58:47 +0200 From: Leibfried Michael <stephanie60@example.com> Organization: F&F Computer Anwendungen und Unternehmensberatung GmbH X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: stephanie60@example.com Subject: Re: Any good book about the XML-Apache and Java-Apache software? References: <stephanie60@example.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by erde.intern.ff-muenchen.de id KAA08059 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N There=B4s a fine book covering java server programming, covering servlets= , jsp, corba, jdbc and so on. It is a great help for me, but it=B4s not centered directly on xml. Professional Java Server Programming by Ari Halberstadt and lots more Wrox Press 1999 ISBN 1-861002-77-7 ca. 60$ US for 1000 pages :-) www.wrox.com Michael Alessandro Bottoni wrote: >=20 > Thanks to Marc Dorchain, I discovered this (apparently) very good book = on > XML and Java: >=20 > Java and XML > By Brett McLaughlin <author.html> > 1st Edition June 2000 (est.) > 0-596-00016-2, Order Number: 0162 > 512 pages (est.), $39.95 (est.) > (See : http://www.oreilly.com/catalog/javaxml/ ) >=20 > Does anybody know of any other interesting book related to one or more = of > the XML-Apache and Java-Apache projects (like Cocoon, Jserv, Xalan, XSP= , > etc...)? >=20 > ---------------------------------------------------------------- > Alessandro Bottoni (stephanie60@example.com) > Web Programmer @ Think3 inc. (www.think3.com) > I do not speak for think3 and they return the favour >=20 > --------------------------------------------------------------------- > In case of troubles, e-mail: stephanie60@example.com > To unsubscribe, e-mail: stephanie60@example.com > For additional commands, e-mail: stephanie60@example.com --=20 F&F Computer Anwendungen Tel: 089/51727-0 und Unternehmensberatung GmbH Fax: 089/51727-111 Westendstr. 195 Mail:stephanie60@example.com D-80686 Muenchen http://www.ff-muenchen.de From stephanie60@example.com Thu May 4 09:02:34 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 85068 invoked from network); 4 May 2000 09:02:34 -0000 Received: from mail1.halliburton.com (HELO mail1.halnet.com) (83.161.120.155) by locus.apache.org with SMTP; 4 May 2000 09:02:34 -0000 Received: from lonconn001.halexchange.halnet.com [83.161.120.155] by mail1.halnet.com with ESMTP (SMTPD32-5.05) id AC9813090396; Thu, 04 May 2000 04:02:16 -0500 Received: by lonconn001.lea.uk.hal with Internet Mail Service (5.5.2448.0) id <JZT48Y0A>; Thu, 4 May 2000 10:02:30 +0100 Message-ID: <stephanie60@example.com> From: Adam Bell <stephanie60@example.com> To: stephanie60@example.com Subject: literature Date: Thu, 4 May 2000 10:02:31 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Does anyone know of any good online literature for using the XML parser (xerces and xalan) combined with apache and tomcat provided by the apache group? From stephanie60@example.com Thu May 4 20:59:56 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 13518 invoked from network); 4 May 2000 20:59:56 -0000 Received: from mail1.halliburton.com (HELO mail1.halnet.com) (83.161.120.155) by locus.apache.org with SMTP; 4 May 2000 20:59:56 -0000 Received: from lonconn001.halexchange.halnet.com [83.161.120.155] by mail1.halnet.com with ESMTP (SMTPD32-5.05) id ADF1FDB03AA; Thu, 04 May 2000 05:16:17 -0500 Received: by lonconn001.lea.uk.hal with Internet Mail Service (5.5.2448.0) id <JZT485MZ>; Thu, 4 May 2000 11:16:32 +0100 Message-ID: <stephanie60@example.com> From: Adam Bell <stephanie60@example.com> To: "'stephanie60@example.com'" <stephanie60@example.com> Subject: XML Parser Date: Thu, 4 May 2000 11:16:32 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Does anyone know of any good online literature for using the XML parser (xerces and xalan) combined with apache and tomcat? From stephanie60@example.com Fri May 5 09:40:53 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 95233 invoked from network); 5 May 2000 09:40:53 -0000 Received: from golf.dax.net (83.161.120.155) by locus.apache.org with SMTP; 5 May 2000 09:40:53 -0000 Received: from olga (mp-217-227-4.daxnet.no [83.161.120.155]) by golf.dax.net (8.9.3/8.9.3) with SMTP id LAA26741 for <stephanie60@example.com>; Fri, 5 May 2000 11:40:26 +0200 (MET DST) From: "Helge Smebye" <stephanie60@example.com> To: <stephanie60@example.com> Subject: using the java api for creating a XML DOCUMENT Date: Fri, 5 May 2000 12:17:16 +0200 Message-ID: <000201bfb67b$167fcc50$0300000a@olga> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Please help ! After searching the documentation from sun for a long time I still cant figure out how to add tags like <?xml-stylesheet href="recordsets.xsl" type="text/xsl"?> <?cocoon-process type="xslt"?> <?cocoon-process type="xsp"?> to my document. How do I do this if I shall use the DOM api from sun ?? -helge ... From stephanie60@example.com Fri May 5 14:58:54 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 12198 invoked from network); 5 May 2000 14:58:54 -0000 Received: from goose.prod.itd.earthlink.net (83.161.120.155) by locus.apache.org with SMTP; 5 May 2000 14:58:54 -0000 Received: from ANASAZI (ip166.portland12.or.pub-ip.psi.net [83.161.120.155]) by goose.prod.itd.earthlink.net (8.9.3/8.9.3) with SMTP id HAA03825 for <stephanie60@example.com>; Fri, 5 May 2000 07:58:52 -0700 (PDT) Reply-To: <stephanie60@example.com> From: "Tom Wnuk" <stephanie60@example.com> To: "Apache XML General-Help" <stephanie60@example.com> Subject: importNode() Problem Date: Fri, 5 May 2000 08:00:07 -0700 Message-ID: <stephanie60@example.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0006_01BFB667.EDF9EFD0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal X-MS-TNEF-Correlator: <stephanie60@example.com> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0006_01BFB667.EDF9EFD0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I'm trying to utilize importNode() as defined below. I'm using xerces v1.0.3 and the it appears the importNode is not working. What am I doing wrong? ================== String sXML1 = "<?xml version=\"1.0\" ?>" + "<TEST><ResponseType>XML</ResponseType>" + "<StyleSheet>login.xsl</StyleSheet>" + "</TEST>"; try { Document doc1 = XMLHelper.getDocument(sXML1); Element eRoot = doc1.getDocumentElement(); NodeList nlTmp = eRoot.getElementsByTagName("ResponseType"); Node node = nlTmp.item(0); Document doc2 = XMLHelper.getDocument(); Element eNewRoot = doc2.createElement("TEST"); doc2.appendChild(eNewRoot); doc2.importNode(node, true); String sDoc2 = XMLHelper.makeStringFromDOM(doc2); System.out.println("sDoc=\n" + sDoc2); } ================== Thanks Tom Tom Wnuk stephanie60@example.com stephanie60@example.com ------=_NextPart_000_0006_01BFB667.EDF9EFD0 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IgcPAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANAHBQAFAAgAAAAAAAUA7gAB A5AGAHQHAAAlAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADADYAAAAAAB4AcAAB AAAAFQAAAGltcG9ydE5vZGUoKSBQcm9ibGVtAAAAAAIBcQABAAAAFgAAAAG/tqKV3W7xGRwTPU+R lqjdG+O+uUsAAAIBHQwBAAAAGQAAAFNNVFA6VFdOVUtARUFSVEhMSU5LLk5FVAAAAAALAAEOAAAA AEAABg4AGJKVora/AQIBCg4BAAAAGAAAAAAAAAC5M7zO8D5xRL8rCphRhD3GwoAAAAsAHw4BAAAA AgEJEAEAAAALAwAABwMAAAAGAABMWkZ10yGuBAMACgByY3BnMTI1FjIA+Atgbg4QMDMzTwH3AqQE 9AIAY2gKwHPQZXQwIAhQbQ3gBgQfBeACgwBQA9QCAHBycX8OUBDoBxMCgxNxA+QUNX0lCoF2CJB3 awuAZDQdDGBjAFALAwu0MiBJQCdtIHRyeQuAZyEX8G8gdXQDEGl6VGUgB3BwCRFOBHEoeCkgYQQg AQELgAmAIERiZQkAdy4gF7N1KwCQGEF4BJBjB5F2MXAuMC4zGeAWcBfwaMMZAQVAYXBwZRERH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AAAAA AEYAAAAAOIUAAAEAAAABAAAAAAAAAAsADYAIIAYAAAAAAMAAAAAAAABGAAAAAIKFAAABAAAACwA6 gAggBgAAAAAAwAAAAAAAAEYAAAAADoUAAAAAAAADADyACCAGAAAAAADAAAAAAAAARgAAAAARhQAA AAAAAAMAPYAIIAYAAAAAAMAAAAAAAABGAAAAABiFAAAAAAAACwBSgAggBgAAAAAAwAAAAAAAAEYA AAAABoUAAAAAAAADAFOACCAGAAAAAADAAAAAAAAARgAAAAABhQAAAAAAAAIB+A8BAAAAEAAAALkz vM7wPnFEvysKmFGEPcYCAfoPAQAAABAAAAC5M7zO8D5xRL8rCphRhD3GAgH7DwEAAACYAAAAAAAA ADihuxAF5RAaobsIACsqVsIAAFBTVFBSWC5ETEwAAAAAAAAAAE5JVEH5v7gBAKoAN9luAAAAQzpc RG9jdW1lbnRzIGFuZCBTZXR0aW5nc1xNZXJsaW5cTG9jYWwgU2V0dGluZ3NcQXBwbGljYXRpb24g RGF0YVxNaWNyb3NvZnRcT3V0bG9va1xvdXRsb29rLnBzdAADAP4PBQAAAAMADTT9NwAAAgF/AAEA AAAzAAAAPEhCRUVMUENMTERLTE9ORUtNTlBJQ0VJTUNBQUEudHdudWtAZWFydGhsaW5rLm5ldD4A AAMABhCzogDwAwAHEK4CAAADABAQAAAAAAMAERAAAAAAHgAIEAEAAABlAAAASU1UUllJTkdUT1VU SUxJWkVJTVBPUlROT0RFKClBU0RFRklORURCRUxPV0lNVVNJTkdYRVJDRVNWMTAzQU5EVEhFSVRB UFBFQVJTVEhFSU1QT1JUTk9ERUlTTk9UV09SS0lORwAAAAAitA== ------=_NextPart_000_0006_01BFB667.EDF9EFD0-- From stephanie60@example.com Fri May 5 15:17:11 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 23139 invoked from network); 5 May 2000 15:17:11 -0000 Received: from seal.interfacecontrol.com (HELO mail1.interfacecontrol.com) (83.161.120.155) by locus.apache.org with SMTP; 5 May 2000 15:17:11 -0000 Received: from osprey (osprey.interfacecontrol.com [83.161.120.155]) by mail1.interfacecontrol.com (8.9.1a/8.9.1) with SMTP id LAA26727; Fri, 5 May 2000 11:16:59 -0400 (EDT) From: "Linda Derezinski" <stephanie60@example.com> To: <stephanie60@example.com>, <stephanie60@example.com> Subject: RE: importNode() Problem Date: Fri, 5 May 2000 11:18:33 -0400 Message-ID: <stephanie60@example.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_000A_01BFB683.A71C6450" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-MS-TNEF-Correlator: 000000002BDE5DD81270D111B2A3006008A73035643D5F00 In-Reply-To: <stephanie60@example.com> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_000A_01BFB683.A71C6450 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit The node passed to importnode cannot have a parent. In your example, node is a member of document sXML1. Just missing the call to cloneNode(). Node newNode = node.cloneNode (true); doc2.importNode(newNode, true); - Linda Derezinski > -----Original Message----- > From: Tom Wnuk [mailto:stephanie60@example.com] > Sent: Friday, May 05, 2000 11:00 AM > To: Apache XML General-Help > Subject: importNode() Problem > > I'm trying to utilize importNode() as defined below. I'm using xerces > v1.0.3 and the it appears the importNode is not working. > > What am I doing wrong? > > ================== > String sXML1 = "<?xml version=\"1.0\" ?>" + > "<TEST><ResponseType>XML</ResponseType>" + > "<StyleSheet>login.xsl</StyleSheet>" + > "</TEST>"; > > try > { > Document doc1 = XMLHelper.getDocument(sXML1); > Element eRoot = doc1.getDocumentElement(); > NodeList nlTmp = eRoot.getElementsByTagName("ResponseType"); > Node node = nlTmp.item(0); > > Document doc2 = XMLHelper.getDocument(); > Element eNewRoot = doc2.createElement("TEST"); > doc2.appendChild(eNewRoot); > > doc2.importNode(node, true); > > String sDoc2 = XMLHelper.makeStringFromDOM(doc2); > > System.out.println("sDoc=\n" + sDoc2); > } > > ================== > > Thanks > Tom > > Tom Wnuk > stephanie60@example.com > stephanie60@example.com > << File: ATT00006.txt >> ------=_NextPart_000_000A_01BFB683.A71C6450 Content-Type: application/ms-tnef; name="winmail.dat" Content-Disposition: attachment; filename="winmail.dat" Content-Transfer-Encoding: base64 eJ8+IiIPAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANAHBQAFAAsAEgAAAAUAAwEB A5AGANgIAAAmAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADAC4AAAAAAAMANgAA AAAAHgBwAAEAAAAVAAAAaW1wb3J0Tm9kZSgpIFByb2JsZW0AAAAAAgFxAAEAAAAbAAAAAb+2opXd bvEZHBM9T5GWqN0b4765SwAAgoZQAAIBHQwBAAAAIAAAAFNNVFA6TElOREFASU5URVJGQUNFQ09O VFJPTC5DT00ACwABDgAAAABAAAYOAARNGaW2vwECAQoOAQAAABgAAAAAAAAAK95d2BJw0RGyowBg CKcwNcKAAAADABQOAQAAAAsAHw4BAAAAAgEJEAEAAADTBAAAzwQAACkJAABMWkZ1jRnwegMACgBy Y3BnMTI1FjIA+Atgbg4QMDMzTwH3AqQD4wIAY2gKwHPwZXQwIAcTAoMAUBBm+HBycQ5QEN8B8RLh BPR7EvkIUG0N4AYEBeACgzNjEi8TNVRhaANxAoM0mwPGEXV9CoAIyCA7CW8tDjA1AoAKgXYIkHdr ZQuAZBjgdWMAUAsDY4cSAgvEGCBoZSBuBHEOIAqwBBAJgCB0byDtB3BwCREek2MAcB6QBUB1EyB2 HnBhHtEJcAIwLiggIEkDoHkIYSBlxHhhH5BsZSwehAQADyDhB4AG0ASQIG9mIDBkb2N1B4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AAwAGEH2txQkDAAcQDgQAAAMAEBAAAAAAAwAREAIAAAAeAAgQAQAAAGUA AABUSEVOT0RFUEFTU0VEVE9JTVBPUlROT0RFQ0FOTk9USEFWRUFQQVJFTlRJTllPVVJFWEFNUExF LE5PREVJU0FNRU1CRVJPRkRPQ1VNRU5UU1hNTDFKVVNUTUlTU0lOR1RIRUNBAAAAAO1X ------=_NextPart_000_000A_01BFB683.A71C6450-- From stephanie60@example.com Fri May 5 16:16:45 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 49014 invoked from network); 5 May 2000 16:16:45 -0000 Received: from goose.prod.itd.earthlink.net (83.161.120.155) by locus.apache.org with SMTP; 5 May 2000 16:16:45 -0000 Received: from ANASAZI (ip166.portland12.or.pub-ip.psi.net [83.161.120.155]) by goose.prod.itd.earthlink.net (8.9.3/8.9.3) with SMTP id JAA21446 for <stephanie60@example.com>; Fri, 5 May 2000 09:16:42 -0700 (PDT) Reply-To: <stephanie60@example.com> From: "Tom Wnuk" <stephanie60@example.com> To: "Apache XML General-Help" <stephanie60@example.com> Subject: RE: importNode() Problem Date: Fri, 5 May 2000 09:17:55 -0700 Message-ID: <stephanie60@example.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_001A_01BFB672.CBFA03B0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal In-Reply-To: <stephanie60@example.com> X-MS-TNEF-Correlator: <stephanie60@example.com> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_001A_01BFB672.CBFA03B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Thank-you so much for responding so quickly. I tried adding cloneNode() but unfortunately it didn't correct the problem. I'm at a loss and I really don't want to code another solution since you've already done it. Any other ideas would be most appreciated. Thanks Tom Tom Wnuk > -----Original Message----- > From: Linda Derezinski [mailto:stephanie60@example.com] > Sent: Friday, May 05, 2000 8:19 AM > To: stephanie60@example.com; stephanie60@example.com > Subject: RE: importNode() Problem > > The node passed to importnode cannot have a parent. In your example, node > is a member of document sXML1. > Just missing the call to cloneNode(). > > > Node newNode = node.cloneNode (true); > doc2.importNode(newNode, true); > > - Linda Derezinski > -----Original Message----- > From: Tom Wnuk [mailto:stephanie60@example.com] > Sent: Friday, May 05, 2000 11:00 AM > To: Apache XML General-Help > Subject: importNode() Problem > > I'm trying to utilize importNode() as defined below. I'm using > xerces v1.0.3 and the it appears the importNode is not working. > > What am I doing wrong? > > ================== > String sXML1 = "<?xml version=\"1.0\" ?>" + > "<TEST><ResponseType>XML</ResponseType>" + > "<StyleSheet>login.xsl</StyleSheet>" + > "</TEST>"; > > try > { > Document doc1 = XMLHelper.getDocument(sXML1); > Element eRoot = doc1.getDocumentElement(); > > NodeList nlTmp = > eRoot.getElementsByTagName("ResponseType"); > Node node = nlTmp.item(0); > > Document doc2 = XMLHelper.getDocument(); > Element eNewRoot = doc2.createElement("TEST"); > doc2.appendChild(eNewRoot); > > doc2.importNode(node, true); > > String sDoc2 = XMLHelper.makeStringFromDOM(doc2); > > System.out.println("sDoc=\n" + sDoc2); > } > > ================== > > Thanks > Tom > > Tom Wnuk > stephanie60@example.com > stephanie60@example.com > << File: ATT00006.txt >> ------=_NextPart_000_001A_01BFB672.CBFA03B0 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IjcQAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANAHBQAFAAkAEQAAAAUAAAEB A5AGAMwKAAAnAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApA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EM6 XERvY3VtZW50cyBhbmQgU2V0dGluZ3NcTWVybGluXExvY2FsIFNldHRpbmdzXEFwcGxpY2F0aW9u IERhdGFcTWljcm9zb2Z0XE91dGxvb2tcb3V0bG9vay5wc3QAAwD+DwUAAAADAA00/TcAAAIBfwAB AAAAMwAAADxIQkVFTFBDTExES0xPTkVLTU5QSUdFSU5DQUFBLnR3bnVrQGVhcnRobGluay5uZXQ+ AAADAAYQCifVbQMABxCdBQAAAwAQEAAAAAADABEQAgAAAB4ACBABAAAAZQAAAFRIQU5LLVlPVVNP TVVDSEZPUlJFU1BPTkRJTkdTT1FVSUNLTFlJVFJJRURBRERJTkdDTE9ORU5PREUoKUJVVFVORk9S VFVOQVRFTFlJVERJRE5UQ09SUkVDVFRIRVBST0JMRU0AAAAAd/8= ------=_NextPart_000_001A_01BFB672.CBFA03B0-- From stephanie60@example.com Fri May 5 16:57:50 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 61764 invoked from network); 5 May 2000 16:57:50 -0000 Received: from mailhub1.almaden.ibm.com (83.161.120.155) by locus.apache.org with SMTP; 5 May 2000 16:57:50 -0000 Received: from sun1.cupertino.ibm.com (sun1.cupertino.ibm.com [83.161.120.155]) by mailhub1.almaden.ibm.com (8.8.8/8.8.8) with ESMTP id JAA14966 for <stephanie60@example.com>; Fri, 5 May 2000 09:57:11 -0700 Received: from us.ibm.com (maki.cupertino.ibm.com [83.161.120.155]) by sun1.cupertino.ibm.com (8.9.3/8.9.0) with ESMTP id JAA06298 for <stephanie60@example.com>; Fri, 5 May 2000 09:57:23 -0700 (PDT) Message-ID: <stephanie60@example.com> Date: Fri, 05 May 2000 09:51:11 -0700 From: Arnaud Le Hors <stephanie60@example.com> Organization: IBM X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: stephanie60@example.com Subject: Re: importNode() Problem References: <stephanie60@example.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I'm afraid importNode is broken in 1.0.3. I don't really remember when I fixed it but I think it's after that. So, either you get the latest version from CVS or you wait for the new release to come out (very very soon now!). Sorry, I can't help you more. -- Arnaud Le Hors - IBM Cupertino, XML Technology Group From stephanie60@example.com Fri May 5 17:12:41 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 66807 invoked from network); 5 May 2000 17:12:41 -0000 Received: from eis-msg-014.jpl.nasa.gov (83.161.120.155) by locus.apache.org with SMTP; 5 May 2000 17:12:41 -0000 Received: from uta003594 (uta003594.jpl.nasa.gov [83.161.120.155]) by eis-msg-014.jpl.nasa.gov (8.9.3/8.9.3) with ESMTP id KAA10080; Fri, 5 May 2000 10:12:36 -0700 (PDT) Message-ID: <stephanie60@example.com> Reply-To: "Sean Kelly" <stephanie60@example.com> From: "Sean Kelly" <stephanie60@example.com> To: <stephanie60@example.com> Cc: <stephanie60@example.com> References: <stephanie60@example.com> <stephanie60@example.com> Subject: Re: importNode() Problem Date: Fri, 5 May 2000 10:15:50 -0700 Organization: UTA at JPL MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > I'm afraid importNode is broken in 1.0.3. I don't really remember when I > fixed it but I think it's after that. So, either you get the latest > version from CVS or you wait for the new release to come out (very very > soon now!). Sorry, I can't help you more. It's working for me, and I'm using xerces 1.0.3. The problem is this: importNode *returns* a new Node object whose owning document is the target doc object. You then have to add that returned node to your target doc at the correct location. This should work: Node importedNode = doc2.importNode(node, true); eNewRoot.appendChild(importedNode); Take care, --Sean From stephanie60@example.com Fri May 5 17:13:30 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 67615 invoked from network); 5 May 2000 17:13:30 -0000 Received: from goose.prod.itd.earthlink.net (83.161.120.155) by locus.apache.org with SMTP; 5 May 2000 17:13:30 -0000 Received: from ANASAZI (ip166.portland12.or.pub-ip.psi.net [83.161.120.155]) by goose.prod.itd.earthlink.net (8.9.3/8.9.3) with SMTP id KAA01267 for <stephanie60@example.com>; Fri, 5 May 2000 10:13:26 -0700 (PDT) Reply-To: <stephanie60@example.com> From: "Tom Wnuk" <stephanie60@example.com> To: <stephanie60@example.com> Subject: RE: importNode() Problem Date: Fri, 5 May 2000 10:14:41 -0700 Message-ID: <stephanie60@example.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0025_01BFB67A.B9E80840" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal In-Reply-To: <stephanie60@example.com> X-MS-TNEF-Correlator: <stephanie60@example.com> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0025_01BFB67A.B9E80840 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Well, I have resolved my problem. Whether it is suppose to work like this I'm no longer sure. After reading the DOM spec again for importNode(), it doesn't say that it will actually update the target DOM via the import process. My understanding is that it simply returns the node which is now owned by the target DOM. This may be a side-effect but it's enough to allow me to place this node in the target DOM as opposed to letting the import just append it. It actually saves me from having to build a new DOM, now I can simply call replaceNode() instead. If I'm assuming in error or have made a big mistake, please let me know. Thanks again for everyone's help. Tom > -----Original Message----- > From: Tom Wnuk [mailto:stephanie60@example.com] > Sent: Friday, May 05, 2000 9:18 AM > To: Apache XML General-Help > Subject: RE: importNode() Problem > > Thank-you so much for responding so quickly. I tried adding cloneNode() > but unfortunately it didn't correct the problem. > > I'm at a loss and I really don't want to code another solution since > you've already done it. > > Any other ideas would be most appreciated. > > Thanks > Tom > > Tom Wnuk > > > -----Original Message----- > From: Linda Derezinski [mailto:stephanie60@example.com] > Sent: Friday, May 05, 2000 8:19 AM > To: stephanie60@example.com; stephanie60@example.com > Subject: RE: importNode() Problem > > The node passed to importnode cannot have a parent. In your > example, node is a member of document sXML1. > Just missing the call to cloneNode(). > > > Node newNode = node.cloneNode (true); > doc2.importNode(newNode, true); > > - Linda Derezinski > -----Original Message----- > From: Tom Wnuk [mailto:stephanie60@example.com] > Sent: Friday, May 05, 2000 11:00 AM > To: Apache XML General-Help > Subject: importNode() Problem > > I'm trying to utilize importNode() as defined below. I'm > using xerces v1.0.3 and the it appears the importNode is not working. > > What am I doing wrong? > > ================== > String sXML1 = "<?xml version=\"1.0\" ?>" + > > "<TEST><ResponseType>XML</ResponseType>" + > "<StyleSheet>login.xsl</StyleSheet>" > + > "</TEST>"; > > try > { > Document doc1 = XMLHelper.getDocument(sXML1); > Element eRoot = > doc1.getDocumentElement(); > NodeList nlTmp = > eRoot.getElementsByTagName("ResponseType"); > Node node = nlTmp.item(0); > > Document doc2 = XMLHelper.getDocument(); > Element eNewRoot = > doc2.createElement("TEST"); > doc2.appendChild(eNewRoot); > > doc2.importNode(node, true); > > String sDoc2 = > XMLHelper.makeStringFromDOM(doc2); > > System.out.println("sDoc=\n" + sDoc2); > } > > ================== > > Thanks > Tom > > Tom Wnuk > stephanie60@example.com > stephanie60@example.com > << File: ATT00006.txt >> << File: ATT00031.txt >> ------=_NextPart_000_0025_01BFB67A.B9E80840 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat" eJ8+IikRAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgA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AAGUAAABXRUxM LElIQVZFUkVTT0xWRURNWVBST0JMRU1XSEVUSEVSSVRJU1NVUFBPU0VUT1dPUktMSUtFVEhJU0lN Tk9MT05HRVJTVVJFQUZURVJSRUFESU5HVEhFRE9NU1BFQ0FHQUlOAAAAAFns ------=_NextPart_000_0025_01BFB67A.B9E80840-- From stephanie60@example.com Fri May 5 17:15:15 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 68960 invoked from network); 5 May 2000 17:15:15 -0000 Received: from goose.prod.itd.earthlink.net (83.161.120.155) by locus.apache.org with SMTP; 5 May 2000 17:15:15 -0000 Received: from ANASAZI (ip166.portland12.or.pub-ip.psi.net [83.161.120.155]) by goose.prod.itd.earthlink.net (8.9.3/8.9.3) with SMTP id KAA06896 for <stephanie60@example.com>; Fri, 5 May 2000 10:15:13 -0700 (PDT) Reply-To: <stephanie60@example.com> From: "Tom Wnuk" <stephanie60@example.com> To: <stephanie60@example.com> Subject: RE: importNode() Problem Date: Fri, 5 May 2000 10:16:28 -0700 Message-ID: <stephanie60@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal In-Reply-To: <stephanie60@example.com> X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N It may not be working as it's suppose to but it returns a Node that is now owned by the target doc and that's good enough for now. I'll keep my I out for the new release. Thanks Tom -----Original Message----- From: Arnaud Le Hors [mailto:stephanie60@example.com] Sent: Friday, May 05, 2000 9:51 AM To: stephanie60@example.com Subject: Re: importNode() Problem I'm afraid importNode is broken in 1.0.3. I don't really remember when I fixed it but I think it's after that. So, either you get the latest version from CVS or you wait for the new release to come out (very very soon now!). Sorry, I can't help you more. -- Arnaud Le Hors - IBM Cupertino, XML Technology Group --------------------------------------------------------------------- In case of troubles, e-mail: stephanie60@example.com To unsubscribe, e-mail: stephanie60@example.com For additional commands, e-mail: stephanie60@example.com From stephanie60@example.com Fri May 5 23:43:32 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 74355 invoked from network); 5 May 2000 23:43:32 -0000 Received: from pop.systemy.it (83.161.120.155) by locus.apache.org with SMTP; 5 May 2000 23:43:32 -0000 Received: from apache.org (pv9-pri.systemy.it [83.161.120.155]) by pop.systemy.it (8.8.8/8.8.3) with ESMTP id BAA01248; Sat, 6 May 2000 01:43:12 +0200 Message-ID: <stephanie60@example.com> Date: Sat, 06 May 2000 01:47:37 +0200 From: Stefano Mazzocchi <stephanie60@example.com> Organization: Apache Software Foundation X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en,it MIME-Version: 1.0 To: Cocoon <stephanie60@example.com>, Cocoon Users <stephanie60@example.com>, Apache XML <stephanie60@example.com>, Apache XML Announcements <stephanie60@example.com>, XMLHack Editors <stephanie60@example.com> Subject: Cocoon 1.7.3 finally released! Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, I'm very happy to announce the availability of the 1.7.3 release of the Cocoon XML Publishing Framework that you can download from http://xml.apache.org/cocoon/dist/ while this version doesn't introduce any great new features, it has many usability improvements as well as fresh new samples and many bugfixes, expecially on the i18n, encoding and formatting sections. It _highly_ suggested that you upgrade your installations to this latest release and, as usual, it's _highly_ suggested that you upgrade your "cocoon.properties" along with the installation since many new configurations were introduced. Note that no known back incompatibilities were introduced by this release. In case, here follows the complete change list: <release version="1.7.3" date="May 5 2000"> <action dev="DB" type="fix"> Added code to XSLTProcessor to not import request parameters whose names are not valid XML Qnames and code to XalanTransformer to quote request parameter values to bypass the expression parsing routines. </action> <action dev="DB" type="update"> Added column formatting to XSP SQL taglib. </action> <action dev="DB" type="update"> Documented all XSP SQL taglib configuration options. </action> <action dev="SM" type="update" due-to="Paul Lamb" due-to-email="stephanie60@example.com"> Added ability to recognize Servlet 2.1 container and get cocoon.properties as a ServletContext resource. This should ease installation on Tomcat. </action> <action dev="SM" type="update"> Cleaned the docs a little, fixed some typos and extended the cocoon2 sitemap example. </action> <action dev="SM" type="add" due-to="Manfred Riem" due-to-email="stephanie60@example.com"> Patched engine creation to allow several instances of Cocoon in the same JVM. </action> <action dev="DB" type="update" due-to="Kevin Sonney" due-to-email="stephanie60@example.com"> Added code to XSP SQL library to automatically choose execute update v.s. execute query </action> <action dev="SM" type="add"> Added SMIL formatter. </action> <action dev="SM" type="add"> Added XHTML formatter. </action> <action dev="SM" type="fix" due-to="Pawel Pesz" due-to-email="stephanie60@example.com"> Fixed other encoding problems (hopefully last ones). </action> <action dev="SM" type="update"> Updated build scripts (mostly esthetics for easier administration). </action> <action dev="SM" type="fix" due-to="Mike Rossellini" due-to-email="stephanie60@example.com"> Fixed some typos and mistakes in documentation. </action> <action dev="SM" type="fix"> Fixed a problem with the cache monitor that was not updating the timestamp after a change so the cache was disabled after one of multiple stylesheets where updated. Now it works as expected. </action> <action dev="SM" type="fix"> Fixed possible encoding problem in stylesheet loading. </action> <action dev="SM" type="update"> Updated Xalan to version 1.0.1. </action> <action dev="SM" type="add"> Added new samples. </action> <action dev="SM" type="fix" due-to="Rapha&euml;l Luta" due-to-email="stephanie60@example.com"> Fixed a problem with XSP where PIs contained the string <em>xsp</em>. </action> <action dev="SM" type="fix" due-to="Roberto Moreda" due-to-email="stephanie60@example.com" fixes-bug="112"> Fixed a problem with XSP packages containing dots and also fixes a problem with package generation. </action> <action dev="SM" type="update" fixes-bug="102"> Improved error message when XSP repository directory is not writable. </action> <action dev="SM" type="update" due-to="Michel Lehon" due-to-email="stephanie60@example.com"> Added an improved memory store that checks for memory overflow in the background. </action> <action dev="SM" type="fix" due-to="Ovidiu Predescu" due-to-email="stephanie60@example.com"> Fixed a number of NPE when using Cocoon from the command line. </action> <action dev="SM" type="fix" due-to="Robin Green" due-to-email="stephanie60@example.com"> Fixed xsp:pi that now can work with included xsp:expr for dynamically generated PIs in XSP. </action> <action dev="RR" type="fix"> Fixed xsp:expr [XSPPage.xspExpr()] to ensure that node values are created by the same document instance. </action> <action dev="SM" type="fix" due-to="Andrew Sheehan" due-to-email="stephanie60@example.com"> Fixed problem with Sun ProjectX compilation that failed on some platforms. </action> <action dev="SM" type="fix" due-to="James Birchfield" due-to-email="stephanie60@example.com"> Fixed problem with LDAP examples. </action> <action dev="SM" type="fix" due-to="Maurice Galland" due-to-email="stephanie60@example.com"> Fixed a problem with DocumentDTD that defined the "role" attribute twice and triggered validation problems on some parsers. </action> <action dev="SM" type="fix" fixes-bug="91"> Fixed a problem with document stylesheets that messed up anchors. </action> <action dev="SM" type="add" fixes-bug="90"> Added ability to specify formatting information from the cocoon property file instead of having to create a custom formatter every time. Also fixed the output encoding problem since now a specific encoding for the output stream can be forced. </action> <action dev="SM" type="add" fixes-bug="83"> Added XML encoding prediction to fix the encoding problem for ProducerFromFile. Cocoon should now work with all encoding supported by the XML parser used. </action> <action dev="SM" type="fix" due-to="Robin Green" due-to-email="stephanie60@example.com"> Added ability to call "hasChanged" from inside the XSP engine to avoid dynamic page regeneration even XSP pages. </action> </release> Thank you. -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. <stephanie60@example.com> Friedrich Nietzsche -------------------------------------------------------------------- Missed us in Orlando? Make it up with ApacheCON Europe in London! ------------------------- http://ApacheCon.Com --------------------- From stephanie60@example.com Sat May 6 00:48:19 2000 Return-Path: <stephanie60@example.com> Mailing-List: contact stephanie60@example.com; run by ezmlm Delivered-To: mailing list stephanie60@example.com Received: (qmail 4596 invoked from network); 6 May 2000 00:48:19 -0000 Received: from mg02.austin.ibm.com (HELO mailgate2.austin.ibm.com) (83.161.120.155) by locus.apache.org with SMTP; 6 May 2000 00:48:19 -0000 Received: from netmail2.austin.ibm.com (netmail2.austin.ibm.com [83.161.120.155]) by mailgate2.austin.ibm.com (AIX4.3/8.9.3/8.9.3) with ESMTP id TAA23646 for <stephanie60@example.com>; Fri, 5 May 2000 19:49:28 -0500 Received: from popmail.austin.ibm.com (popmail.austin.ibm.com [83.161.120.155]) by netmail2.austin.ibm.com (8.8.5/8.8.5) with ESMTP id TAA69362 for <stephanie60@example.com>; Fri, 5 May 2000 19:48:18 -0500 Received: from apache.org (socks1.almaden.ibm.com [83.161.120.155]) by popmail.austin.ibm.com (AIX4.2/UCB 8.7/8.7-client1.01) with ESMTP id TAA21538 for <stephanie60@example.com>; Fri, 5 May 2000 19:48:16 -0500 (CDT) Message-ID: <stephanie60@example.com> Date: Fri, 05 May 2000 17:49:40 -0700 From: Mike Pogue <stephanie60@example.com> Organization: xml.apache.org X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: stephanie60@example.com Subject: Re: locus.apache.org hacked by white hats; FTP down for good, bugzilladown until audited. References: <stephanie60@example.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N And, the story makes the news: Apache site defaced in "embarrassing" hacker attack http://yahoo.cnet.com/news/0-1003-200-1821155.html?pt.yfin.cat_fin.txt.ne Mike Brian Behlendorf wrote: > > Hi. We have been made aware (thanks to a very humorous banner ad for > Microsoft Back Office on the front of www.apache.org!) that our particular > configuration on www.apache.org of ftpd and bugzilla opened a security > hole that allowed someone from the outside to get a shell account, and > then get root. We have been in contact with those who found the hole, and > have closed up the misconfigurations that allowed this. > > It is
{'source': 'Apache Software Foundation Public Mail Archives'}