diff options
author | Honglei Zhang <honglei.zhang@nokia.com> | 2011-09-21 08:53:30 (GMT) |
---|---|---|
committer | Honglei Zhang <honglei.zhang@nokia.com> | 2011-09-21 08:53:30 (GMT) |
commit | 8e2368bce81180c12a607afd101964ef1e8a1f1b (patch) | |
tree | def91e761376389baab063f1e08d9e424142d360 /tests | |
parent | a314ecf9b8b4c9b63432df8caf797fa6b28a433d (diff) | |
download | Qt-8e2368bce81180c12a607afd101964ef1e8a1f1b.zip Qt-8e2368bce81180c12a607afd101964ef1e8a1f1b.tar.gz Qt-8e2368bce81180c12a607afd101964ef1e8a1f1b.tar.bz2 |
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')
-rwxr-xr-x | tests/auto/xmlpatternsschemats/TESTSUITE/updateSuite.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/xmlpatternsschemats/TESTSUITE/updateSuite.sh b/tests/auto/xmlpatternsschemats/TESTSUITE/updateSuite.sh index a61f0a1..894fa5a 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 |