Return-Path: Delivered-To: apmail-maven-doxia-dev-archive@www.apache.org Received: (qmail 94167 invoked from network); 29 May 2007 00:40:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 May 2007 00:40:39 -0000 Received: (qmail 19013 invoked by uid 500); 29 May 2007 00:40:44 -0000 Delivered-To: apmail-maven-doxia-dev-archive@maven.apache.org Received: (qmail 18974 invoked by uid 500); 29 May 2007 00:40:44 -0000 Mailing-List: contact doxia-dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: doxia-dev@maven.apache.org Delivered-To: mailing list doxia-dev@maven.apache.org Received: (qmail 18965 invoked by uid 99); 29 May 2007 00:40:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2007 17:40:44 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of vincent.siveton@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 May 2007 17:40:38 -0700 Received: by ug-out-1314.google.com with SMTP id 34so1928041ugf for ; Mon, 28 May 2007 17:40:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PhlUFgkL3inLLbWYh/qvAFnc4UGZitv2qIv4/ZfWCEnRG2gHvsLHOYIgET4SqSg5W7rlORnwAjkTcfd/Kxsojpe5fKT0RQlMZFnV222bBKKiV9lwDz3O/aziFq9b8OcB5ObHrzcJW/w7n/L4tEXvfL9SVfpQLxiZRMJmjlLc1pI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FxhALzsDBGBscu14CksseFIu11yti7TKzZvhO5vW7bK+4+pG8/3Rv78GAqRJct2NBSI+yaw7zvscOagnSn+hbU+Xsq1dczXOsxMb5cPypftLG8BwwWyqbdvxxWu2SVrtAzSWg/PtWe/OdwptmLCK46cPuQKVbu40mD+Tgi9GIdc= Received: by 10.78.118.5 with SMTP id q5mr1789577huc.1180399217499; Mon, 28 May 2007 17:40:17 -0700 (PDT) Received: by 10.78.185.20 with HTTP; Mon, 28 May 2007 17:40:17 -0700 (PDT) Message-ID: <9ae367340705281740i7d989b50wed356a33fa0a09fd@mail.gmail.com> Date: Mon, 28 May 2007 20:40:17 -0400 From: "Vincent Siveton" To: doxia-dev@maven.apache.org Subject: Re: svn commit: r542363 - /maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XmlWriterXdocSink.java In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070529001145.45C791A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org np! Cheers, Vincent 2007/5/28, Jason van Zyl : > Sorry about that, thought I was building with 1.4. We need the > enforcer plugin :-) > > On 28 May 07, at 8:11 PM 28 May 07, vsiveton@apache.org wrote: > > > Author: vsiveton > > Date: Mon May 28 17:11:44 2007 > > New Revision: 542363 > > > > URL: http://svn.apache.org/viewvc?view=rev&rev=542363 > > Log: > > DOXIA-113: Can't build doxia with jdk1.4 in rev 542303 > > Submitted by: Olivier Lamy > > Reviewed by: Vincent Siveton > > > > o patch applied > > > > Modified: > > maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/ > > main/java/org/apache/maven/doxia/module/xdoc/XmlWriterXdocSink.java > > > > Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/ > > src/main/java/org/apache/maven/doxia/module/xdoc/ > > XmlWriterXdocSink.java > > URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia- > > modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/ > > module/xdoc/XmlWriterXdocSink.java? > > view=diff&rev=542363&r1=542362&r2=542363 > > ====================================================================== > > ======== > > --- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/ > > main/java/org/apache/maven/doxia/module/xdoc/XmlWriterXdocSink.java > > (original) > > +++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/ > > main/java/org/apache/maven/doxia/module/xdoc/XmlWriterXdocSink.java > > Mon May 28 17:11:44 2007 > > @@ -1,4 +1,4 @@ > > -package org.codehaus.doxia.module.xdoc; > > +package org.apache.maven.doxia.module.xdoc; > > > > /* > > * Licensed to the Apache Software Foundation (ASF) under one > > @@ -19,11 +19,12 @@ > > * under the License. > > */ > > > > -import org.apache.maven.doxia.util.HtmlTools; > > -import org.apache.maven.doxia.sink.SinkAdapter; > > +import org.apache.maven.doxia.parser.Parser; > > +import org.apache.maven.doxia.sink.SinkAdapter; > > import org.apache.maven.doxia.sink.StructureSink; > > +import org.apache.maven.doxia.util.HtmlTools; > > +import org.apache.maven.doxia.util.StringUtil; > > import org.codehaus.plexus.util.xml.XMLWriter; > > -import org.apache.maven.doxia.parser.Parser; > > > > /** > > * A doxia Sink which produces an xdoc document. > > @@ -54,7 +55,6 @@ > > throw new IllegalArgumentException("argument can't be > > null"); > > } > > this.writer = writer; > > - > > } > > > > protected void resetState() > > @@ -81,8 +81,8 @@ > > public void head_() > > { > > headFlag = false; > > - > > - writer.endElement(); // properties > > + > > + writer.endElement(); // properties > > } > > > > public void title_() > > @@ -402,7 +402,6 @@ > > } > > } > > > > - > > writer.startElement("t" + ( headerRow ? 'h' : 'd' )); > > if ( justif != null ) > > writer.addAttribute("align", justif); > > @@ -535,7 +534,7 @@ > > { > > buffer.append( text ); > > } > > - else if ( sectionTitleFlag ) > > + else if ( sectionTitleFlag ) > > { > > buffer.append( text ); > > } > > @@ -564,7 +563,7 @@ > > > > protected void verbatimContent( String text ) > > { > > - writer.writeText( text.replace(" ", " ")); > > + writer.writeText( StringUtil.replaceAll( text, " ", > > " " ) ); > > } > > > > public static String escapeHTML( String text ) > > > > > > > > Thanks, > > Jason > > ---------------------------------------------------------- > Jason van Zyl > Founder and PMC Chair, Apache Maven > jason at sonatype dot com > ---------------------------------------------------------- > > > >