dbertoni 00/10/02 13:06:16
Modified: c/src/XMLSupport FormatterToHTML.cpp
Log:
Always escape < and > in attribute values.
Revision Changes Path
1.27 +1 -3 xml-xalan/c/src/XMLSupport/FormatterToHTML.cpp
Index: FormatterToHTML.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XMLSupport/FormatterToHTML.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- FormatterToHTML.cpp 2000/10/02 16:52:32 1.26
+++ FormatterToHTML.cpp 2000/10/02 20:06:14 1.27
@@ -55,7 +55,7 @@
* <http://www.apache.org/>.
*/
/**
- * $Id: FormatterToHTML.cpp,v 1.26 2000/10/02 16:52:32 dbertoni Exp $
+ * $Id: FormatterToHTML.cpp,v 1.27 2000/10/02 20:06:14 dbertoni Exp $
*
* $State: Exp $
*
@@ -242,8 +242,6 @@
FormatterToXML::initAttrCharsMap();
m_attrCharsMap[XalanUnicode::charLF] = 'S';
- m_attrCharsMap[XalanUnicode::charLessThanSign] = 0;
- m_attrCharsMap[XalanUnicode::charGreaterThanSign] = 0;
for(unsigned int i = 160; i < SPECIALSSIZE; i++)
{