cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <KPiroum...@flagship.ru>
Subject Re: Problem with the OPTION HTML TAG with 1.8.2
Date Wed, 14 Mar 2001 16:46:20 GMT
Search Mail archives of February, 13 for the string 'boolean attributes' and
you'll find the explanation and links to the specification at W3C.

----- Original Message -----
From: "Marco Spinetti" <m.spinetti@pisa.iol.it>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, March 14, 2001 7:22 PM
Subject: R: Problem with the OPTION HTML TAG with 1.8.2


> I have tried also this but the HTML Formatter deletes also this.
>
> I think that Piroumain can have reason.
>
> Marco
> ----- Original Message -----
> From: <paint007@mc.duke.edu>
> To: <cocoon-users@xml.apache.org>
> Sent: Wednesday, March 14, 2001 5:07 PM
> Subject: Re: Problem with the OPTION HTML TAG with 1.8.2
>
>
> >
> > I think I experienced this one early on.  I believe the error message is
> > misleading; it isn't really upset about OPTION, it is upset about
> SELECTED,
> > which is an attribute but isn't followed by ="expr".  I solved mine by
> > doing it like this:
> >      <OPTION>
> >           <xsl:attribute name="SELECTED"/>
> >           00
> >      </OPTION>
> >
> > You could also try something like
> >      <OPTION SELECTED="true">00</OPTION>
> >
> > which I think will also work.
> >
> > -Christopher
> >
> >
> >
> >
> > Please respond to cocoon-users@xml.apache.org
> >
> > Sent by:  Emmanuel.Leguy@lifl.fr
> >
> >
> > To:   "cocoon-users@xml.apache.org" <cocoon-users@xml.apache.org>
> > cc:
> >
> > Subject:  Problem with the OPTION HTML TAG with 1.8.2
> >
> >
> > Hello,
> >
> > I try to use Cocoon 1.8.2. I made a year ago a style sheet which worked
> > with version 1.5. I made some transformations to be up to date with
> > 1.8.2.
> >
> > The following code:
> >
> >         <xsl:template name="minute">
> >                 <SELECT NAME="{@NOM}Minute">
> >                         <OPTION SELECTED>00</OPTION>
> >                         <OPTION>15</OPTION>
> >                         <OPTION>30</OPTION>
> >                         <OPTION>45</OPTION>
> >                 </SELECT>
> >         </xsl:template>
> >
> > throws:
> >
>
> --------------------------------------------------------------------------
> > org.apache.cocoon.processor.ProcessorException: Could not associate
> > stylesheet to document:  error reading formulaire2.xsl:
> > org.xml.sax.SAXParseException: Attribute name "OPTION" must be followed
> > by the '=' character.
> >              at
> > org.apache.cocoon.processor.xslt.XSLTProcessor.getStylesheet(Compiled
> > Code)
> >              at
> > org.apache.cocoon.processor.xslt.XSLTProcessor.process(Compiled Code)
> >              at org.apache.cocoon.Engine.handle(Compiled Code)
> >              at org.apache.cocoon.Cocoon.service(Compiled Code)
> >              at javax.servlet.http.HttpServlet.service(Compiled Code)
> >              at org.apache.jserv.JServConnection.run(Compiled Code)
> >              at java.lang.Thread.run(Compiled Code)
>
> -------------------------------------------------------------------------
> >
> > And there is no problem if I comment OPTION tags.
> >
> > The header of the page:
> >
> > <?xml version="1.0"?>
> > <xsl:stylesheet version="1.0"
> > xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> >
> >
> > I have also a problem with characters' accentuation in french ('e, `a,
> > `e...etc)
> >
> > Thanks for your help,
> >
> > Manu.
> > --
> > Laboratoire d'Informatique Fondamentale de Lille (LIFL)
> > Universite des Sciences et Technologies de Lille
> > Batiment M3 Cite Scientifique
> > 59655 Villeneuve d'Ascq Cedex
> > FRANCE
> > tel: 03 20 33 63 38
> > fax: 03 20 43 65 66
> > mailto:Emmanuel.Leguy@lifl.fr
> > http://www.lifl.fr
> >
> > ---------------------------------------------------------------------
> > 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: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> >
> >
>
>
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message