dbertoni 02/05/14 08:46:30
Modified: c/src/XSLT ElemTextLiteral.cpp ElemTextLiteral.hpp
Log:
Fixed element name string. Determine whitespace during construction.
Revision Changes Path
1.16 +4 -3 xml-xalan/c/src/XSLT/ElemTextLiteral.cpp
Index: ElemTextLiteral.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemTextLiteral.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ElemTextLiteral.cpp 26 Sep 2001 21:30:23 -0000 1.15
+++ ElemTextLiteral.cpp 14 May 2002 15:46:30 -0000 1.16
@@ -90,6 +90,7 @@
m_isCData(isCData),
m_preserveSpace(preserveSpace),
m_disableOutputEscaping(disableOutputEscaping),
+ m_isWhitespace(isXMLWhitespace(ch, start, length)),
m_ch(ch + start, length)
{
}
@@ -113,7 +114,7 @@
const XalanDOMString&
ElemTextLiteral::getElementName() const
{
- return Constants::PSEUDONAME_TEXT;
+ return Constants::ELEMNAME_TEXT_WITH_PREFIX_STRING;
}
@@ -121,13 +122,13 @@
bool
ElemTextLiteral::isWhitespace() const
{
- return isXMLWhitespace(m_ch);
+ return m_isWhitespace;
}
void
-ElemTextLiteral::execute(StylesheetExecutionContext&
executionContext) const
+ElemTextLiteral::execute(StylesheetExecutionContext& executionContext) const
{
ElemTemplateElement::execute(executionContext);
1.14 +1 -0 xml-xalan/c/src/XSLT/ElemTextLiteral.hpp
Index: ElemTextLiteral.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemTextLiteral.hpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ElemTextLiteral.hpp 26 Sep 2001 21:30:23 -0000 1.13
+++ ElemTextLiteral.hpp 14 May 2002 15:46:30 -0000 1.14
@@ -147,6 +147,7 @@
const bool m_isCData;
const bool m_preserveSpace;
const bool m_disableOutputEscaping;
+ const bool m_isWhitespace;
const XalanDOMString m_ch;
};
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]