Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 440142
Collapse All | Expand All

(-)XML-LibXML-2.0008.orig/dom.c (-1 / +3 lines)
Lines 172-178 Link Here
172
void
172
void
173
_domReconcileNs(xmlNodePtr tree, xmlNsPtr * unused)
173
_domReconcileNs(xmlNodePtr tree, xmlNsPtr * unused)
174
{
174
{
175
        if( tree->ns != NULL )
175
        if( tree->ns != NULL
176
           && (tree->type == XML_ELEMENT_NODE 
177
               || tree->type == XML_ATTRIBUTE_NODE))
176
        {
178
        {
177
                xmlNsPtr ns = xmlSearchNs( tree->doc, tree->parent, tree->ns->prefix );
179
                xmlNsPtr ns = xmlSearchNs( tree->doc, tree->parent, tree->ns->prefix );
178
                if( ns != NULL && ns->href != NULL && tree->ns->href != NULL &&
180
                if( ns != NULL && ns->href != NULL && tree->ns->href != NULL &&

Return to bug 440142