aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/tests/a.xml
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-03-07 11:06:08 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-03-07 11:07:20 +0000
commit507beab92fcb39e9b47d465a51d649f7ea6935d5 (patch)
tree9cab98c62d18c3db6afe0c63200426124e8ad4eb /sources/shiboken2/ApiExtractor/tests/a.xml
parentf92869113a1421494e62a17c1ab3bd86cdff7e18 (diff)
shiboken/qtdocgenerator: Fall back to QtXmlPatterns when libxml/libxslt cannot be found
In PySide2, there is one XSL-based documentation modification which QXmlQuery can handle. However, due to QTBUG-66925, it is not a full replacement, since the issue (XPATH specifying the number of the element to match) might be useful for documentation modification. Add QtXmlPatterns as fallback and modify the test accordingly. Task-number: PYSIDE-363 Change-Id: I969fbe210725bb748d76028c6f542bae6b471a76 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/tests/a.xml')
-rw-r--r--sources/shiboken2/ApiExtractor/tests/a.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/shiboken2/ApiExtractor/tests/a.xml b/sources/shiboken2/ApiExtractor/tests/a.xml
index 1c6d62a17..3c09d3800 100644
--- a/sources/shiboken2/ApiExtractor/tests/a.xml
+++ b/sources/shiboken2/ApiExtractor/tests/a.xml
@@ -1,9 +1,10 @@
<?xml version="1.0" ?>
-
+<!-- Sample for testModifyDocumentation -->
<WebXML>
<document>
<class name="A">
<description>oi
+ <brief>Brief description</brief>
<para>Paragraph number 1</para>
<para>Paragraph number 2</para>
<para>Paragraph number 3</para>