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

Problem with reference to namespace prefix in AVT in XSLTC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 2.6
    • None
    • XSLTC
    • Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
    • None
    • Operating System: All
      Platform: All
    • 26259

    Description

      In some circumstances, XSLT permits attribute value templates to yield QName
      values. If the QName has a prefix, the prefix must have a namespace URI bound
      to it in the scope of the instruction on which the AVT appears. XSLTC
      currently produces the following error, because it does not maintain prefix
      information at run-time.

      ERROR: 'Namespace for prefix 'someprefix' has not been declared.'

      See the namespace140 conformance test.

      Attachments

        1. patch.j1774.txt
          30 kB
          Henry Zongaro

        Activity

          People

            zongaro@ca.ibm.com Henry Zongaro
            zongaro@ca.ibm.com Henry Zongaro
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: