Windows build fix
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Nov 2007 23:32:48 +0000 (23:32 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 24 Nov 2007 23:32:48 +0000 (23:32 +0000)
        Turn off the change made in r27984 on Windows for now.

        * xml/XSLTProcessor.cpp:
        (WebCore::XSLTProcessor::transformToString):
        * xml/XSLTUnicodeSort.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28003 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/xml/XSLTProcessor.cpp
WebCore/xml/XSLTUnicodeSort.cpp

index e342bc2..992bf14 100644 (file)
@@ -1,3 +1,13 @@
+2007-11-24  Adam Roben  <aroben@apple.com>
+
+        Windows build fix
+
+        Turn off the change made in r27984 on Windows for now.
+
+        * xml/XSLTProcessor.cpp:
+        (WebCore::XSLTProcessor::transformToString):
+        * xml/XSLTUnicodeSort.cpp:
+
 2007-11-24  Timothy Hatcher  <timothy@apple.com>
 
         Reviewed by Adam Roben.
index f7aca06..660e2d7 100644 (file)
@@ -351,7 +351,8 @@ bool XSLTProcessor::transformToString(Node* sourceNode, String& mimeType, String
 
         xsltTransformContextPtr transformContext = xsltNewTransformContext(sheet, sourceDoc);
         registerXSLTExtensions(transformContext);
-#if USE(ICU_UNICODE)
+// FIXME: <rdar://5611712> Remove the PLATFORM(WIN) check once ICU on Windows has collation support.
+#if USE(ICU_UNICODE) && !PLATFORM(WIN)
         // <http://bugs.webkit.org/show_bug.cgi?id=16077>: XSLT processor <xsl:sort> algorithm only compares by code point
         // Only implemented for ICU yet.
         xsltSetCtxtSortFunc(transformContext, xsltUnicodeSortFunction);
index 1ffc18e..bc0afe5 100644 (file)
@@ -29,7 +29,8 @@
 #include "config.h"
 #include "XSLTUnicodeSort.h"
 
-#if ENABLE(XSLT) && USE(ICU_UNICODE)
+// FIXME: <rdar://5611712> Remove the PLATFORM(WIN) check once ICU on Windows has collation support.
+#if ENABLE(XSLT) && USE(ICU_UNICODE) && !PLATFORM(WIN)
 
 #include <libxslt/templates.h>
 #include <libxslt/xsltutils.h>