Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-1089

Message about additional sort data types could be better

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.4
    • None
    • None
    • Operating System: Other
      Platform: Other
    • 10717

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            david_marston@lotus.com david_marston
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: