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/07/11 23:24:42 UTC

DO NOT REPLY [Bug 10717] New: - Message about additional sort data types could be better

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=10717>.
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=10717

Message about additional sort data types could be better

           Summary: Message about additional sort data types could be better
           Product: XalanJ2
           Version: 2.4Dx
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Xalan
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: David_Marston@lotus.com


xsl:sort allows the data-type attribute to be either "text", "number", or a
QName qualified to some other namespace. If the latter were to be implemented
in Xalan, we would have to recognize the qualified name. Since we don't have
any additional types, sorterr08 covers the case where the value looks like a
QName (i.e., contains a colon) but is just a garbage string to us. Currently,
we put out a message that says this is a to-do item. While the message does
lead the user to the vicinity of the problem, it's not a real error message.
It should be a real error saying
No known sort routine for [QName]
or something similar. If we ever implement a recognized QName, this error will
still apply for the unrecognized ones.

See sorterr01 for the case of an unrecognized name without a colon. We emit a
good message in this case.