dbertoni 01/12/14 08:30:55
Modified: c/src/XSLT ElemAttribute.cpp
Log:
Make sure that a new namespace declaration is generated when an attribute's
namespace is the default namespace. (namespace128, namespace130)
Revision Changes Path
1.32 +1 -3 xml-xalan/c/src/XSLT/ElemAttribute.cpp
Index: ElemAttribute.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemAttribute.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ElemAttribute.cpp 2001/09/26 21:30:23 1.31
+++ ElemAttribute.cpp 2001/12/14 16:30:55 1.32
@@ -208,10 +208,8 @@
const XalanDOMString* const prefix =
executionContext.getResultPrefixForNamespace(attrNameSpace);
- if(prefix != 0)
+ if(prefix != 0 && length(*prefix) != 0)
{
- assert(length(*prefix) != 0);
-
if(indexOfNSSep < origAttrNameLength)
{
reserve(
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]