You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by paolo <pa...@sinergis.it> on 2005/11/08 09:41:14 UTC
Patch to permit return nodeset from extension
I'm developing a system based on xalan java for a xml web engine.
At moment the problem is the performance so i decided to try xalan-c.
The problem is the xalan extension, in java i can buil a nodeset and return to
xslt, in xalan-c is not possible.
Search on this site i found the patch Dynamic1.6.zip. and so I modified xalan
1.10 with this patch but I found some problem:
I have made:
XPath/XPathExecutionContext.hpp
XPath/XPathExecutionContextDefault.cpp
XPath/XPathExecutionContextDefault.hpp
XSLT/StylesheetExecutionContextDefault.cpp
XSLT/StylesheetExecutionContextDefault.hpp
XalanEXSLT/XalanEXSLTString.cpp (NO is it OK)
XalanSourceTree/XalanSourceTreeContentHandler.cpp
XalanSourceTree/XalanSourceTreeContentHandler.hpp
When I try to compile the new class XalanDynamicBuilder I found the error:
F:\WORKSPACE_VISUALSTUDIO\Xalan-C_1_10_0-src\xml-
xalan\c\src\xalanc\XSLT\XalanDynamicBuilder.cpp(67): error
C2512: "xalanc_1_10::XalanSourceTreeContentHandler":it is not exist any
constructor
When I try to compile XalanDynamicNodeSetBuilder:
F:\WORKSPACE_VISUALSTUDIO\Xalan-C_2_10_0-src\xml-
xalan\c\src\xalanc\XSLT\XalanDynamicNodeSetBuilder.cpp(92): error
C2661: "xalanc_1_10::XNodeSet::XNodeSet": not any function overload accept 1
arguments
F:\WORKSPACE_VISUALSTUDIO\Xalan-C_2_10_0-src\xml-
xalan\c\src\xalanc\XSLT\XalanDynamicNodeSetBuilder.cpp(98): error
C2664: "xalanc_1_10::XNodeSet::XNodeSet
(xalanc_1_10::XNodeSet::BorrowReturnMutableNodeRefList
&,xalanc_1_10::MemoryManagerType &)": impossible convert parameter 2
from "bool" to "xalanc_1_10::XNodeSet::BorrowReturnMutableNodeRefList &"
Thanks in advance
paolo