You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2002/10/04 03:41:57 UTC
cvs commit: xml-xalan/c/src/XSLT ElemElement.cpp
dbertoni 2002/10/03 18:41:57
Modified: c/src/XSLT ElemElement.cpp
Log:
Fixed namespace141.
Revision Changes Path
1.41 +5 -0 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.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- ElemElement.cpp 24 Sep 2002 01:42:34 -0000 1.40
+++ ElemElement.cpp 4 Oct 2002 01:41:57 -0000 1.41
@@ -306,6 +306,11 @@
// default namespace in the statically-generated namespaces,
// and don't put out the one we've dynamically generated...
outputResultNamespaces(executionContext, hasUnresolvedPrefix, true);
+
+ if (executionContext.getResultNamespaceForPrefix(s_emptyString) != 0)
+ {
+ executionContext.addResultAttribute(DOMServices::s_XMLNamespace, elemNameSpace);
+ }
}
else
{
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org