Aurelien,

You do not need to use those commands as they are C1 specific.  I am just
completing a set of examples for C2 and by coincidence there has been some a
thread (C2 Stylesheet, logicsheet and content) in the past day which has
similar example code.  cTwIG shall be updated in the next few hours with
examples.

Regards

Jeremy

-----Original Message-----
From: Aurelien [mailto:[EMAIL PROTECTED]]
Sent: 26 September 2001 23:08
To: [EMAIL PROTECTED]
Subject: simple logicsheet question (+doc volunteering)


Note: the logicsheet docs don't seem to be very up-to-date. While it's
at the cocoon2 web site, at
http://xml.apache.org/cocoon2/logicsheet-guide.html
you can read: "The second way to use a logicsheet depends on wether you
are using Apache Cocoon1 or Apache Cocoon 2. For Apache Cocoon 2, take a
look at the Apache Cocoon Site." this references
http://xml.apache.org/cocoon2/...

Mmh...

Anyway, I'm using the "first way" to use a logicsheet, ie using the
<?xml-logicsheet?> processing instruction:
At the beginning of my xsp file, I put:

<?cocoon-process type="xsp"?>
<?xml-logicsheet href="logicsheet.greeting.xsl?>

Now, the documentation doesn't state where to put the
logicsheet.greeting.xsl file. So I just put it besides the xsp file. Is
that right ?
Anyway, I get the following error message:

java.lang.IllegalAccessError: try to access method
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.addLogic
sheetToList(
Lorg/apache/cocoon/components/language/markup/AbstractMarkupLanguage$Languag
eDescriptor;
Ljava/lang/String;Lorg/apache/cocoon/environment/SourceResolver;) from
class
org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage?XSPTransf
omerChainBuilderFilter

After several other empirical tests, it seems that the faulty bit is the
<?xml-logicsheet href="logicsheet.greeting.xsl?> processing instruction

Is this method now revoked ?

If so, pleaaase do not leave outdated documentation on cocoon2's web
site ! This is soooo confusing !

Also, I've already put together a small tutorial on HTML table
generation with cocoon to put on Jeremy Aston's cTwIG, and I'm willing
to contribute just about every information about the setting up of
logicsheets on cocoon2 in the same manner, but I need hints !

Aurélien

---------------------------------------------------------------------
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]>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
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