php-src/ext/xsl/tests
Niels Dossche 7974c62873
Fix using Dom\Node with Dom\XPath callbacks
This code was introduced when the Dom\Node and DOMNode classes were
still aliases, so the type check was never updated.
We fix this by checking if the doc pointer follows the spec and pick the
right node CE based on that.

Closes GH-17888.
2025-02-22 16:00:39 +01:00
..
53965
xinclude Add missing properties to xsl stub (#12334) 2023-10-06 17:42:47 +02:00
area_list.xsl
area_name.xml
auto_registration_namespaces_new_dom.phpt Add SKIPIFs for upstream regression in libxslt (#14674) 2024-06-26 19:31:21 +02:00
bug26384.phpt
bug33853.phpt
bug48221.phpt Implement request #64137 (XSLTProcessor::setParameter() should allow both quotes to be used) 2023-09-30 21:41:06 +02:00
bug49634.phpt
bug49634.xml
bug53965.phpt
bug54446.phpt
bug54446_with_ini.phpt
bug64137.phpt Implement request #64137 (XSLTProcessor::setParameter() should allow both quotes to be used) 2023-09-30 21:41:06 +02:00
bug69168.phpt
bug70078.phpt
bug70535.phpt
bug71540.phpt
bug71571_a.phpt Implement request #71571: XSLT processor should provide option to change maxDepth (#13731) 2024-03-31 21:21:23 +02:00
bug71571_b.phpt Implement request #71571: XSLT processor should provide option to change maxDepth (#13731) 2024-03-31 21:21:23 +02:00
cloneDocument.phpt Add missing properties to xsl stub (#12334) 2023-10-06 17:42:47 +02:00
documentxpath.xsl
exslt.xml
exslt.xsl
getParameter.phpt Add test for XSLTProcessor::getParameter() 2023-09-30 16:25:07 +02:00
maxTemplateDepth_errors.phpt Implement request #71571: XSLT processor should provide option to change maxDepth (#13731) 2024-03-31 21:21:23 +02:00
maxTemplateDepth_modification_validation_bypass.phpt Implement request #71571: XSLT processor should provide option to change maxDepth (#13731) 2024-03-31 21:21:23 +02:00
maxTemplateVars_errors.phpt Implement request #71571: XSLT processor should provide option to change maxDepth (#13731) 2024-03-31 21:21:23 +02:00
maxTemplateVars_modification_validation_bypass.phpt Implement request #71571: XSLT processor should provide option to change maxDepth (#13731) 2024-03-31 21:21:23 +02:00
new_without_constructor.phpt Implement request #71571: XSLT processor should provide option to change maxDepth (#13731) 2024-03-31 21:21:23 +02:00
php_function_edge_cases.phpt [RFC] Improve callbacks in ext/dom and ext/xsl (#12627) 2024-01-13 00:00:26 +01:00
phpfunc-nostring.xsl
phpfunc-undef.xsl
phpfunc.xsl
prepare.inc
registerPHPFunctionNS.phpt Fix libxml test compatibility in xsl 2024-07-07 00:22:41 +02:00
registerPHPFunctionNS_errors.phpt Fix trampoline leak in xpath callables 2024-07-18 16:54:46 +02:00
setParameter_exceptions_test.phpt Implement request #64137 (XSLTProcessor::setParameter() should allow both quotes to be used) 2023-09-30 21:41:06 +02:00
setParameter_null_bytes.phpt Implement request #64137 (XSLTProcessor::setParameter() should allow both quotes to be used) 2023-09-30 21:41:06 +02:00
skip_upstream_issue113.inc Add SKIPIFs for upstream regression in libxslt (#14674) 2024-06-26 19:31:21 +02:00
special_operations_with_properties.phpt Add test for performing special operations on XSLTProcessor properties (#13959) 2024-04-14 16:52:54 +02:00
streamsinclude.xsl
throw_in_autoload.phpt [RFC] Improve callbacks in ext/dom and ext/xsl (#12627) 2024-01-13 00:00:26 +01:00
transformToDoc_class_exceptions.phpt Improve error messages for XSLTProcessor::transformToDoc() (#12332) 2023-10-02 19:21:54 +02:00
transformToDoc_sxe_type_error.phpt
xpath_callables.inc [RFC] Improve callbacks in ext/dom and ext/xsl (#12627) 2024-01-13 00:00:26 +01:00
xsl-phpinfo.phpt
xslt.xml
xslt.xsl
xslt.xsl.gz
xslt001.phpt Close PHP tags in tests 2023-10-18 17:34:10 +02:00
xslt002.phpt Close PHP tags in tests 2023-10-18 17:34:10 +02:00
xslt003.phpt Close PHP tags in tests 2023-10-18 17:34:10 +02:00
xslt004.phpt
xslt005.phpt Close PHP tags in tests 2023-10-18 17:34:10 +02:00
xslt006.phpt Close PHP tags in tests 2023-10-18 17:34:10 +02:00
xslt007.phpt Close PHP tags in tests 2023-10-18 17:34:10 +02:00
xslt008-mb.phpt Close PHP tags in tests 2023-10-18 17:34:10 +02:00
xslt008.phpt Close PHP tags in tests 2023-10-18 17:34:10 +02:00
xslt009.phpt
xslt010.phpt
xslt010_gt10129.phpt Add SKIPIFs for upstream regression in libxslt (#14674) 2024-06-26 19:31:21 +02:00
xslt011.phpt [RFC] Improve callbacks in ext/dom and ext/xsl (#12627) 2024-01-13 00:00:26 +01:00
xslt011.xml
xslt011.xsl [RFC] Improve callbacks in ext/dom and ext/xsl (#12627) 2024-01-13 00:00:26 +01:00
xslt012.phpt Close PHP tags in tests 2023-10-18 17:34:10 +02:00
xslt012.xsl
xslt_non_dom_node.phpt Fix using Dom\Node with Dom\XPath callbacks 2025-02-22 16:00:39 +01:00
xslt_non_dom_node.xsl [RFC] Improve callbacks in ext/dom and ext/xsl (#12627) 2024-01-13 00:00:26 +01:00
XSLTProcessor_callables.phpt [RFC] Improve callbacks in ext/dom and ext/xsl (#12627) 2024-01-13 00:00:26 +01:00
XSLTProcessor_callables_errors.phpt [RFC] Improve callbacks in ext/dom and ext/xsl (#12627) 2024-01-13 00:00:26 +01:00
xsltprocessor_exsl_registerPhpFunctionNs.phpt Add SKIPIFs for upstream regression in libxslt (#14674) 2024-06-26 19:31:21 +02:00
xsltprocessor_getParameter-invalidparam.phpt
xsltprocessor_getParameter.phpt
xsltprocessor_hasExsltSupport.phpt
xsltprocessor_hasExsltSupport_wrongparam_001.phpt
xsltprocessor_importStylesheet-invalidparam.phpt Fix argument type of simplexml_import_dom (#13170) 2024-01-18 20:28:01 +01:00
XSLTProcessor_namespace_mapper_lifetime.phpt Update ext/dom names after policy change (#14171) 2024-05-09 10:40:53 +02:00
xsltprocessor_registerPHPFunctions-allfuncs.phpt
xsltprocessor_registerPHPFunctions-array-multiple.phpt
xsltprocessor_registerPHPFunctions-array-notallowed.phpt [RFC] Improve callbacks in ext/dom and ext/xsl (#12627) 2024-01-13 00:00:26 +01:00
xsltprocessor_registerPHPFunctions-array.phpt
xsltprocessor_registerPHPFunctions-funcnostring.phpt [RFC] Improve callbacks in ext/dom and ext/xsl (#12627) 2024-01-13 00:00:26 +01:00
xsltprocessor_registerPHPFunctions-funcundef.phpt [RFC] Improve callbacks in ext/dom and ext/xsl (#12627) 2024-01-13 00:00:26 +01:00
xsltprocessor_registerPHPFunctions-null.phpt
xsltprocessor_registerPHPFunctions-string-multiple.phpt
xsltprocessor_registerPHPFunctions-string-notallowed.phpt [RFC] Improve callbacks in ext/dom and ext/xsl (#12627) 2024-01-13 00:00:26 +01:00
xsltprocessor_registerPHPFunctions-string.phpt
xsltprocessor_removeParameter-invalidparam.phpt
xsltprocessor_removeParameter.phpt
xsltprocessor_setparameter-errorquote.phpt Implement request #64137 (XSLTProcessor::setParameter() should allow both quotes to be used) 2023-09-30 21:41:06 +02:00
xsltprocessor_setparameter-nostring.phpt
xsltprocessor_transformToDoc.phpt
xsltprocessor_transformToDoc_no_stylesheet.phpt
xsltprocessor_transformToURI.phpt
xsltprocessor_transformToXML.phpt
私はガラスを食べられますstreamsinclude.xsl