dbertoni    01/06/29 13:55:30

  Modified:    c/src/XSLT XSLTEngineImpl.cpp
  Log:
  Make sure PrefixResolver is set if there's a FormatterListener.
  
  Revision  Changes    Path
  1.104     +8 -0      xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp
  
  Index: XSLTEngineImpl.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp,v
  retrieving revision 1.103
  retrieving revision 1.104
  diff -u -r1.103 -r1.104
  --- XSLTEngineImpl.cpp        2001/06/29 18:53:21     1.103
  +++ XSLTEngineImpl.cpp        2001/06/29 20:55:27     1.104
  @@ -466,6 +466,14 @@
                        error("No stylesheet is available to process!");
                }
   
  +             FormatterListener* const        theFormatter =
  +                             outputTarget.getDocumentHandler();
  +
  +             if (theFormatter != 0)
  +             {
  +                     theFormatter->setPrefixResolver(this);
  +             }
  +
                m_stylesheetRoot->process(sourceTree, outputTarget, executionContext);
        }
   
  
  
  

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

Reply via email to