You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@locus.apache.org on 2000/04/11 22:04:25 UTC

cvs commit: xml-xalan/c/src/PlatformSupport DOMStringHelper.cpp StringTokenizer.cpp StringTokenizer.hpp

dbertoni    00/04/11 13:04:25

  Modified:    c/src/PlatformSupport DOMStringHelper.cpp
                        StringTokenizer.cpp StringTokenizer.hpp
  Log:
  Fixed problems with no wide string support.
  
  Revision  Changes    Path
  1.15      +1 -1      xml-xalan/c/src/PlatformSupport/DOMStringHelper.cpp
  
  Index: DOMStringHelper.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DOMStringHelper.cpp,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- DOMStringHelper.cpp	2000/04/11 14:35:29	1.14
  +++ DOMStringHelper.cpp	2000/04/11 20:04:24	1.15
  @@ -1067,7 +1067,7 @@
   
   	theFormatter << theLong << '\0';
   
  -	XalanDOMString	theString = MakeDOMStheFormatter.str();
  +	XalanDOMString	theString = theFormatter.str();
   
   	theFormatter.freeze(false);
   
  
  
  
  1.3       +3 -0      xml-xalan/c/src/PlatformSupport/StringTokenizer.cpp
  
  Index: StringTokenizer.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/StringTokenizer.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- StringTokenizer.cpp	2000/04/11 14:35:30	1.2
  +++ StringTokenizer.cpp	2000/04/11 20:04:24	1.3
  @@ -82,6 +82,8 @@
   
   
   
  +#if defined(XALAN_LSTRSUPPORT)
  +
   StringTokenizer::StringTokenizer(
   			const XalanDOMChar*		theString,
   			const XalanDOMChar*		theTokens,
  @@ -95,6 +97,7 @@
   {
   }
   
  +#endif
   
   
   StringTokenizer::~StringTokenizer()
  
  
  
  1.5       +2 -0      xml-xalan/c/src/PlatformSupport/StringTokenizer.hpp
  
  Index: StringTokenizer.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/StringTokenizer.hpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- StringTokenizer.hpp	2000/04/11 14:35:31	1.4
  +++ StringTokenizer.hpp	2000/04/11 20:04:24	1.5
  @@ -89,6 +89,7 @@
   					const XalanDOMString&	theTokens = XalanDOMString(XALAN_STATIC_UCODE_STRING("\t\n\r\f")),
   					bool					fReturnTokens = false);
   
  +#if defined(XALAN_LSTRSUPPORT)
   	/**
   	 * Constructs a tokenizer for the target string.  This version constructs
   	 * from null-terminated wide strings, like those we get from SAX-like APIs.
  @@ -102,6 +103,7 @@
   	StringTokenizer(const XalanDOMChar*		theString,
   					const XalanDOMChar*		theTokens = XALAN_STATIC_UCODE_STRING("\t\n\r\f"),
   					bool					fReturnTokens = false);
  +#endif
   
   	virtual
   	~StringTokenizer();