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=3722>. 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=3722 Accessing NodeList getChildNodes() in extension function throws DTMDOMException Summary: Accessing NodeList getChildNodes() in extension function throws DTMDOMException Product: XalanJ2 Version: 2.2.x Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: Other Component: org.apache.xalan.extensions AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When accessing child nodes in a NodeList passed to an extension function an DTMDOMException is thrown. This happens with D8, D9, D10, older versions not checked. However, while D8 passes child elements as part of the node list, this behaviour seems to have changed in D10 (don't know about D9). See http://marc.theaimsgroup.com/?l=xalan-dev&m=100089497912838&w=2 for full explanation & code examples. See apache cocoon 2.0 CVS for working code examples. Look for sitemap.xsl, sitemap.xmap (the XML) and WildcardHeaderMatcherFactory.java plus logs.
