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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to