You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Antonio Gallardo <ag...@agsoftware.dnsalias.com> on 2003/11/13 21:35:44 UTC

[woody] - wi:group problem

Hi:

I have a problem with the rendering of the <wi:group> tags with
woody-samples-styling.xml

It looks like it does not render the wi: tags at all.

BTW, I have the woody related stylesheets inside the same dir:

/stylesheets/woody

I am calling the tranformer  from a sub sitemap in:

/docs/plan/forms/create

It is weird why it does not work at all. I am suspecting in a XSL
processor problem. Maybe related to <xsl:include>. Can someone confirm
that?

Please help.

Best Regards,

Antonio Gallardo.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


found the problem in (was: [woody] - wi:group problem)

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Hi:

I finally found the source of this problem (2 days). Try to explain:

I had a file with a field defined as follow:

<wd:field id="emp_razonSocial" required="true">
  <wd:label>Razón Social:</wd:label>
    <wd:datatype base="string">
      <wd:validation><wd:length max="100"/></wd:validation>
    </wd:datatype>
</wd:field>

NOTE: The <wd:label>, it includes the letter "ó" (&#243; or &oacute;)
If you try this element everything works fine. No problem showed even if
you use Xalan. XSLTC fail because the woody-samples-styling.xsl use
<xsl:include> and seems like there is a related bug about that (even in
earlier versions of xalan - 2.5.1 or below).

In the same I had the following:

<wd:repeater-action id="agregaranual" action-command="add-row"
    repeater="anual">
    <wd:label>Agregar Transacción</wd:label>
</wd:repeater-action>

NOTE: The <wd:label>, it includes (as above) the letter "ó" (&#243; or
&oacute;) But in this case xalan fails with the following error:

o.a.c.ProcessingException: Failed to execute pipeline.:
java.lang.RuntimeException: java.lang.RuntimeException:
org.xml.sax.SAXException: Attempt to output character of integral value
243 that is not represented in specified output encoding of .

Interesting is'n it? :-D

If I avoid the use of the letter "ó" (&#243; or &oacute;) in the
<wd:label> of the <wd:repeater-action> everything works OK.

Really it is not important if I let the letter "ó" in the <wd:field>
(described above).

I understand the <wd:repeater-action> generates a button, but why it fails
just there and no in the first case? Is this because the "value" of the
generated <input> is an attribute?

I also understand it cannot necesary be a problem related to woody.

WYTA?

Best Regards,

Antonio Gallardo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [woody] - wi:group problem

Posted by Joerg Heinicke <jh...@virbus.de>.
Antonio Gallardo wrote:
> Ugo Cei dijo:
> 
>>Antonio Gallardo wrote:
>>
>>>It is weird why it does not work at all. I am suspecting in a XSL
>>>processor problem. Maybe related to <xsl:include>. Can someone confirm
>>>that?
>>
>>Are you using Xalan or XSLTC? I had some problems with the latter and
>>Woody.
> 
> 
> Thanks for your reply Ugo:
> 
> I used XSLTC. Looks like it is related to xsl:include:
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10626

Might be by accident, but the stacktrace you posted there is a typical hint 
for the endorsed libs problem: 
http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem (you will find 
your message on this page). Maybe you should test your Xalan/XSLTC version 
using the environment check stylesheet: 
http://xml.apache.org/xalan-j/faq.html#environmentcheck.

> If I switch to xalan as default then I got in some pages:
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24278
> 
> I am really very angry with xalan. If I switch back to 2.5.1 or lower,
> then there are another bugs. Damn! Like the egg and the chicken problem.
> 
> I am trying to learn how to live with all this. The worst is it make waste
> many time hunting for xalan (xsltc) bugs.
> 
> Currently I am using both: default is xsltc and xalan for woody. Now I
> will put all the <xsl:include> in the unique file that uses them to avoid
> the xsltc problem with <xsl:include>
> 
> If you solved the problem in other way, I will be glad to hear you. :-D
> 
> Best Regards,
> 
> Antonio Gallard

-- 
System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [woody] - wi:group problem

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Ugo Cei dijo:
> Antonio Gallardo wrote:
>> It is weird why it does not work at all. I am suspecting in a XSL
>> processor problem. Maybe related to <xsl:include>. Can someone confirm
>> that?
>
> Are you using Xalan or XSLTC? I had some problems with the latter and
> Woody.

Thanks for your reply Ugo:

I used XSLTC. Looks like it is related to xsl:include:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10626

If I switch to xalan as default then I got in some pages:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24278

I am really very angry with xalan. If I switch back to 2.5.1 or lower,
then there are another bugs. Damn! Like the egg and the chicken problem.

I am trying to learn how to live with all this. The worst is it make waste
many time hunting for xalan (xsltc) bugs.

Currently I am using both: default is xsltc and xalan for woody. Now I
will put all the <xsl:include> in the unique file that uses them to avoid
the xsltc problem with <xsl:include>

If you solved the problem in other way, I will be glad to hear you. :-D

Best Regards,

Antonio Gallard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [woody] - wi:group problem

Posted by Ugo Cei <u....@cbim.it>.
Antonio Gallardo wrote:
> It is weird why it does not work at all. I am suspecting in a XSL
> processor problem. Maybe related to <xsl:include>. Can someone confirm
> that?

Are you using Xalan or XSLTC? I had some problems with the latter and Woody.

	Ugo



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org