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...@apache.org on 2001/12/19 23:03:05 UTC

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

dbertoni    01/12/19 14:03:05

  Modified:    c/src/XSLT ElemCallTemplate.cpp
  Log:
  Better error checking.
  
  Revision  Changes    Path
  1.21      +7 -0      xml-xalan/c/src/XSLT/ElemCallTemplate.cpp
  
  Index: ElemCallTemplate.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemCallTemplate.cpp,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- ElemCallTemplate.cpp	2001/11/22 23:47:38	1.20
  +++ ElemCallTemplate.cpp	2001/12/19 22:03:05	1.21
  @@ -116,6 +116,13 @@
   			0,
   			this);
   	}
  +	else if (isValidNCName(m_templateName.getLocalPart()) == false)
  +	{
  +		constructionContext.error(
  +			"xsl:call-template has an invalid 'name' attribute",
  +			0,
  +			this);
  +	}
   }
   
   
  
  
  

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