Xerces, Xalan and MemoryManager

Discussion in 'XML' started by annelaurence.putz@gmail.com, Oct 23, 2006.

  1. Guest

    Hello,

    I have a C++ application which must use Xerces 2.7 and Xalan 1.10
    In this Xerces version, there is a MemoryManager Class, and from the
    web site :
    ''With the introduction of the configurable memory manager, we didn't
    want to break users by changing the signature of the existing methods
    (for example, transcode and replicate). Also, we did not want to
    provide a default memory manager as it would introduce a side effect
    with users experiencing some strange core dumps. "

    So it's ok for calling functions without MemoryManager.

    But in Xalan 1.10, functions have to be called with a MemoryManager
    (Constructor of XercesDocumentWrapper for example).
    First, I'm not supposed to implement MemoryManager in the soft I
    develop, and I haven't find any documentation or sample about
    MemoryManager which could help me to implement my MemoryManager in
    order to use it in Xalan.

    While Xerces allows not to use MemoryManager, Xalan don't ?

    Someone could explain me what can I do, or how I can construct my own
    basic MemoryManager ?

    Thanks a lot to anyone who could help me !

    --
    Anne-Laurence Putz
     
    , Oct 23, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. sp

    xerces and xalan

    sp, Sep 18, 2004, in forum: Java
    Replies:
    2
    Views:
    7,212
    Mike Schilling
    Sep 18, 2004
  2. Mark F
    Replies:
    0
    Views:
    516
    Mark F
    Mar 7, 2005
  3. Alex

    xalan and Xerces?

    Alex, Oct 24, 2003, in forum: XML
    Replies:
    1
    Views:
    591
    Bob Foster
    Oct 25, 2003
  4. Volker Jordan

    Xpath apache xerces/xalan dom3

    Volker Jordan, Jan 22, 2004, in forum: XML
    Replies:
    0
    Views:
    696
    Volker Jordan
    Jan 22, 2004
  5. Francesc Guim Bernat
    Replies:
    0
    Views:
    860
    Francesc Guim Bernat
    Apr 30, 2004
  6. Janice
    Replies:
    0
    Views:
    556
    Janice
    Oct 12, 2004
  7. cvissy
    Replies:
    0
    Views:
    826
    cvissy
    Nov 16, 2004
  8. Elhanan
    Replies:
    1
    Views:
    3,955
    Elhanan
    May 11, 2006
Loading...