XalanJ2
  1. XalanJ2
  2. XALANJ-1774

Problem with reference to namespace prefix in AVT in XSLTC

    Details

    • Type: Bug Bug
    • Status: In Progress
    • Priority: Major 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

      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.

      1. patch.j1774.txt
        30 kB
        Henry Zongaro

        Activity

        Henry Zongaro created issue -
        Serge Knystautas made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 26259 26683
        Henry Zongaro made changes -
        Priority Major [ 3 ]
        Brian Minchau made changes -
        Affects Version/s Latest Development Code [ 10863 ]
        Affects Version/s 2.6 [ 10871 ]
        Henry Zongaro made changes -
        Assignee Xalan Developers Mailing List [ xalan-dev@xml.apache.org ] Henry Zongaro [ zongaro@ca.ibm.com ]
        Henry Zongaro made changes -
        Attachment patch.j1774.txt [ 12340618 ]
        Henry Zongaro made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Mark Thomas made changes -
        Workflow jira [ 36678 ] Default workflow, editable Closed status [ 12569511 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12569511 ] jira [ 12592975 ]

          People

          • Assignee:
            Henry Zongaro
            Reporter:
            Henry Zongaro
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development