There shouldn't be any issues with folder naming; I use this pattern all
the time.  I believe the particular error you mention occurs when you try
to put text in the output at the root level (e.g., not inside an enclosing
element).  For example,

<xsl:template match="/">
  Hello, World!
  <body>...</body>
</xsl:template>

-Christopher




Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  Naming folders...bug or what?? (1.8.2)


Hi,

after hours of debugging (trying to figure out the fault that causes
"cannot
output text before element" or something equally useful error info.), I
moved my files to another folder.

I had:

welcome/welcome.xml
welcome/welcome-html.xsl

and changed to:

startpage/welcome.xml
startpage/welcome-html.xsl

and now it works!!!

I have lots of files in folders with the same name (e.g login.xml in
login/), so that shouldn't be a problem per se.

Does anybody know what causes the problem?

Cocoon 1.8.2

/AM




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

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

Reply via email to