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

Problem with reference to namespace prefix in AVT in XSLTC

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.6
    • Fix Version/s: None
    • Component/s: XSLTC
    • Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • Bugzilla Id:
      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

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

              Dates

              • Created:
                Updated: