Man, Steven, thanks for pointing that out--the Hello World example works now.  The 
really weird thing is that I *did* check that quite a few times and fixed the missing 
? mark before.  However, I had made a backup copy of the helloworld.xml file so that I 
could delete my whole cocoon directory and reinstall cocoon from scratch (I thought I 
might have messed up the installation somehow).  So I guess the backed up 
helloworld.xml file still had the missing ? and that's been a major culprit here. 
<Sigh>

Also weird: Remember that I kept getting the error about cocoon/helloworld being an 
unknown URI?  That error has mysteriously gone away...could it have been cleaning out 
the $TOMCAT_HOME/work directory that did it??

In any case, the example finally works!! Hooraaay!!!  And it was supposed to be a 
trivial example too. :-)

Go get some sleep--you have earned it. :-)

Thanks!

Sonny
--- Steven Noels <[EMAIL PROTECTED]> wrote:
>Sonny Sukumar wrote:
>
> > I cleared out error.log and accessed
> > http://localhost:8080/cocoon/helloworld again and there's no errors
> > that are logged.  The page just comes up blank.  When I click on View
> > Source, the document source is COMPLETELY empty.  Should I be using
> > something other than <serialize/>?  I just copied the example
> > straight from the book.
>
>Damn, my bad. So finally, I copied your code into files and fed that 
>through Cocoon. Hm...  org.xml.sax.SAXParseException: a pseudo attribute 
>name is expected on my error page and in my logs...
>
>What could this be...? Load up your helloworld.xml in an XML editor, 
>press validate and tadaaaaa, typo found:
>
><?xml version="1.0"?>
>                    ^
>
>Yup, that stupid - didn't had anything to do with Cocoon. Do you have 
>your error page up & running now? The error message isn't particularly 
>helpful (plain wrong in this case), but at least you get a feeling where 
>to look at.
>
>OK now?
>
></Steven>
>-- 
>Steven Noels                            http://outerthought.org/
>Outerthought - Open Source, Java & XML Competence Support Center
>[EMAIL PROTECTED]                      [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>Please check that your question  has not already been answered in the
>FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>

_____________________________________________________________
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_____________________________________________________________
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP & more! http://www.everyone.net/selectmail?campaign=tag

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to