summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatternsschemats/TESTSUITE
diff options
context:
space:
mode:
authorHonglei Zhang <honglei.zhang@nokia.com>2011-09-21 11:53:30 +0300
committerHonglei Zhang <honglei.zhang@nokia.com>2011-09-21 11:53:30 +0300
commit8e2368bce81180c12a607afd101964ef1e8a1f1b (patch)
treedef91e761376389baab063f1e08d9e424142d360 /tests/auto/xmlpatternsschemats/TESTSUITE
parenta314ecf9b8b4c9b63432df8caf797fa6b28a433d (diff)
Fix memory leaks in schema validation
Bug fix for QTBUG-12550. QExplicitlySharedDataPointer is excessively used in XmlPatterns code. This forumate cyclic loops in some situation. This fix replace the shared data pointer with normal C++ pointer to break the loop. Task-number: QTBUG-12550 Reviewed-by: Tomi Vihria
Diffstat (limited to 'tests/auto/xmlpatternsschemats/TESTSUITE')
-rwxr-xr-xtests/auto/xmlpatternsschemats/TESTSUITE/updateSuite.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/xmlpatternsschemats/TESTSUITE/updateSuite.sh b/tests/auto/xmlpatternsschemats/TESTSUITE/updateSuite.sh
index a61f0a183c..894fa5a00c 100755
--- a/tests/auto/xmlpatternsschemats/TESTSUITE/updateSuite.sh
+++ b/tests/auto/xmlpatternsschemats/TESTSUITE/updateSuite.sh
@@ -47,6 +47,8 @@
#
# To run the script, Saxon package version 9 and above shall be installed
#
+# Installation instruction
+# http://johnbokma.com/mexit/2011/07/04/installing-saxon-he-ubuntu.html
DIRECTORY_NAME="xmlschema2006-11-06"
ARCHIVE_NAME="xsts-2007-06-20.tar.gz"
@@ -62,5 +64,6 @@ rm $ARCHIVE_NAME
#CVSROOT=:pserver:anonymous@dev.w3.org:/sources/public cvs checkout -d xmlschema2006-11-06-new XML/xml-schema-test-suite/2004-01-14/xmlschema2006-11-06
#Saxon need to be installed before the following command works.
-java -jar /usr/share/java/saxon.jar -xsl:unifyCatalog.xsl -s:$DIRECTORY_NAME/suite.xml > testSuites.xml
+#java -jar /usr/share/java/saxonb.jar -xsl:unifyCatalog.xsl -s:$DIRECTORY_NAME/suite.xml > testSuites.xml
+saxon9he-xslt -xsl:unifyCatalog.xsl -s:$DIRECTORY_NAME/suite.xml > testSuites.xml