PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3300
*** shadow/3300 Tue Aug 28 03:38:23 2001
--- shadow/3300.tmp.7728 Tue Aug 28 08:45:08 2001
***************
*** 1,5 ****
+============================================================================+
! | No output from key() function using NodeSet returned from extension funct |
+----------------------------------------------------------------------------+
| Bug #: 3300 Product: XalanJ2 |
| Status: NEW Version: 2.1.0 |
--- 1,5 ----
+============================================================================+
! | No output from key() function using NodeSet returned from extension functi |
+----------------------------------------------------------------------------+
| Bug #: 3300 Product: XalanJ2 |
| Status: NEW Version: 2.1.0 |
***************
*** 85,88 ****
Regards,
! Rob Stanley
--- 85,117 ----
Regards,
! Rob Stanley
!
! ------- Additional Comments From [EMAIL PROTECTED] 2001-08-28 08:45 -------
! Would it be possible for you to try this on the latest xalan code? I just tried
! it and got this as the output:
! <?xml version="1.0" encoding="UTF-8"?>
! <top xmlns:test="org.apache.xalan.extensions.NodeSetTest"><!--Copy of NodeSet ..
! .--><footag name="CONO"/><!--End of NodeSet copy...--><footag name="CONO"/></top
! >
! I had to change your extension code to (since DOMHelper has be deprecated):
! public static NodeSet get(org.apache.xalan.extensions.ExpressionContext
! myContext)
! {
! Document doc = null;
! NodeSet retns = new NodeSet();
!
! DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance();
! try{
! doc = dfactory.newDocumentBuilder().newDocument();
! }
! catch (ParserConfigurationException pce)
! {}
!
! Element root = doc.createElement("footag");
! root.setAttribute("name","CONO");
!
! retns.addNode(root);
! return retns;
!
! }