Commits

Anonymous committed cd67068

Modified Files:
LibXML.xs
code cleanups

Comments (0)

Files changed (1)

             
             docfrag = PmmNewFragment( doc );
             xmlAddChild( PmmNODE(docfrag), ret );
-            RETVAL = PmmNodeToSv(ret, docfrag);
-        
+            RETVAL = PmmNodeToSv(ret, docfrag); 
         }   
     OUTPUT:
         RETVAL
     CODE:
         ns = node->ns;
         if ( ns != NULL ) {
-            warn( "node has namespace! %s", ns->prefix );
             newns = xmlCopyNamespace(ns);
             if ( newns != NULL ) {
                 RETVAL = NEWSV(0,0);
             }
         }
         else {
-            warn( "node has no namespace!" );
             XSRETURN_UNDEF;
         }
     OUTPUT: