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=16721>. 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=16721 EXSLT bugs Summary: EXSLT bugs Product: XalanC Version: 1.4.x Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: XalanC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] i've tested the builtin extension functions mostly by applying the use cases from exslt.org all tests with xalan-c 1.4 (and xerces 2.1.0) - not the cvs version! my testing plattform is linux (SuSE 7.0) math:max is not working at all. tested with the first use case from http://exslt.org/math/functions/max/math.max.html in my test math:max did not care which node has the maximu (numeric) value, but returned always the values of the first two nodes. math:min works fine! set:leading, set:trailing cause an abort of xalan if one of the passed nodesets is empty: tested with the use case from: http://exslt.org/set/functions/leading/set.leading.html the abort causing staement is: <xsl:value-of select="count(set:leading(*, x))"/> command-line response from xalan (in german!): Xalan: XPath/NodeRefList.cpp:151: class XalanNode * NodeRefList::item(unsigned int) const: Zusicherung �index < m_nodeList.size()� nicht erf�llt. same thing with set:trailing. xalan:hasSameNodes differs to set:has-same-node if two empty nodesets are passed. set:has-same-node does it right, so this is less an exslt issue. this could be solved with extra documentation of xalan:hasSameNodes (or did i miss this doc?) common:object-type or exslt:object-type object-type does not recognize RTF. see example xml-input does not matter, <xsl:param name="rtfTree"> <a/><b/><c/><d/> </xsl:param> <xsl:template match="/"> <xsl:value-of select="common:object-type($rtfTree)"/> </xsl:template> returns: string but: <xsl:template match="/"> <xsl:value-of select="count($rtfTree)"/> </xsl:template> returns: XObjectInvalidConversionException: Cannot convert a #RESULT_TREE_FRAG to a node set. (, line -1, column -1)
