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

Error trying to convert RTF to nodeset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.4Dx
    • None
    • XPath
    • None
    • Operating System: Windows XP
      Platform: PC
    • 11341

    Description

      I am getting the following exception trying to convert a RTF to a node set.
      It looks like some confusion in the DTM implementation. Let me know if you
      can validate this.

      java.lang.RuntimeException: Programmer assertion is incorrect! -
      setShouldCacheNodes not supported by this iterater!
      at org.apache.xpath.Expression.assertion(Expression.java:467)
      at org.apache.xpath.axes.LocPathIterator.setShouldCacheNodes
      (LocPathIterator.java:464)
      at org.apache.xml.dtm.ref.DTMNodeList.<init>(DTMNodeList.java:115)
      at org.apache.xpath.objects.XRTreeFrag.convertToNodeset
      (XRTreeFrag.java:359)

      Attachments

        Activity

          People

            mkwan@ca.ibm.com Morris Kwan
            otraub@exceloncorp.com Omri Traub
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: