[ http://issues.apache.org/jira/browse/XALANJ-1791?page=all ]

Brian Minchau updated XALANJ-1791:
----------------------------------

    Version: 2.5
                 (was: Latest Development Code)

> DTM result set contains only one string with well-formed XML
> ------------------------------------------------------------
>
>          Key: XALANJ-1791
>          URL: http://issues.apache.org/jira/browse/XALANJ-1791
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan-extensions-(SQL), Xalan-interpretive
>     Versions: 2.5
>  Environment: Operating System: Other
> Platform: All
>     Reporter: Peter V. Mikhalenko
>     Assignee: Xalan Developers Mailing List

>
> DTM result set contains only one string with well-formed XML, although there 
> are several <row> elements. 
> For example, I get the DTM in a standard way:
> <xsl:variable name="careerTable" select="sql:query($db, $query)"/>
> After that the value of count($careerTable//col) is 3 (this is ok),
> and value of count($careerTable//row) is always 1.
> If I try to convert that DTM to a node-set with xalan:node-set function,
> I get the following exception:
> --------------------
> java.lang.RuntimeException: Programmer assertion is incorrect! - Can not get 
> a 
> DTM Unless a DTMManager has been set!
>         at org.apache.xpath.Expression.assertion(Expression.java:459)
>         at org.apache.xpath.axes.NodeSequence.getDTM(NodeSequence.java:212)
>         at org.apache.xml.dtm.ref.DTMNodeIterator.nextNode
> (DTMNodeIterator.java:202)
>         at org.apache.xpath.NodeSet.addNodes(NodeSet.java:534)
>         at org.apache.xpath.NodeSet.<init>(NodeSet.java:158)
>         at org.apache.xalan.lib.Extensions.nodeset(Extensions.java:128)...
> etc.
> --------------------
> Actually I do not know if I am missing something, the source code browsing 
> gave 
> nothing to me.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to