xml-xalan-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject cvs commit: xml-xalan/c/src/xalanc/XalanTransformer XalanTransformer.cpp XalanTransformer.hpp
Date Fri, 10 Oct 2003 18:19:51 GMT
dbertoni    2003/10/10 11:19:51

  Modified:    c/src/xalanc/XalanTransformer XalanTransformer.cpp
                        XalanTransformer.hpp
  Log:
  Added parameter for base URI of XalanDocumentBuilder instance.  Fixes bugzilla 23733.
  
  Revision  Changes    Path
  1.8       +2 -2      xml-xalan/c/src/xalanc/XalanTransformer/XalanTransformer.cpp
  
  Index: XalanTransformer.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XalanTransformer/XalanTransformer.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XalanTransformer.cpp	1 Oct 2003 21:14:20 -0000	1.7
  +++ XalanTransformer.cpp	10 Oct 2003 18:19:51 -0000	1.8
  @@ -854,11 +854,11 @@
   
   
   XalanDocumentBuilder*
  -XalanTransformer::createDocumentBuilder()
  +XalanTransformer::createDocumentBuilder(const XalanDOMString&	theURI)
   {
   	m_parsedSources.reserve(m_parsedSources.size() + 1);
   
  -	XalanDocumentBuilder* const 	theNewBuilder = new XalanDefaultDocumentBuilder;
  +	XalanDocumentBuilder* const 	theNewBuilder = new XalanDefaultDocumentBuilder(theURI);
   
   	m_parsedSources.push_back(theNewBuilder);
   
  
  
  
  1.4       +2 -1      xml-xalan/c/src/xalanc/XalanTransformer/XalanTransformer.hpp
  
  Index: XalanTransformer.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XalanTransformer/XalanTransformer.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XalanTransformer.hpp	19 Sep 2003 21:05:35 -0000	1.3
  +++ XalanTransformer.hpp	10 Oct 2003 18:19:51 -0000	1.4
  @@ -431,10 +431,11 @@
   	 * XalanTransformer instance goes out of scope, or you explicitly call
   	 * destroyDocumentBuilder().  You must not delete the instance yourself.
   	 *
  +	 * @param theURI The base URI for the document instance.
   	 * @return	a pointer to a XalanDocumentBuilder instance or 0 for failure.
   	 */
   	XalanDocumentBuilder*
  -	createDocumentBuilder();
  +	createDocumentBuilder(const XalanDOMString&		theURI = XalanDOMString());
   
   	/**
   	 * Destroy a document builder created by a previous call to createDocumentBuilder().
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message