You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Oliver Alth <OA...@de.ibm.com> on 2003/03/17 15:27:46 UTC

Re: Forrest on OS/390 USS

Hello Jeff,
 I just tried something "the other
way round". That means I extracted all files
from the .tar file without conversion, then I converted
the files forrest, forrestbot and ant
(the shell scripts) from ascii to ebcdic.

When calling forrest, I get the following exception:


Deleting directory /u/uni1/test/build/tmp/work
Created dir: /u/uni1/test/build/tmp/work
Copying 3 files to /u/uni1/test/build/site
Copying 19 files to /u/uni1/test/build/site/skin/images
Copying 3 files to /u/uni1/test/build/site/skin

Setup...FATAL_E 2003-03-17 14:20:46.473 [        ] (): Exception caught
org.xml.sax.SAXParseException: Content is not allowed in trailing section.
        at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1189)
        at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:223)
        at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.build(DefaultConfigurationBuilder.java:192)
        at org.apache.cocoon.Main.main(Main.java:390)


BUILD FAILED
file:///u/uni1/apache-forrest-0.4-bin/forrest.build.xml:557: Java returned:
1

Total time: 16 seconds

__________________________________________________________________
IBM Deutschland Entwicklung GmbH, Schönaicher Str. 220, D-71032 Böblingen
eServer Software Management, D4357, Intern: 7103-06, Tel. 902-2790,
Tel.: ++49-(0)7031-16-4280, Fax.: 07031-16-2790
Internet: OALTH@DE.IBM.COM


Re: Forrest on OS/390 USS

Posted by Jeff Turner <je...@apache.org>.
On Mon, Mar 17, 2003 at 03:27:46PM +0100, Oliver Alth wrote:
> Hello Jeff,
>  I just tried something "the other
> way round". That means I extracted all files
> from the .tar file without conversion, then I converted
> the files forrest, forrestbot and ant
> (the shell scripts) from ascii to ebcdic.
> 
> When calling forrest, I get the following exception:
> 
> 
> Deleting directory /u/uni1/test/build/tmp/work
> Created dir: /u/uni1/test/build/tmp/work
> Copying 3 files to /u/uni1/test/build/site
> Copying 19 files to /u/uni1/test/build/site/skin/images
> Copying 3 files to /u/uni1/test/build/site/skin
> 
> Setup...FATAL_E 2003-03-17 14:20:46.473 [        ] (): Exception caught
> org.xml.sax.SAXParseException: Content is not allowed in trailing section.

Typically cryptic Xerces error.  Is there any indication which file it's
referring to?  Running with 'forrest -Dproject.debuglevel=DEBUG' should
print more useful things.

To debug, it might be best to ignore Forrest altogether for a moment, and
try just parsing an XML file using Xerces.  That should flush out
encoding problems.  I've got a bit of Java code that does this at
http://www.opensource.socialchange.net.au/validator/


--Jeff