Open
Bug 298980
Opened 19 years ago
Updated 1 year ago
<xsl:message terminate="yes"> doesn't display the message
Categories
(Core :: XSLT, defect)
Tracking
()
NEW
People
(Reporter: x2uk, Assigned: peterv)
References
(Blocks 1 open bug)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Please, consider the code: <xsl:choose> <xsl:when test="name=''"> <xsl:message terminate="yes"> Fault: Name must always be given ! Use n/a otherwise. </xsl:message> </xsl:when> <xsl:otherwise> <xsl:value-of select="name"/> </xsl:otherwise> Reproducible: Always Steps to Reproduce: 1.Run the code fragment above 2.FireFox's XSLT processor will stop 3.The message fault's message will not be displayed Actual Results: xsl:message will not be displayed. Try IE : this is what it should like. FF output : Error during XSLT transformation: XSLT transformation was terminated by <xsl:message>. Expected Results: IE output The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. -------------------------------------------------------------------------------- Fault: Name must always be given ! Use n/a otherwise. You ought to introduce xml - matters for the COMPONENT specification. XML is a major component of FF.
You ought to introduce xml - matters for the COMPONENT specification. XML is a major component of FF.
(In reply to comment #1) > You ought to introduce xml - matters > for the COMPONENT specification. > XML is a major component of FF. Please see Bug 298888 Comment 1.
Assignee: nobody → peterv
Component: General → XSLT
Product: Firefox → Core
QA Contact: general → keith
Version: unspecified → Trunk
The message is displayed in the JS console if i recall correctly. But we should also display it in the errormessage i agree.
Comment 4•18 years ago
|
||
It would also be helpful if the message were available programatically to users of nsIXSLTProcessor; this doesn't seem to be the case at the moment.
Updated•15 years ago
|
QA Contact: keith → xslt
Comment 5•1 year ago
|
||
In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.
Severity: major → --
Assignee | ||
Updated•1 year ago
|
Severity: -- → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•