You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/07/31 21:00:45 UTC

DO NOT REPLY [Bug 11341] New: - Error trying to convert RTF to nodeset

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11341>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11341

Error trying to convert RTF to nodeset

           Summary: Error trying to convert RTF to nodeset
           Product: XalanJ2
           Version: 2.4Dx
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xpath
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: otraub@exceloncorp.com


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)