index: add --nonet --novalid options to all xsltproc invocations to avoid 30S timeouts when accessing external dtds (ie: for svg files)
This commit is contained in:
+2
-2
@@ -114,7 +114,7 @@ cd $tmpdir/rclsofftmp
|
||||
echo '<html><head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">'
|
||||
|
||||
xsltproc - meta.xml <<EOF
|
||||
xsltproc --novalid --nonet - meta.xml <<EOF
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
@@ -186,7 +186,7 @@ EOF
|
||||
|
||||
echo '</head><body>'
|
||||
|
||||
xsltproc - content.xml <<EOF
|
||||
xsltproc --novalid --nonet - content.xml <<EOF
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
|
||||
Reference in New Issue
Block a user