neilg 2003/12/16 21:50:44 Modified: c/src/xercesc/validators/DTD DTDValidator.cpp Log: fix compilation error Revision Changes Path 1.18 +5 -5 xml-xerces/c/src/xercesc/validators/DTD/DTDValidator.cpp Index: DTDValidator.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/DTD/DTDValidator.cpp,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- DTDValidator.cpp 17 Dec 2003 05:16:59 -0000 1.17 +++ DTDValidator.cpp 17 Dec 2003 05:50:44 -0000 1.18 @@ -166,8 +166,8 @@ // There is a colon, so we have to split apart the name and prefix // part. // - XMLCh* tmpNameBuf = XMLString::replicate(fullName, fMemoryManager); - ArrayJanitor<XMLCh> janNameBuf(tmpNameBuf, fMemoryManager); + XMLCh* tmpNameBuf = XMLString::replicate(fullName, getScanner()->getMemoryManager()); + ArrayJanitor<XMLCh> janNameBuf(tmpNameBuf, getScanner()->getMemoryManager()); // Put a null where the colon is, to split it into two strings tmpNameBuf[colonInd] = chNull; @@ -297,7 +297,7 @@ } else { - janTmpVal.reset(XMLString::replicate(attrValue, fMemoryManager), fMemoryManager); + janTmpVal.reset(XMLString::replicate(attrValue, getScanner()->getMemoryManager()), getScanner()->getMemoryManager()); pszTmpVal = janTmpVal.get(); } @@ -553,8 +553,8 @@ // We need to verify that all of its possible values // (in the enum list) refer to valid notations. // - XMLCh* list = XMLString::replicate(curAttDef.getEnumeration(), fMemoryManager); - ArrayJanitor<XMLCh> janList(list, fMemoryManager); + XMLCh* list = XMLString::replicate(curAttDef.getEnumeration(), getScanner()->getMemoryManager()); + ArrayJanitor<XMLCh> janList(list, getScanner()->getMemoryManager()); // // Search forward for a space or a null. If a null,
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]