Changes between Initial Version and Version 1 of Ticket #1399


Ignore:
Timestamp:
Sep 22, 2010, 2:41:32 PM (14 years ago)
Author:
brucedechant
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1399

    • Property Owner set to brucedechant
  • Ticket #1399 – Description

    initial v1  
    2727}}}
    2828
    29 The new serializing class is now DOMLSSerializer. It outputs to streams defined by DOMLSOutput which now controls output parameters like encoding. Other configuration details are specified by the DOMConfiguration class. The Output stream is defined by an XMLFormatTarget which we will cast as in MemBufFormatTarget.
     29The new serializing class is now DOMLSSerializer. It outputs to streams defined by DOMLSOutput which now controls output parameters like encoding. Other configuration details are specified by the DOMConfiguration class. The Output stream is defined by an XMLFormatTarget which we will cast as in !MemBufFormatTarget.
    3030{{{
    3131    // get a serializer, an instance of DOMWriter
     
    5757}}}
    5858
    59 memTarget is initialized with a MemBufFormatTarget object and this is attached to the output stream of DOMLSOutput. Note that writenode has been replaced with just write.
     59memTarget is initialized with a !MemBufFormatTarget object and this is attached to the output stream of DOMLSOutput. Note that writenode has been replaced with just write.
    6060{{{
    6161    INT32 bytesLen = (INT32)((MemBufFormatTarget*)memTarget)->getLen();
    6262    BYTE_ARRAY_IN rawBytes = (BYTE_ARRAY_IN)((MemBufFormatTarget*)memTarget)->getRawBuffer();
    6363}}}
    64 We have to cast it as MemBufFormatTarget.
     64We have to cast it as !MemBufFormatTarget.
    6565
    66 3.> In FilterUtil.h the namespace was declared by 'namespace xercesc_2_7'. I changed it to xerces_3_0 for it to work with the new xerces. Note that this is bad programming practice. I would change it as soon as I get a working compile. It should be declared as 'namespace XERCES_CPP_NAMESPACE_QUALIFIER'
     663.> In !FilterUtil.h the namespace was declared by 'namespace xercesc_2_7'. I changed it to xerces_3_0 for it to work with the new xerces. Note that this is bad programming practice. I would change it as soon as I get a working compile. It should be declared as 'namespace XERCES_CPP_NAMESPACE_QUALIFIER'
    6767
    6868