Changeset 127

Show
Ignore:
Timestamp:
06/20/08 13:29:35 (16 years ago)
Author:
mido
Message:

patch XML stringu

Location:
bdm
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • bdm/userinfo.cpp

    r122 r127  
    1919 
    2020        // get a serializer, an instance of DOMWriter (the "LS" stands for load-save). 
    21         pImplementation = DOMImplementationRegistry::getDOMImplementation(L"LS"); 
     21        pImplementation = DOMImplementationRegistry::getDOMImplementation( XMLString::transcode( "LS" )); 
    2222 
    2323        pSerializer = ( (DOMImplementationLS*)pImplementation )->createDOMWriter(); 
    2424        // set user specified end of line sequence and output encoding 
    25         pSerializer->setNewLine( L"\n" ); 
     25        pSerializer->setNewLine( XMLString::transcode( "\n" ) ); 
    2626        // optionally, set the format-pretty-print feature 
    2727        if (pSerializer->canSetFeature(XMLUni::fgDOMWRTFormatPrettyPrint, true)) 
  • bdm/userinfo.h

    r122 r127  
    199199                XMLString::release( &transcodedFileName ); 
    200200 
    201                 DOMDocument* pDoc = XMLConnector.pImplementation->createDocument( L"M3K USER INFO", L"ROOT", NULL ); 
     201                DOMDocument* pDoc = XMLConnector.pImplementation->createDocument(  
     202                        XMLString::transcode( "M3K USER INFO" ),  
     203                        XMLString::transcode( "ROOT" ), NULL ); 
    202204                DOMElement *pRoot = pDoc->getDocumentElement(); 
    203205