bug in patch 
http://bugs.gentoo.org/attachment.cgi?id=169168&action=diff&context=patch&collapsed=&headers=1&format=raw
 
-----------------------------------------------------------------------------------------------------------------------

                 Key: XALANC-694
                 URL: https://issues.apache.org/jira/browse/XALANC-694
             Project: XalanC
          Issue Type: Bug
          Components: XalanC
    Affects Versions: 1.10
         Environment: xerces C 3.0.1 and xalanc 1.10 on  OpenSolaris 64 bit
            Reporter: Meena


For http://bugs.gentoo.org/show_bug.cgi?id=242218
169168.patch is from
http://bugs.gentoo.org/attachment.cgi?id=169168&action=diff&context=patch&collapsed=&headers=1&format=raw

I found that after applying this patch, in 64 bit,
c/src/xalanc/Utils/MsgCreator/ICUResHandler.hpp  has
    virtual void characters(const   XMLCh* const  chars, const unsigned int 
length);
where as  c/src/xalanc/Utils/MsgCreator/ICUResHandler.cpp has :
    void ICUResHandler::characters( const   XMLCh* const  chars, const 
XalanSize_t  length)

Solution : even in this .hpp it should be changed to "XalanSize_t".

Same is true for  characters function in 
c/src/xalanc/Utils/MsgCreator/NLSHandler.hpp and 
c/src/xalanc/Utils/MsgCreator/NLSHandler.cpp

Patch to be applied after applying 
http://bugs.gentoo.org/attachment.cgi?id=169168&action=diff&context=patch&collapsed=&headers=1&format=raw
 is :

--- xml-xalan/c/src/xalanc/Utils/MsgCreator//ICUResHandler.hpp  Thu Jun 18 
02:56:33 2009
+++ xml-xalan/c/src/xalanc/Utils/MsgCreator//ICUResHandler.hpp.new       Thu 
Jun 18 03:33:51 2009
@@ -59,7 +59,7 @@

        virtual void
        characters(     const   XMLCh* const    chars
-                                               , const unsigned int    length);
+                                               , const XalanSize_t length);

 protected:
        virtual void

--- xml-xalan/c/src/xalanc/Utils/MsgCreator//NLSHandler.hpp     Thu Jun 18 
02:56:33 2009
+++ xml-xalan/c/src/xalanc/Utils/MsgCreator//NLSHandler.hpp .new Thu Jun 18 
03:33:59 2009
@@ -51,7 +51,7 @@

        void
        characters(     const   XMLCh* const    chars
-                                               , const unsigned int    length);
+                                               , const XalanSize_t length);
        void
        startDocument();



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org

Reply via email to