dmitryh 2004/08/11 08:20:05
Modified: c/src/xalanc/XSLT ElemNumber.cpp FunctionSystemProperty.cpp
Log:
Cleaning of some embedded strings
Revision Changes Path
1.12 +4 -7 xml-xalan/c/src/xalanc/XSLT/ElemNumber.cpp
Index: ElemNumber.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/XSLT/ElemNumber.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ElemNumber.cpp 31 Jul 2004 06:05:08 -0000 1.11
+++ ElemNumber.cpp 11 Aug 2004 15:20:05 -0000 1.12
@@ -758,11 +758,8 @@
break;
}
- if(0 == countMatchPattern)
- executionContext.error(
- "Programmer error! countMatchPattern should
never be 0!",
- node,
- getLocator());
+ // Programmer error! countMatchPattern should never be 0!
+ assert(0 != countMatchPattern);
if(countMatchPattern->getMatchScore(node, *this,
executionContext) !=
XPath::eMatchScoreNone)
@@ -797,7 +794,7 @@
if (length(digitGroupSepValue) > 1)
{
executionContext.error(
- "The grouping-separator value must be one character in
length",
+
XalanMessageLoader::getMessage(XalanMessages::Grouping_separatorValueMustSeOneCharacterLength),
executionContext.getCurrentNode(),
getLocator());
}
@@ -1337,7 +1334,7 @@
else
{
executionContext.error(
- "The legal values for
letter-value are 'alphabetic' and 'traditional'",
+
XalanMessageLoader::getMessage(XalanMessages::LegalValuesForLetterValue),
executionContext.getCurrentNode(),
getLocator());
}
1.7 +1 -1 xml-xalan/c/src/xalanc/XSLT/FunctionSystemProperty.cpp
Index: FunctionSystemProperty.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/XSLT/FunctionSystemProperty.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- FunctionSystemProperty.cpp 26 Feb 2004 22:58:57 -0000 1.6
+++ FunctionSystemProperty.cpp 11 Aug 2004 15:20:05 -0000 1.7
@@ -71,7 +71,7 @@
if (XalanQName::isValidNCName(ncname) == false)
{
executionContext.error(
- "system-property(): The property is not a valid QName",
+
XalanMessageLoader::getMessage(XalanMessages::PropertyIsNotValidQName_1Param,"system-property()"),
context,
locator);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]