You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/10/09 15:43:05 UTC

DO NOT REPLY [Bug 13453] New: - Enhance ElemMessage to include message in exception text.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13453>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

Enhance ElemMessage to include message in exception text.

           Summary: Enhance ElemMessage to include message in exception
                    text.
           Product: XalanJ2
           Version: CurrentCVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: org.apache.xalan.templates
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: keshlam@us.ibm.com


It'd be fairly trivial to change ElemMessage to pass the user-provided message 
as a parameter to the createMessage call, and to enhance 
XSLTErrorResources.ER_STYLESHEET_DIRECTED_TERMINATION to include that text 
appropriately; this would yield a more useful exception text when the 
xsl:message was invoked with terminate="yes".

The improvement wouldn't be picked up in other languages until they rewrote 
their internationalization message files to use this additional data, but 
wouldn't do any harm; they'd continue to see the old message in the meantime.

We might have to update a few testcases.

Appears worth doing.