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/06/18 18:37:40 UTC

cvs commit: xml-xalan/c/src/XSLT ElemSort.cpp

dbertoni    00/06/18 09:37:39

  Modified:    c/src/XSLT ElemSort.cpp
  Log:
  Fixed signed/unsigned mismatch and replace embeddedd strings with members of class Constants.
  
  Revision  Changes    Path
  1.4       +6 -6      xml-xalan/c/src/XSLT/ElemSort.cpp
  
  Index: ElemSort.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemSort.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ElemSort.cpp	2000/04/11 15:09:26	1.3
  +++ ElemSort.cpp	2000/06/18 16:37:39	1.4
  @@ -83,16 +83,16 @@
   						name,
   						lineNumber,
   						columnNumber,
  -						Constants::ELEMNAME_SORT),	
  +						Constants::ELEMNAME_SORT),
   	m_selectPattern(0),
   	m_langAVT(),
  -	m_dataTypeAVT(XALAN_STATIC_UCODE_STRING("text")),
  -	m_orderAVT(XALAN_STATIC_UCODE_STRING("ascending")),
  -	m_caseOrderAVT()	
  +	m_dataTypeAVT(Constants::ATTRVAL_DATATYPE_TEXT),
  +	m_orderAVT(Constants::ATTRVAL_ORDER_ASCENDING),
  +	m_caseOrderAVT()
   {
  -	const int nAttrs = atts.getLength();
  +	const unsigned int nAttrs = atts.getLength();
   
  -	for(int i = 0; i < nAttrs; i++)
  +	for(unsigned int i = 0; i < nAttrs; i++)
   	{
   		const XalanDOMChar* const	aname = atts.getName(i);