mirror of
https://github.com/php/php-src.git
synced 2025-01-24 20:53:37 +08:00
fix warning for shared debug
fix test bug26384 - WS issue
This commit is contained in:
parent
72f73b7785
commit
44f59d6d7f
@ -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");
|
||||
|
@ -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, '"', ''), 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, '"', ''), 1, 1)"/>
|
||||
<xsl:template match="*">
|
||||
HERE
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
@ -1,9 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<AREA_NAME>
|
||||
<ROW>
|
||||
<AREA_CODE>13</AREA_CODE>
|
||||
<AREA_NAME>"Автово" м.</AREA_NAME>
|
||||
<AREA_NAME_ENG>m."Avtovo"</AREA_NAME_ENG>
|
||||
</ROW>
|
||||
</AREA_NAME>
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<AREA_NAME>
|
||||
<ROW>
|
||||
<AREA_CODE>13</AREA_CODE>
|
||||
<AREA_NAME>"Автово" м.</AREA_NAME>
|
||||
<AREA_NAME_ENG>m."Avtovo"</AREA_NAME_ENG>
|
||||
</ROW>
|
||||
</AREA_NAME>
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user