dbertoni 01/11/26 15:18:19
Modified: c/src/XSLT ElemElement.cpp
Log:
Fixed error reporting.
Revision Changes Path
1.34 +5 -2 xml-xalan/c/src/XSLT/ElemElement.cpp
Index: ElemElement.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemElement.cpp,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- ElemElement.cpp 2001/11/01 15:53:42 1.33
+++ ElemElement.cpp 2001/11/26 23:18:19 1.34
@@ -112,14 +112,17 @@
processSpaceAttr(aname, atts, i,
constructionContext) ||
isAttrOK(aname, atts, i, constructionContext)))
{
-
constructionContext.error(Constants::ELEMNAME_ELEMENT_WITH_PREFIX_STRING + "
has an illegal attribute: " + aname);
+ constructionContext.error(
+ "xsl:element has an illegal attribute",
+ 0,
+ this);
}
}
if(0 == m_nameAVT)
{
constructionContext.error(
- "xsl:element must have a 'name' attribute.",
+ "xsl:element must have a 'name' attribute",
0,
this);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]