dbertoni    01/11/30 08:52:16

  Modified:    c/src/XalanTransformer XercesDOMWrapperParsedSource.cpp
  Log:
  Make sure documents are created thread-safe.
  
  Revision  Changes    Path
  1.3       +6 -2      
xml-xalan/c/src/XalanTransformer/XercesDOMWrapperParsedSource.cpp
  
  Index: XercesDOMWrapperParsedSource.cpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/c/src/XalanTransformer/XercesDOMWrapperParsedSource.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XercesDOMWrapperParsedSource.cpp  2001/11/06 05:52:31     1.2
  +++ XercesDOMWrapperParsedSource.cpp  2001/11/30 16:52:16     1.3
  @@ -62,6 +62,10 @@
   
   
   
  +#include <XercesParserLiaison/XercesDocumentBridge.hpp>
  +
  +
  +
   class XALAN_TRANSFORMER_EXPORT XercesDOMWrapperParsedSourceHelper : public 
XalanParsedSourceHelper
   {
   public:
  @@ -73,7 +77,7 @@
                m_parserLiaison(theParserLiaison)
        {
        }
  -                     
  +
        virtual DOMSupport&
        getDOMSupport()
        {
  @@ -103,7 +107,7 @@
        XalanParsedSource(),
        m_parserLiaison(theParserLiaison),
        m_domSupport(theDOMSupport),
  -     m_parsedSource(theParserLiaison.createDocument(theDocument)),
  +     m_parsedSource(theParserLiaison.createDocument(theDocument, true, 
true)),
        m_uri(theURI)
   {
        assert(m_parsedSource != 0);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to