dbertoni    2003/08/07 16:26:59

  Modified:    c/src/xalanc/DOMSupport DOMServices.cpp
  Log:
  Make sure attributes are not in the default namespace.  Fixes Bugzilla 22232.
  
  Revision  Changes    Path
  1.3       +8 -1      xml-xalan/c/src/xalanc/DOMSupport/DOMServices.cpp
  
  Index: DOMServices.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/DOMSupport/DOMServices.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DOMServices.cpp   1 Jul 2003 20:33:22 -0000       1.2
  +++ DOMServices.cpp   7 Aug 2003 23:26:59 -0000       1.3
  @@ -807,7 +807,14 @@
                {
                        clear(thePrefix);
   
  -                     return 
thePrefixResolver.getNamespaceForPrefix(s_emptyString);
  +                     if (isAttribute == true)
  +                     {
  +                             return 0;
  +                     }
  +                     else
  +                     {
  +                             return 
thePrefixResolver.getNamespaceForPrefix(s_emptyString);
  +                     }
                }
                else
                {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to