Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 622556 | Differences between
and this patch

Collapse All | Expand All

(-)a/valid.c (+7 lines)
Lines 4621-4626 xmlNodePtr elem, const xmlChar *prefix, xmlNsPtr ns, const xmlChar *value) { Link Here
4621
	}
4621
	}
4622
    }
4622
    }
4623
4623
4624
    /*
4625
     * Casting ns to xmlAttrPtr is wrong. We'd need separate functions
4626
     * xmlAddID and xmlAddRef for namespace declarations, but it makes
4627
     * no practical sense to use ID types anyway.
4628
     */
4629
#if 0
4624
    /* Validity Constraint: ID uniqueness */
4630
    /* Validity Constraint: ID uniqueness */
4625
    if (attrDecl->atype == XML_ATTRIBUTE_ID) {
4631
    if (attrDecl->atype == XML_ATTRIBUTE_ID) {
4626
        if (xmlAddID(ctxt, doc, value, (xmlAttrPtr) ns) == NULL)
4632
        if (xmlAddID(ctxt, doc, value, (xmlAttrPtr) ns) == NULL)
Lines 4632-4637 xmlNodePtr elem, const xmlChar *prefix, xmlNsPtr ns, const xmlChar *value) { Link Here
4632
        if (xmlAddRef(ctxt, doc, value, (xmlAttrPtr) ns) == NULL)
4638
        if (xmlAddRef(ctxt, doc, value, (xmlAttrPtr) ns) == NULL)
4633
	    ret = 0;
4639
	    ret = 0;
4634
    }
4640
    }
4641
#endif
4635
4642
4636
    /* Validity Constraint: Notation Attributes */
4643
    /* Validity Constraint: Notation Attributes */
4637
    if (attrDecl->atype == XML_ATTRIBUTE_NOTATION) {
4644
    if (attrDecl->atype == XML_ATTRIBUTE_NOTATION) {

Return to bug 622556