XSLT message not shown on the error page

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

XSLT message not shown on the error page

Florent Georges
  Hi

  While trying to use an XForms trigger, I ran into the
following error page:

    http://www.fgeorges.org/tmp/ops-error-on-terminate.jpg

  It says "Processing terminated by xsl:message at line
144", but doesn't show the actual XSLT message.  Is it the
intended behaviour?

  Regards,

--drkm



























       

       
               
___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.
http://fr.answers.yahoo.com 




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XSLT message not shown on the error page

Florent Georges
Florent Georges wrote:

>   It says "Processing terminated by xsl:message at line
> 144", but doesn't show the actual XSLT message.  Is it the
> intended behaviour?

  I forgot to ask my second related question.  The message at line 144
(in /config/xforms-to-xhtml.xsl, that path is neither shown in the
error page) is the following:

    <xsl:template match="xforms:trigger">
        <!-- TODO -->
        <xsl:message terminate="yes">Trigger control is not
supported</xsl:message>
    </xsl:template>

  I'm surprised as I took the trigger from the DMV example.  So is it
really not supported?

  Regards,

--drkm





























       

       
               
___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.
http://fr.answers.yahoo.com 




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XSLT message not shown on the error page

Erik Bruchez
Administrator
Florent,

If you have an error in xforms-to-xhtml.xsl, you must be using XForms
Classic, the deprecated XForms engine. Do you have an @xforms attribute
on your <page> element in your page flow?

-Erik

Florent Georges wrote:

> Florent Georges wrote:
>
>>   It says "Processing terminated by xsl:message at line
>> 144", but doesn't show the actual XSLT message.  Is it the
>> intended behaviour?
>
>   I forgot to ask my second related question.  The message at line 144
> (in /config/xforms-to-xhtml.xsl, that path is neither shown in the
> error page) is the following:
>
>     <xsl:template match="xforms:trigger">
>         <!-- TODO -->
>         <xsl:message terminate="yes">Trigger control is not
> supported</xsl:message>
>     </xsl:template>
>
>   I'm surprised as I took the trigger from the DMV example.  So is it
> really not supported?
>
>   Regards,
>
> --drkm
--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XSLT message not shown on the error page

Erik Bruchez
Administrator
In reply to this post by Florent Georges
Florent,

IIRC the story is that this used to work, then broke with Saxon 8.7, but
appeared to work again with some later version of Saxon (8.7.1) that we
started to migrate. However we have not yet completed migration to the
latest version of Saxon (8.7.3 now), so this is still broken.

The bottom line is that yes, it should work, and it is currently broken.
However errors should display in your console.

-Erik

Florent Georges wrote:

>   Hi
>
>   While trying to use an XForms trigger, I ran into the
> following error page:
>
>     http://www.fgeorges.org/tmp/ops-error-on-terminate.jpg
>
>   It says "Processing terminated by xsl:message at line
> 144", but doesn't show the actual XSLT message.  Is it the
> intended behaviour?
>
>   Regards,
>
> --drkm
--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XSLT message not shown on the error page

Florent Georges
In reply to this post by Erik Bruchez
Erik Bruchez wrote:

> If you have an error in xforms-to-xhtml.xsl, you must be using
> XForms Classic, the deprecated XForms engine. Do you have an
> @xforms attribute on your <page> element in your page flow?

  Erik,

  I'm afraid I can't reproduce the problem anymore.  I'm sorry :-(.
But I never used such an @xforms attribute.  As shown in:

    http://www.fgeorges.org/tmp/ops-error-on-terminate.jpg

it seems that comes from config/epilogue.xpl.

  Regards,

--drkm





















       
 p5.vert.ukl.yahoo.com uncompressed/chunked Sun Aug 13 13:13:39 GMT 2006
       
               
___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.
http://fr.answers.yahoo.com 




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XSLT message not shown on the error page

Erik Bruchez
Administrator
Florent,

What I was saying was that if you see an error in xforms-to-xhtml.xsl,
it means that processing for the legacy XForms Classic engine is taking
place, which means that somewhere there is an @xforms attribute on a
<page> element in a page flow. Or, there is a bug in OPS ;-)

-Erik

Florent Georges wrote:

> Erik Bruchez wrote:
>
>> If you have an error in xforms-to-xhtml.xsl, you must be using
>> XForms Classic, the deprecated XForms engine. Do you have an
>> @xforms attribute on your <page> element in your page flow?
>
>   Erik,
>
>   I'm afraid I can't reproduce the problem anymore.  I'm sorry :-(.
> But I never used such an @xforms attribute.  As shown in:
>
>     http://www.fgeorges.org/tmp/ops-error-on-terminate.jpg
>
> it seems that comes from config/epilogue.xpl.
>
>   Regards,
>
> --drkm
--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws