fix warning for shared debug

fix test bug26384 - WS issue
This commit is contained in:
Rob Richards 2003-12-07 11:11:47 +00:00
parent 72f73b7785
commit 44f59d6d7f
3 changed files with 26 additions and 19 deletions

View File

@ -20,6 +20,10 @@ if (PHP_XSL != "no") {
AC_DEFINE("HAVE_XSL", 1, "Define if xsl extension is enabled");
if (! PHP_XSL_SHARED) {
ADD_FLAG("CFLAGS_XSL", "/D DOM_EXPORTS /D LIBXML_STATIC");
} else {
if (PHP_DEBUG == "yes") {
ADD_FLAG("LDFLAGS_XSL", "/nodefaultlib:msvcrt");
}
}
} else {
WARNING("xsl not enabled; libraries and headers not found");

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" encoding="UTF-8"/>
<xsl:key name="area" match="ROW" use="substring(translate(AREA_NAME, '&quot;', ''), 1, 1)"/>
<xsl:template match="*">
HERE
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" encoding="UTF-8"/>
<xsl:key name="area" match="ROW" use="substring(translate(AREA_NAME, '&quot;', ''), 1, 1)"/>
<xsl:template match="*">
HERE
</xsl:template>
</xsl:stylesheet>

View File

@ -1,9 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<AREA_NAME>
<ROW>
<AREA_CODE>13</AREA_CODE>
<AREA_NAME>&quot;Автово&quot; м.</AREA_NAME>
<AREA_NAME_ENG>m.&quot;Avtovo&quot;</AREA_NAME_ENG>
</ROW>
</AREA_NAME>
<?xml version="1.0" encoding="UTF-8"?>
<AREA_NAME>
<ROW>
<AREA_CODE>13</AREA_CODE>
<AREA_NAME>&quot;Автово&quot; м.</AREA_NAME>
<AREA_NAME_ENG>m.&quot;Avtovo&quot;</AREA_NAME_ENG>
</ROW>
</AREA_NAME>